Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
2answers
85 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 ...
41
votes
5answers
3k views

How to make a stereogram in Mathematica?

Given a background and a pattern jpg files, is there a quick and easy way to produce a stereogram by using Mathematica? The following picture was produced from Photoshop, spent about half an hour. ...
2
votes
2answers
87 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
0answers
45 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
1answer
157 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 ...
7
votes
1answer
131 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: ...
21
votes
0answers
730 views

How to ImageRestyle high-res images?

I’m running v12 now and ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x 500 or ...
7
votes
1answer
231 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, ...
17
votes
1answer
569 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 ...
4
votes
1answer
126 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
118 views

How else can I draw this apple?

The following code is written by Luji. ...
0
votes
0answers
52 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 ...
48
votes
1answer
19k views

How can I draw a Homer with epicycloids? [duplicate]

You may have seen this video: https://www.youtube.com/watch?v=QVuU2YCwHjw. How does this work, and how to do it with Mathematica?
0
votes
0answers
39 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 ...
1
vote
0answers
115 views

Detecting and measuring an ellipse in a glaucoma photo? [duplicate]

I've tried the solutions given in How to find a circular object in the image glaucoma? to detect the ellipse, but the detection results are not quite what I wanted. In glaucoma we have a cup to disk ...
2
votes
1answer
73 views

Not sure about ComponentMeasurements MaxPerimeterDistance

I don't understand what actualy MaxPerimeterDistance in ComponentMeasurements measures. For example: 62x16 (white area) ...
1
vote
0answers
46 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
94 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
425 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
84 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 ...
11
votes
2answers
608 views

Using a given colour table with Image?

Context I would like to represent large images with a given colour table. Now, if I use Image ...
4
votes
0answers
197 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
73 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
87 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, ...
27
votes
2answers
1k views

How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
1
vote
1answer
43 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 ...
7
votes
2answers
87 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]] ...
16
votes
2answers
806 views

Processing images from NASA's Juno Jupiter Orbiter

Question Can you help me improve what I’ve done to create an enhanced-color picture from an image provided by NASA’s JunoCam? [My work is shown in the penultimate image of Jupiter in this post.] I’...
4
votes
1answer
193 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
35 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 ...
6
votes
1answer
190 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 ...
2
votes
1answer
43 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: ...
4
votes
2answers
170 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 ...
0
votes
0answers
105 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" ...
4
votes
2answers
197 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 ...
7
votes
1answer
98 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). ...
2
votes
1answer
79 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
194 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?
14
votes
1answer
305 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):...
3
votes
1answer
102 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
77 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
59 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
47 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. ...
6
votes
4answers
662 views

MaxDetect speed

What's the fastest way to find the local maxima of a 2D list? E.g. ...
3
votes
2answers
85 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
63 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
59 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
112 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 ...
1
vote
0answers
46 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 ...
5
votes
2answers
169 views

How to achieve faster performance on plotting complex valued functions

I'm very interested in visualizing complex valued functions $f:\mathbb{C} \rightarrow \mathbb{C}$. Especially interesting to me are Möbius transformations. I found a nice way of visualizing these ...

1 2
3
4 5
28