Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
1answer
91 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
115 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. ...
5
votes
1answer
109 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
153 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
111 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
63 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
355 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
63 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
125 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
62 views

GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
0
votes
1answer
78 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
71 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
3
votes
1answer
60 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
130 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
49 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
206 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: ...
-2
votes
1answer
104 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
210 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
133 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
124 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 ...
0
votes
1answer
112 views

Robust face detection

FindFaces doesn't work when people are far away from the camera. I'm looking for a single accurate method of detecting one or more people in an images, at all ...
0
votes
0answers
114 views

Remove background image and redraw lines in black

I do not know if the title is correct. The image that I upload has liked me a lot because of the characteristic that no matter the angle it seems that it is looking at you, you could indicate me how ...
3
votes
1answer
78 views

Automated calculation of tree branches radius from thinned image

I am progressing in the branching problem described here. After having extracted my tree structure and done a lot of manipulations on it (very interesting, but not described here), I would like to ...
2
votes
0answers
87 views

Using Image Transformation to create image sky view of what its like to be near black hole (Not a wormhole) [duplicate]

Question : I am trying to carry out point 3. "Implementing map" on page 13 in the paper Interstellar wormholes using my own equations not those in the paper. however am not 100% sure on how to go ...
6
votes
3answers
255 views

How to create this doge fractal zoom?

I would like to learn how to recreate this fractal in Mathematica and make others in the same style: https://m.imgur.com/r/FractalGifs/lYEK8Cd
4
votes
1answer
144 views

Why does Fourier give me a different picture than ImagePeriodogram?

I want to take a 2D fourier transform of some data, but when I try this I get unexpected results. When I use ImagePeriodogram I get something that looks like I ...
8
votes
2answers
410 views

Branching points detection in processed image

I want to get the branching coordinates from a computer-generated image like this one: After SkeletonTransform and Pruning, I ...
7
votes
1answer
117 views

Captcha text morphing effect

There have been many posts about generating and cracking Captchas. However, I have never seen a post or answer concerning one the more recent versions of re-captcha images - a "word morphing effect" ...
0
votes
1answer
99 views

Logarithmic brightness enhancement of an image [closed]

I have the following 8bit grey scale png image: Two examples for brigthness enhancement are: ImageAdjust[image, {0, 5}] ...
2
votes
1answer
67 views

How to Invert MorphologicalComponents?

It's actually the same question as here: Identify circles in Image and make list of all diameters ...but I cannot get it to work properly for this specific case, so I would be pleased for some help. ...
1
vote
0answers
54 views

Image to coordinate system

May I kindly ask you to teach me how to align the symmetry axis (in blue) of the attached picture along the Ox and/or Oy axis. The axis of symmetry is slightly off (rotated to the right). In other ...
10
votes
2answers
207 views

Efficient multicolor search

I'm hoping someone can help me improve the following fun code-snippet, which takes a target color and searches through a set of images to find the ones that most closely match: ...
1
vote
1answer
105 views

Savitzky–Golay method to find the first derivative [closed]

I have a list of positions as a function of time data and want to apply the Savitzky–Golay method to find the first derivative. What is the approach I should take. I already know how to apply the ...
10
votes
3answers
947 views

Detecting the outer edge of an object in an image

I am trying to extract the outer edge of the attached image. Could you please advice me how to do it?
6
votes
1answer
69 views

How to prevent or clear the cache used by ComponentMeasurements

Let's restart the kernel and take the first example from ref/ComponentMeasurements: Timings indicate some kind of caching mechanism. It seems useful in many cases. ...
8
votes
2answers
831 views

How to convert a 4-channel image to 3-channel image in an elegant way?

I have a 4-channel image (RGBA). I want to reduce its channel count from 4 to 3. The method I am using currently is to Right click and Save as a .png file. After ...
3
votes
2answers
98 views

Is it possible or how to extract message string from binarized list?

Given message copied from Silvia's profile page, a binarized list could be found bellow. ...
23
votes
3answers
1k views

How can I make a graph network from image of granular packing?

I have an image from experimental data of granular packing. I need to characterize the packing as a network. The network consist of node (center of granular particle) and edge. Two node are connected ...
3
votes
2answers
86 views

Manipulation of 2d images, position, alignment and scale

I'm new to Mathematica and I am trying to generate an array of rectangles which stays perfectly aligned and scaled correctly and able to control the opacity of each one. Could anyone point me on to ...
5
votes
4answers
501 views

Fill in an incomplete outline of an image

I have an outline which I have extracted from an image, which may well not entirely closed, for instance: I now want to fill the inside of this, as another image, using the convex hull if it is not ...
0
votes
0answers
47 views

Extract data (digitise) from graph with various line formats

I am attempting to extract the data points from the graph below: -axis titles and axis lines are removed for digitising simplicity- I have tried using a range of graph digtisers (i.e. datathief, ...
3
votes
0answers
89 views

Roulette Ball Tracking with Mathematica

There is an image from roulette spin video, and I have a code to track the ball position on the image (*Mask is a visible ball track on the rim*) ...
0
votes
0answers
33 views

Real-Time Image Processing [duplicate]

There is a code from wolfram Documentation Center ...
2
votes
1answer
105 views

How can one get the axis of symmetry of the following egg profile [closed]

This is the binary version of the profile of an egg. Would you be so kind and let me know how to get the axis of symmetry of this profile. Thank you!
5
votes
1answer
94 views

Blend modes for composing images?

I'm looking for a way to combine two images with standard image blending methods like Darken, Color Burn, Color Dodge, Soft Light. Is there a way to achieve these with ...
2
votes
2answers
146 views

How to find the rectangle with those text

In this image: I want to find this rectangle with all contents(without those grid's lines) I think the total of the pixels can help a little like: ...
0
votes
1answer
123 views

map cellular automaton to planar surface

Im exploring possibility to apply a CA to a portion of a region in an image. Think that I can process an image to identify a region, as an example, a green area. I would like to confine that area, ...
15
votes
3answers
444 views

Deleting noisy data from a plot (manually) and export the best remaining data

I have the following temperature time-series. As you can see it contains very very noisy points in some periods (Fig.A). I tried to approach the best data(the black one in the center) based on the ...