Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
1answer
98 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
52 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
79 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
28 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
97 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
186 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 ...
21
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
85 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
264 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
66 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: ...
1
vote
0answers
48 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. ...
16
votes
1answer
246 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
46 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
50 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
79 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
110 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
97 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
109 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
83 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
56 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
243 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
51 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
78 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
58 views

GaussianMatrix algorithm details

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

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
3
votes
1answer
51 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
114 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
38 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
167 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
100 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
120 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
111 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
109 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
104 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
106 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
72 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
83 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
193 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
117 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
381 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
108 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
85 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
63 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
50 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
200 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
66 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 ...