Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

8
votes
3answers
403 views

Noise filtering in images with PCA

I have a stack of images (usually ca 100) of the same sample. The images have intrinsic variation of the sample, which is my signal, and a lot of statistical noise. I did a principal components ...
10
votes
2answers
424 views

How to measure the slit size from given image using mathematica?

I want to measure the size of the optical slit from the microscope image. Here is the image: The dimension of image data is $1300\times1030$ and the real pixel size is $6.7$ micron. But the ...
2
votes
2answers
122 views

How to copy Coordinates of “Get Coordinates” in Figure?

I am trying to reproduce the answer here about Recovering data points from an image. I click the figure and press "Get Coordinates". I would like to copy the four coordinates by CTRL-C and then paste ...
9
votes
1answer
137 views

How can I use Mathematica to make a captcha image?

This was inspired by this post which is about the serious business of website deployment in the Wolfram Cloud, and interaction with Google's reCaptcha system. I started thinking of how to make those ...
3
votes
1answer
87 views

Problem with ComponentMeasurements and property “Centroid” [closed]

I am showing here three test images to investigate the output of ComponentMeasurements when using the property "Centroid". <...
3
votes
1answer
144 views

How to guarantee the point's position is fixed in the Graphics and Image

SeedRandom[8] plot = ParametricPlot[ Evaluate@BezierFunction[temPoint = RandomReal[{-50, 50}, {5, 2}]][ t], {t, 0, 1}, AxesOrigin -> {0, 0}] We can ...
14
votes
2answers
284 views

Fitting Stradivari's scroll

How can I find the simplest curve that gives me a scroll like this? This is where I am at the moment and doing it by hand is becoming more and more cumbersome. First, take a drawing of the scroll ...
9
votes
3answers
1k views

Make the moon's 3D gif

How do I make the following gif I tried: ...
7
votes
2answers
461 views

Remove object from the image

How to remove spider from "spider web"? there is good example in documentation center but how to make black marker of spider?
1
vote
0answers
50 views

Is it possible to get as good inpainting as with RGB having only grayscale image?

The question derived from this post. According to the answer by nikie, for grayscale image with Method->"TextureSynthesis" we get much worse result than for RGB ...
4
votes
1answer
88 views

Find the area enclosed by a loop in an image (Contour in a plot)

Is there a way to simply compute the area enclosed by a line in an image, like this: Here's an example of what I mean by a few of the "enclosed regions" Solution 1 These sorts of images are ...
4
votes
1answer
185 views

How to apply by-hand image selection to different images

Mathematica supports image selections by hand, by utilizing the selection tool. I used it to extract relevant data (hundreds of little squares). Now I have a second image of same size, where I want to ...
1
vote
1answer
88 views

Extra Curves When Generating From Image

Using the method in this post I'm trying to generate a curve for this image: I've gone ahead and imported it and I'm using img=Binarize[img~Blur~3] to blur it a ...
0
votes
0answers
99 views

Selecting morphological components of a 3D image

This is a follow up of a previous question : Selecting morphological components by clicking on them? I followed the answer provided by Dr. belisarius. It works fine for 2D images. However, I can't ...
3
votes
2answers
97 views

Randomly oriented ellipses in rows and columns

I should plot randomly oriented ellipses in rows and columns, at fixed nodes. Some rows should be grey, some black. Result should look like the following image (texture drawn by hand): I moved from ...
2
votes
2answers
84 views

Isolate black square in image

I have the image below and would like to isolate only the black square (on top of it are some brighter rings visible originating from an illumination lamp). How can that be done?
0
votes
0answers
66 views

Transforming part of an image to a square

I'm trying to detect pieces on a photographed checkerboard. Determining the corners of each square works fine, but for each of those squares I'd like to generate an image from the original image and ...
1
vote
1answer
59 views

How to define the foreground and background of an image?

Consider the following image of a knee: By default the background of this image is the black regions on the left and right sides of the image. But is it possible to interactively define the ...
3
votes
2answers
215 views

Why is inpainting worse in grayscale than in RGB image?

img = Import /@ {"http://i.stack.imgur.com/klqh9.png", "http://i.stack.imgur.com/zCjXN.png"}; mask = Dilation[Binarize[First@img, {0, .15}], 2] Then we get ...
3
votes
1answer
48 views

Context-aware Locator

I'm trying to use a Locator for some image processing tasks. Unfortunately, the images we're using have a high dynamic range of low-frequency black and white ...
8
votes
2answers
142 views

How to apply GradientFilter locally to an image?

I have an MR image of a knee. I want to apply a gradient filter locally so that if I click on a pixel, for example, say on any part of the femur, I'll be able to choose a circular or rectangular ...
3
votes
1answer
91 views

What kind of preprocessing does Mathematica do when I use EdgeDetect on an image?

I am doing my own implementation of Canny and Sobel in another language (not in Mathematica). I was testing the EdgeDetect method (Sobel and Canny), and my own, and ...
0
votes
0answers
50 views

Image assembly without sharp edges

I applied FourierDCT on an image by dividing it into 8*8 blocks. When I combine the blocks to together i obtain the image how can I smoothen the edges of each block? My entire code is ...
1
vote
1answer
76 views

Getting raw data using DcRaw

I'm using dcraw program to import raw image data to Mathematica. When I use Run["dcraw -4 -D -T "image.nef"] (which converts it to an unprocessed linear TIFF file) ...
7
votes
2answers
288 views

How to count precisely proportion of some small pane in a electron microscope picture by it “Area”

The question is link this post.But It more hard than that I think.That time I count it by contrast,computer is good at it.But this time I wanna count the little pane...
2
votes
0answers
46 views

How to use a picture to store some data [duplicate]

As we know.The values of the types is "Real" defaultly in Mathematica.In the Image documentation's detail we can see Image[...
0
votes
1answer
61 views

Is there any way to speed up this image manipulator?

This post is only a part of a broader analysis that I am performing on the image processing speed, but I think it's interesting in itself. I will post more in the next days. Now the problem is: I have ...
20
votes
1answer
271 views

Interstellar Image Effects

I'd like to know how to create this type of gravitational lensing effect in an image (here are some star fields from the hubble) "I wrote down the equations and I tested them in Mathematica by ...
0
votes
0answers
41 views

Image Classification Using Local Maxima and Gradients

I can get all the local maxima using MaxDetect. For example, I have taken the image of Lena and found the local maxima using ...
15
votes
1answer
647 views

How to use 2D Fourier analysis to clean the noise in an image

I have some other method to do this.But I desire to know how to use Fourier analysis to realize it. I found a base post about Fourier-analysis to use in Image-Processing--Calculate the 2D Fourier ...
3
votes
0answers
50 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay ...
3
votes
1answer
121 views

Create a 3D face from the Shroud of Turin

There is an image of the Shroud of Turin: How to recreate Jesus's face from this image? And how to create a 3D face of Jesus Christ, by using the shroud of Turin? I tried: ImageAdjust @ ...
0
votes
1answer
47 views

How to use Rescale to make a brighter image?

I want to compose three single exposures into an RGB image. I have three 2D arrays that represent each exposure and I can combine them into a 3D array, specifying the RGB values for each pixel. My ...
11
votes
1answer
226 views

How to restore an old photo?

I have an old image with scratches that I would like restored. Here is what I have so far: ...
7
votes
0answers
105 views

Why does ImageFilter fail with radius 1, but works with radius 2?

Bug introduced in 9 and persists through 10.4.1 When thinking on a way to answer this question using ImageFilter I have found (with Jason B's help) that we can ...
1
vote
4answers
245 views

How to detect end points in a binarize picture

There is a picture: When I try to use MorphologicalTransform to detect the end points ...
15
votes
0answers
264 views

Find the Panda and the Cat - Dudolf puzzle

I recently find this puzzle where you have to find the panda from a group of snowmen. Having a horrible eyesight I have to take help of mathematica to find it. I start with assumption that all ...
0
votes
0answers
39 views

How to select very small components in an image

I have been trying to identify the centroids or positions of the small yellow dots (not the large regions) in the image below. I have adopted the following strategy (please see the code), however, i ...
3
votes
1answer
82 views

How to turn a Graphics primitive into a list of data?

I tried something small first, to get a feeling about this. So I defined a Rectangle[], placed it in a corner of ...
6
votes
2answers
96 views

Terser way to get the intensity of one pixel

I want a function to return the intensity of one pixel notwithstanding the Color Space of the source image. I wrote: ...
2
votes
2answers
131 views

ImageData reverses the order of the row of an Image [duplicate]

Could someone convince me what is the utility of doing a function like ImageData that reverses the order of rows in an image? Why was it coded like this? Why does ...
13
votes
2answers
2k views

Creating 3D dice

How to create an image of a 3D die from the 2D images? There is an example in the Documentation Center I tried but it doesn't work.
4
votes
1answer
129 views

Detecting rectangle shape from an image

Motivation: I want to automate the process of analyzing "Electron SpectroMeter (ESM)" data. ESM uses magnets to bend electrons so that electrons with different energy are separated spatially. ESM ...
13
votes
5answers
2k views

Fit image of mountain to gaussian

I want to detect the edges of an image of a mountain and then fit that to a gaussian. I am unsure about how to only get the mountain edge, rather than every single edge in the image. How do I ...
4
votes
2answers
121 views

Share a method to patch the discontinuous line in a image

Similar to this post which I have posted before(How to patch fingerprint ridges),Its solution's level higher than my expectation.So cost my these days to research this.Now I'm glad to share my fruit ...
3
votes
2answers
160 views

Zigzag ordered encoding of DCT co-efficients

I am doing DCT steganography. I have obtained a matrix of DCT co-efficient. I now want to perform zig-zag ordered encoding. The matrix is as follows ...
0
votes
0answers
64 views

Inpaint command use in Extending Van Gogh’s Starry Night with Inpainting

I'm trying to have some fun with the Wolfram Blog and am reading Extending Van Gogh’s Starry Night with Inpainting. He has this first image: My first question is how did he get the black and white ...
4
votes
2answers
116 views

Using mask to segment growing cells over multiple timepoints

I am trying to segment some very irregular cells out of images generated by timelapse microscopy. These cells don't fit any simple shape (not circular or elliptical) and they grow and change shape ...
7
votes
2answers
326 views

Finding objects in images with inhomogeneous background

I have the following image where bright circular shaped objects are seen. The image has usually an inhomogeneous background and ...
3
votes
0answers
84 views

Remove shaded relief effect from an image [closed]

Thank you everyone for your comments. This is my edited version of the question. I've got a shaded relief effect map that is showing topography data of an area. Each color represent an elevation ...