Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
1answer
58 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 ...
3
votes
4answers
143 views

MaxDetect speed

What's the fastest way to find the local maxima of a 2D list? E.g. ...
1
vote
0answers
28 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 ...
10
votes
0answers
105 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
65 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
38 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 ...
5
votes
1answer
88 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
131 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 ...
6
votes
1answer
379 views

Get date and time when photo was taken

I am trying to rename few images by their date and time taken. Is there a way to get the date and time when photo was taken using Mathematica?
1
vote
1answer
42 views

Why ImportByteArray when generate image from bytes

I was trying to generate an image from a list of bytes so I only had to Import an Image once as I want to store a Base64Encoded ...
18
votes
2answers
508 views

Creating graph out of particles images

I have recently started learning how to use Mathematica's brilliant image processing tools, and the image I've taken as first example is the following (source): So far I've tried to first use ...
6
votes
4answers
146 views

How to count the overlapped disks in a picture?

I have several picture containing many small circles. I can manually count the circles in these pictures but it will be time-consuming and make me tired. How can I use mathematica to do this job? I ...
0
votes
0answers
31 views

MorphologicalTransform: What is the difference between EndPoints and SkeletonEndPoints?

What is the difference between the "EndPoints" and "SkeletonEndPoints" functions of ...
1
vote
1answer
115 views

How to animate a cube with images on their faces?

From this code, how could I animate (speed given by the user) this cube at random so that each face shows me a different image. EDIT(The idea is that the cube rotates at random and shows different ...
2
votes
1answer
63 views

Segmenting cells from a stained image of cells from microscope

I have an image which has stained cells and I have to segment all the cells. But the problem is that the cell boundary is not very distinguished where there is staining done because of the stain. ...
2
votes
1answer
88 views

Calculate the surface area of different elements in a picture (micrograph)

This is a micrograph of a hybrid material that contains glass fiber (small white dots), carbon fibers (big grey dots) and a matrix that contains everything! I would like to calculate the surface area (...
0
votes
0answers
30 views

How to run image manipulation function to an array of images?

I have multiple images imported into an array. My issue begins with using this array for an image manipulation function such as Inpaint. Inpaint only accepts a single image at a time. Here's how I ...
2
votes
2answers
103 views

Find Probability that Image Is Text

I can find out whether an image is text: ImageInstanceQ[img,Entity["Concept", "TextualMatter::m7642"]] And if an image is most likely text, I can find out the ...
8
votes
2answers
200 views

Removing horizontal noise artefacts from a (SEM) image

I've been trying to analyse some SEM images to determine grain areas and sizes. Some of my images (I've attached an example below) appear to have horizontal bands that manifest as regions with ...
22
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
2
votes
1answer
91 views

Plotting large scale image embeddings

I'm looking for help making publication-quality graphics for visualizing 2D embeddings of image datasets, so that they look like this: These two-dimensional embeddings of thumbnails (sometimes with ...
0
votes
0answers
43 views

How to assign an image to all the 12 faces of a Dodecahedron [duplicate]

How do i assign an image to all of the 12 faces of a Dodecahedron?
6
votes
2answers
274 views

Image processing: Removal of two spots in fundus images

I have many hundreds fundus images of the human eye. The yellow arrow points to two spots which I I want to remove. The final result should be a perfect circle. The removed area should be ...
1
vote
1answer
72 views

Clustering edge points of an image?

Consider the following image I would like to cluster the points obtained after edge detection and subsequently, would like to color the clustered edge points. My attempt: ...
2
votes
0answers
51 views

Improving the accuracy of the bounding box detection of TextRecognize

My problem concerns the text position detection in a scan. My goal is to find the bounding boxes of the text. ...
17
votes
1answer
257 views

Repairing a panorama

I was on a cruise and the panorama I took was warped due to the ship rocking: I'm hoping to correct this so that the horizon is level. Here's the full resolution image: ...
1
vote
0answers
50 views

Is it possible to resize an image without importing?

If we have a list of 1000 ULRs which refer to image files of the following form: http://...file1.jpg http://...file2.jpg ... http://...file1000.jpg Objective: We want to resize each image (e.g. ...
2
votes
1answer
58 views

Make outline of a image thicker

I import a jpg image in my notebook. The result is like this: I'm interested in the outline so I wrote this code: ColorNegate[ EdgeDetect[ColorNegate[AlphaChannel[RemoveBackground[test]]]]] The ...
1
vote
1answer
85 views

Find outline of a cell

I have a set of images of biological cells, which look like this: How do I find the edge of these cells in a robust way (i.e. without having to manually tweak each one. I have three images here: <...
3
votes
1answer
111 views

Individualised test paper generation (and marking)

I would like to use mathematica to create individualised tests that can be printed out for students to complete(handwritten). I would also like to be able to generate individualised printed answers. ...
4
votes
1answer
104 views

What is the algorithm behind ImageRecolor?

I'm wondering which algorithm is implemented, given that recoloring requires a lot of assumptions to really get the desired color. For example, coloring a dark grayscale image into a light green can ...
4
votes
1answer
119 views

Problem with InverseFourier of a 2d FFT of a non-squared image

I have the following 8bit grey scale image: The 2d FFT of this image, showing the color coded Abs[fft] values, is: The code to obtain the FFT image is: ...
1
vote
1answer
96 views

Convolution in Fourier domain

I am computing the convolution of a disk Img in 2D numerical matrix form with a kernel Ker in the Fourier domain but the output ...
0
votes
0answers
59 views

How to get Binarize to ignore already set background

I have grayscale images which contain a clear foreground and background, which Binarize is easily able to split out. Then within the foreground, I want to binarize again, to find the area around the ...
8
votes
2answers
279 views

Prevent background segmentation in watershed transform based on marker

I like to reproduce this accepted answer from stackexchange in MMA. While I would like to achieve a better segmentation than what I already got, at the moment my main problem is that the background is ...
2
votes
0answers
55 views

Converting video file to list of images to analyze pixels of each frame

I am trying to recreate the following physics experiment to analyze chaotic motion: https://www.researchgate.net/publication/275890532_Tracking_the_Motion_of_a_Double_Pendulum_Using_Mathematica I ...
5
votes
0answers
85 views

Hyperspectral files in the ENVI format?

Have any of you had the pleasure of reading geospatial / hyperspectral files in the ENVI format? Headers that describe the data here, https://www.harrisgeospatial.com/docs/enviheaderfiles.html which ...
5
votes
0answers
60 views

GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
0
votes
1answer
74 views

Join grayscale image with matrix plot

I have a 200x200 grayscale map map = Image[data, "Byte"] together with a matrix plot ...
0
votes
0answers
64 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
3
votes
1answer
53 views

Extract plot from an image with diffused lines

I found an amazing question on how to obtain a data set from an existing plot, which detailed the process very nicely. Recreated the same steps on my end but it's not working, I am assuming because ...
0
votes
2answers
120 views

Detection of regions in image

I have this image: I would like to separate qualitatively 4 different regions into approximately such an image: The colors or gray shadings of the regions do not matter. How can this be achieved ...
16
votes
4answers
2k views

Can Mathematica be used to create an Artistic 3D extrusion from a 2D image and wrap a line pattern around it?

So here's somewhat of the general goal first: Here's an example of image-based line patterns Here is an example of an artists work in creating imagery using only lines bent as though distorted by an ...
0
votes
0answers
40 views

Changing the origin of the coordinate system aligned on an image when using the ImageFowardTransformation function

When using the image transformation command ImageFowardTransformation[image, function] the pixels of the image you input are in cartesian coordinates that by ...
3
votes
3answers
180 views

Another difficult background subtraction

I'm trying to remove the background but it is removing part of the bag in the foreground (because it is white too): Here's what I've tried: ...
-3
votes
1answer
101 views

How is that distance between images calculated?

The command ImageDistance[Plot[x^2, {x, 0, 1}, PlotRange -> {0, 1.01}], Plot[x^2 + 0.01, {x, 0, 1}, PlotRange -> {0, 1.01}]] produces ...
0
votes
1answer
137 views

Adding white noise to a signal of two variables

When a signal depends on two variables, e.g., f[k1_, k2_] := Exp[I 0.75 (k1 + 0.3 k2)] + 1.5 Exp[I (0.2 k1 + 0.3 k2)] + Exp[I (0.2 k1 + 0.4 k2)]; where ...
0
votes
1answer
118 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 ...
0
votes
1answer
112 views

Creating a numerical table of values from an interpolating function resulting from NDSolve [closed]

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). Part 1 I am trying to create a ...
1
vote
0answers
75 views

ImageRestyle yielding low-level errors even in example cases

the title covers it. I'm on v11.3.0.0 on a MacBook Pro running Mojave 10.14.2, and trying to run ImageRestyle seems to immediately throw a bunch of errors that aren't related to the input in an ...