Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
3
votes
1answer
115 views

Code or algorithm for the built-in function SavitzkyGolayMatrix

Does anyone know the algorithm that the function SavitzkyGolayMatrix implements? Unusually, the help page does not spell out an explicit formula or the algorithm ...
2
votes
0answers
34 views

Is there an option to make Image3DProjection respect the underlying data type of the image array?

Even though Image3D supports a variety of data types (Bit, Byte, ...
1
vote
2answers
67 views

Highlight pixels in difference image of two images where pixels are not equal

I have two images which are similar. I would like to highlight the pixels in the difference image (e.g. in red) if the values are not exactly 0. How can I do that? I know I can get the image data ...
2
votes
0answers
36 views

How to get an image skeleton sharp with long lines

How can I get a straight skeleton of an image. 1@ just use vertical, horizontal lines in situation of image1. 2@ include tilted lines in situation of image2. Background, using least lines to ...
2
votes
2answers
73 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
1answer
62 views

Make a 3d plot of 2d “slices”

I have two 2D plots which came from taking slices of a 3D data set of the form (x,y,z,intensity). I manually "sliced" the data set to get the slices I wanted from two planes of interest and plotted ...
1
vote
1answer
41 views

How to change color of DistanceTransform image?

I want to overlay a set of points onto a distance transform of them. But I don't really like the black default color of the distance transform. Is there a way to change this? Given the points ...
15
votes
1answer
530 views

Making a graph or network interactively over an image

Given an image, is it possible to manually draw a graph over it? For example, taking the following image: I want to manually pick the vertices and draw the edges in a "Paint-like" manner to get, for ...
5
votes
1answer
190 views

Getting cell edges from a picture

I would like to write a program that, given a picture of an epithelium (2D cell array), for example automatically detects the cell edges and returns the corresponding lattice. Illustratively, ...
0
votes
0answers
26 views

complete contours (outline) from a image

I want to find the contours of (parts) image and sent the output to a lasercutter. For example, take this image: I use this code: maskv1 = AlphaChannel[RemoveBackground[bal1]]; contours = ...
8
votes
1answer
109 views

How to detect rectangles with certain colors in an image?

I'd like to find the red bordered rectangles in this image: Here are my example images: ...
0
votes
0answers
48 views

How to find length of wall sizes

I have room size calculated from mathematica. Now i have to classify between walls from the image My second output should be from the source image, i have to classify similar walls based on thickness ...
4
votes
0answers
114 views

Decompose website into rectangular grid?

I'd like to take an image of a website and decompose it into a rectangular clustering of dominant pixels like this: What I've tried so far There are a few existing webpage segmentation solutions: ...
0
votes
0answers
32 views

Equalize a set of images' histograms to their mean

I have a set of 1000+ grayscale SEM micrographs I am trying to binarize, but the differential brightness/contrast makes it difficult to binarize using all of the binarization and segmentation methods ...
4
votes
1answer
111 views

How to divide the image into several irregular parts according to this grid

I see the method of image segmentation here. I can use the ImagePartition function to divide the image into several regular sub images ...
1
vote
1answer
115 views

How else can I draw this apple?

The following code is written by Luji. ...
1
vote
0answers
41 views

Mathematica for automatic image processing and quantification [closed]

I've been working on image analysis pipeline that involves a set of batch processing macros in ImageJ (for image segmentation) and data processing in Excel (VBA). I've got the process run in 4-5 ...
3
votes
1answer
79 views

Describe overlapping parts of an image with the fewest points

Lets say I have an image composed of 19x19 pixel red squares, each of which represents a single point (i.e. a plotmarker). I wish to obtain an estimate for the actual point each square represents, ...
14
votes
3answers
356 views

Importing a grid of numbers from an image (sudoku like)

Can anyone see a way to import a grid of numbers from http://www.mit.edu/~puzzle/2019/puzzle/lantern_festival.html into Mathematica? TextRecognize doesn't seem ...
1
vote
0answers
73 views

Trouble reading FITS with Mathematica 12

I've been using Mathematica to process FITS for years, but it has changed in version 12. Import now yields an Association rather ...
4
votes
0answers
182 views

Image-based reinforcement learning with neural networks

After seeing that "OpenAIGym" is not exactly supported on Windows and playing around with https://www.wolfram.com/language/12/neural-network-framework/train-an-...
1
vote
0answers
72 views

Finding bubbles in an image

I have several images which show bubbles in water. The task is to identify these bubbles, to count and measure them. I know this is not easy. 100% accuracy is not needed. The best I have so far is ...
1
vote
1answer
78 views

Track the location of of dot from noisy image

https://imgur.com/a/SnTYESG (subtraction between the image) https://imgur.com/a/ZdOS5wf (orignal image) From the original image, since my CCD camera is bad, I cannot really see anything. However, ...
1
vote
1answer
42 views

List of all points on the edges of the image

What is a easy and fast way to get a list of all points on the edges of the following image ? img = Import["https://imgur.com/1sAtNOk.png"] I tried to using the ...
3
votes
1answer
133 views

Good book on image processing and analysis on Mathematica 12

Can someone recommend a good book on image processing/analysis and graphics on Mathematica 12?
0
votes
0answers
31 views

Setting the location of the origin within an image for AffineTransformation

This question is closely related to this one, but slightly different. I want to perform several AffineTransforms on an image (myImage). For example, here is a ...
7
votes
2answers
80 views

UpdateInterval doesn't work with Dynamic[CurrentImage]

I work on image processing using images from webcams. It's connected via USB and I get "live" images by: Dynamic[Refresh[CurrentImage[], UpdateInterval->5]] ...
2
votes
1answer
40 views

What's wrong with my masking in this ImageMeasurements?

I want to find the mean color of an image's region defined by a polygon, and I tried this: ...
0
votes
0answers
74 views

How to extract numerical data from plot images automatically?

how can we automatically extract numerical data from plot images in MMA (.dat or .csv file)? For the test image (two curves in one image), x=[0 40]; y=[0 1] if we use e.g. "getdata-graph-digitizer" ...
3
votes
2answers
139 views

Find gridlines in image of blots arranged in a grid

I have an image with a grid of equal separations. I would like to detect the lines in this image. I tried with ImageLines in but it does not work. @MelaGo Thank ...
4
votes
2answers
171 views

Extract partitions of images after edge detection

Given a edge detected image like this: I would like to extract each character into a sub-image, i.e so that each new picture only have one character. Is there a simple way of doing this in ...
2
votes
1answer
67 views

Hammer projection to rectangular

This might be more of a mathematical problem than a Mathematica'l one, but still, maybe you'd help me. I want to write a function that would produce a rectangular image from an image with Hammer ...
2
votes
1answer
98 views

How to make a video from png images

I have a set of about 100 .png images representing the evolution of the system I am studying: how do I create a video out of these images with Mathematica?
7
votes
1answer
90 views

Detect sub figures and split (automatically?)

I would like to take a large figure showing a sequence of individual plots and automatically split the into series of images showing the individual sub-plots (to be exported as animated GIF later). ...
6
votes
1answer
180 views

How to track a deformable rod in video?

I have a video of nanotubes in solution taken with a confocal laser microscope. I typically track these nanotubes with Fiesta or Fiji, but in this case, there is variation in brightness that is ...
3
votes
1answer
93 views

Convert a point in the Radon Space to a line

I need a function point2line to convert a point in the Radon Transform Space to a straight line. But I don't know the algorithm inside mathematica, I don't know ...
0
votes
1answer
68 views

How to extract specified objects from a pdf?

Is it possible to extract some information from a pdf file? I am interested in extracting the words before the squared brackets and the following word (in the image, for example, I would like to ...
0
votes
1answer
54 views

Image matching and transformation

I hope this picture can help me to be clearer. The triangles represent some values of an image (EDITED: positions). The same for the circles, but from a different image. Some values matches, some ...
3
votes
1answer
41 views

Find the higher degree of similarity between images and report the points in common and the differences

I am trying to analyse due different images and find their similarities. In order to do this, I need to consider the coordinates of the pixels in both images, then select the points in common, i.e. ...
3
votes
2answers
77 views

Compare two plots by finding the minimum distance among points

I have a question about comparing the points within two plots. I would like to compare two plots and find the minimum distance among their points, in order to find the nearest/common points (i.e., ...
1
vote
0answers
49 views

Is it possible to select a number of points to highlight points in an image?

I would like to ask you how I can fix a number of points to show in a picture. In the previous post (Is it possible to get the coordinates only for the highlighted points from an image?), JimB ...
2
votes
1answer
56 views

Is it possible to keep only coloured parts in an image, removing all the rest (in greyscale)?

I would like to know if it is possible to keep only coloured parts (for example red eyes) from a b/w image, removing all the other parts not coloured (i.e. in grayscale or black and white). I was ...
1
vote
1answer
106 views

Is it possible to get the coordinates only for the highlighted points from an image?

I would like to ask you if it is possible to get the coordinates or a couple of numbers that can give me the positions of the highlights points (selected using HighlightImage function) in an image. I ...
6
votes
4answers
657 views

MaxDetect speed

What's the fastest way to find the local maxima of a 2D list? E.g. ...
1
vote
0answers
45 views

Can LearnDistribution Train and Generate Images Without Defaulting To 256x256?

In spite of anything I try it seems the ConformImages[] function nested in the LearnDistribution[] function resizes images to 256x256. If I convert an image into its "Data" representation before ...
14
votes
1answer
250 views

Tracking cells as they move under a microscope

I have a video (tiff file) of cells under a microscope and I'd like to segment and track the location and sizes of them across time: It has a hundred frames: I've uploaded it here (now it is public):...
5
votes
0answers
88 views

Recognising people from photos

I have a large number (probably 10000) of personal photos taken over the last few years, a good proportion of which contain family members. I'd like to put together a photo book of one family member,...
1
vote
0answers
61 views

Understanding how ComponentMeasurements finds neighbors

I am trying to understand how the module ComponentMeasurements in Mathematica works when the property Neighbors is called in ...
6
votes
1answer
109 views

Is there a SubImageApply?

Given an image and a subimage (as a rectangle or pixel ranges): img = ExampleData[{"TestImage", "Lena"}]; f = FindFaces[img]; HighlightImage[img, f] How would ...
5
votes
3answers
161 views

Including the actual length scale of the image in processing microscopic images

Following the wonderful methodologies provided in this post, I have learned how to process microscopic images of the types shown below in order to analyze them. When it comes to analysing the size ...

1 2 3 4 5 27