Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

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

Detecting line crossings on an image

I want to detect line crossings, especially in the supplied example images the crossings at edges of pavement for feature tracking. I specifically want to avoid tracking other kinds of features in the ...
0
votes
1answer
42 views

How to drag an overlay image over the reference image?

There are two images in this question. I want to overlay the img1 over img2 to see where they match and I want to do it manually:...
2
votes
0answers
55 views

saving edited Mathematica image at high resolution

I've created several graphs for a book I'm writing by using Mathematica commands to create an output image and then adding labels, etc. with Mathematica's drawing tools. My issue is that I can't seem ...
5
votes
3answers
194 views

Obtain subimages from a binary image with specified neighbourhood

Lets say I have this binary picture (an array with 1's and 0's): ...
3
votes
0answers
40 views

How to fit the image in the filling region?

Consider the following fillings: ...
0
votes
1answer
32 views

How to plot a greyscale image as a 3D plot for larger images?

I was following the post: Display grayscale image as 3d plot But the method failed for any image of substantial size (in my case when the data size is of order 3072x4096). Ram usage on my machine ...
2
votes
1answer
60 views

Is there a simple way to get the colour of a pixel?

PixelValue will extract the channel values at a certain pixel. It returns a vector of numbers, not a colour. Is there a simple way to extract the colour of a pixel ...
2
votes
0answers
40 views

Select image pixels of a certain colour

PixelValuePositions[image, colour, distance] returns the positions of pixels within a certain "distance" of a given colour. Is there an equivalent function that ...
0
votes
1answer
58 views

How to resize a series of images to a given total file size while keeping their relative size?

I have multiple image files, file1.jpeg, file2.png, file3.gif, ..., whose sizes are 984KB, 10MB, 5.1MB, .... I'd like to resize them so Each image file, when open, have the same aspect ratio as the ...
2
votes
0answers
64 views

Compute thickness of branches in a 2D image

I would like to ask for suggestions on how to obtain the thickness of the edges in a given input image Input image: I tried to follow the commands given in a similar question posted, How to ...
0
votes
0answers
36 views

Construct UI for image

I am trying to build the User interface, whereby when binarize is clicked, it gives its slider and its respective MeanIntensity and StandardDeviation. The same for EdgeDetect and MorpologicalBinarize. ...
17
votes
4answers
373 views

Find best region to put text onto image

Given an image upon which you want to inset text, the question arises: What is the best sub-region to place text? For example, given a background image I want to find the rectangle in the image (...
4
votes
0answers
22 views

Where does ImageCollage place each image?

How can I get the bounding box of each image of a collage made by ImageCollage? This would be useful, for example, to use the collage as an image map on a web site. I couldn't find a way to query ...
0
votes
2answers
52 views

Inlcude binarize methods in Manipulate

I would require the binarize methods in the Manipulate interface. Thanks ...
23
votes
1answer
885 views

Face Morphing with Mathematica

Can Mathematica be used to produce animations of face morphing (as described in wikipedia? This is a self-answered question because I felt there was a lack of resources on this topic, to share funny ...
4
votes
1answer
145 views

Find a continuous map between two sets of 2D points

Given two sets of points in 2D points1 and points2 inside a rectangle, I would like to find a continuous map ...
4
votes
1answer
116 views

Decoding Music in Staff Notation using ImageIdentify

I wrote this Code fragment Which is a E (quarter) note in Treble Clef. Instead Mathematica simply classified it as a "musical note" Can we do better?
4
votes
2answers
49 views

How to use ColorReplace with a mask

How can I apply a mask using drawing tools(or some other custom mask) to color replace part of an image? for example the image Masks returned by DominantColors (...
2
votes
0answers
23 views

Get Box Shape Coordinate from image [closed]

I would like to taget each box (rectangle) in this image in order to have the coordinate of each one and finally crop on each one. For example, I have 3 rectangles in the image, I would like to ...
2
votes
1answer
41 views

How to get center points of an images with different resolution

I have an images of particles and I want to get the center point coordinates for each particle. I can get the coordinates with other imaging tools, but since my calculations are in mathematica i want ...
1
vote
0answers
55 views

X,Y, Z Coordinate

I require the X, Y and Z coordinates separately, in 3 different columns. I have tried with, Table, Grid and Matrix. Please let me have an idea how to perform it. Thanks ...
11
votes
1answer
201 views

Extraction of statistics of cracks (craquelure in paintings)

The below image is of the pattern of cracks in the surface of Johannes Vermeer's Girl with a pearl earring, captured using a method called "grazing incidence illumination" (the light is shined at the ...
2
votes
2answers
62 views

Include the edge width of a hand-drawn graph to the respective imported morphological graph

I am still relatively new to Mathematica, but with the great help of this forum I managed to transform a doodled sketch into a graph, see attached file. I have used this code: ...
9
votes
2answers
534 views

Turn handdrawn doodles into graph

I have doodled sketches of graphs in JPG format (they roughly look like stick men, in particular the vertices are not shown - they should be where the lines meet) and want to convert them into proper ...
10
votes
1answer
254 views

What's the principle behind the new MoleculeRecognize function?

I played a bit with the new MoleculeRecognize function implemented in the newly released WM 12.1: which simply recognizes a molecule in image and returns it as a Molecule object. ...
0
votes
1answer
55 views

coordinates of the ImageData

I’m trying to get the coordinates of the ImageData, in term of X and Y separately I have paste my trials and would gratefully need your help. In 3D, the array generated by ImageData [image] is ...
6
votes
1answer
98 views

Image processing: get rid of components that touch the image boundary

I strongly suspect that there should be a built-in solution to the following problem: I have a binary image like this: ...
0
votes
0answers
24 views

FeatureExtraction question about images

Here is an example from the mathematica documentation: enter link description here enter link description here In the above results, the FeatureExtraction calculation for 6 data images is 5x6 in ...
3
votes
1answer
138 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 ...
7
votes
1answer
92 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
78 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
42 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
78 views

Scaling and Stretching a Mesh

I have a Voronoi mesh, given by ...
2
votes
1answer
114 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
2answers
59 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 ...
16
votes
1answer
554 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 ...
7
votes
1answer
222 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
52 views

Complete contours (outline) from a image

I want to find the contours of (parts) image and sent the output to a laser cutter. For example, take this image: I use this code: ...
8
votes
1answer
117 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
51 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 ...
5
votes
0answers
169 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
35 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
119 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
117 views

How else can I draw this apple?

The following code is written by Luji. ...
1
vote
0answers
45 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 ...
4
votes
3answers
265 views

Separate the luminance from the chrominance in an image

My goal is to separate a full-color image into its luminance and chrominance ("color") components and display them as two images: 1) a black and white image (for the luminance) and 2) a color image (...
3
votes
1answer
86 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
389 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
79 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
189 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
2 3 4 5
27