Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
2answers
64 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 ...
40
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
71 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
0answers
34 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
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 ...
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: ...
21
votes
0answers
693 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 ...
4
votes
0answers
111 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: ...
5
votes
1answer
187 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, ...
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
524 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
110 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
114 views

How else can I draw this apple?

The following code is written by Luji. ...
0
votes
0answers
25 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 = ...
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 ...
45
votes
1answer
16k 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
29 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 ...
5
votes
1answer
303 views

Image Generator with a Neural Network (CIFAR-10)

As some of you may know, CIFAR-10 is a data base which has 60,000 images (which are 32x32 in size) of 10 different categories (airplane, dog, cat, frog, deer, bird, horse, ship, automobile and truck). ...
2
votes
1answer
67 views

Not sure about ComponentMeasurements MaxPerimeterDistance

I don't understand what actualy MaxPerimeterDistance in ComponentMeasurements measures. For example: 62x16 (white area) ...
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
352 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 ...
11
votes
2answers
590 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
179 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
71 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
77 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, ...
26
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
0
votes
1answer
146 views

Creating a numerical table of values and using an interpolation of them to transform pixels in an image by the ImageTransformation command

I am trying to carry out point "Implementing Map" on this paper Interstellar wormholes however I am using my own equations not those given (only the same method). I have generated a list of values ...
1
vote
1answer
41 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
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]] ...
16
votes
2answers
711 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’...
3
votes
1answer
132 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
30 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
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 ...
12
votes
1answer
3k views

How to make a spiroglyphic?

Some (older) members of this group might remember playing vinyl LP records. Recently, at the Abbey Road studio there was a spiroglyphics coloring book for sale. It looks like a nice programming ...
2
votes
1answer
37 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: ...
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 ...
0
votes
0answers
73 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
169 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
89 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
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
95 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?
18
votes
1answer
774 views

Converting Image to full-length lines

I want to write a program in Mathematica that takes an image and converts it into a drawing made completely of straight full-length lines. The program should check all the lines of the image, then ...
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):...
3
votes
1answer
92 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
67 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
40 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. ...

1 2 3 4 5 27