Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

1
vote
1answer
101 views

Image Filtering in the frequency domain

Here is a good starting to fiter image in the frequency domain lena = ColorSeparate[ImageResize[ExampleData[{"TestImage", "Lena"}],{121,121}]][[1]]; (Create a ...
1
vote
0answers
63 views

Image-Processing/IntensityCentroid [on hold]

To get the center of mass of a grey scale picture I would like to use ComponentMeasurements with IntensityCentroid. However the ...
0
votes
0answers
22 views

ConformImages Parameters unclear [closed]

What is the difference between these two statements? ConformImages[files,10] ConformImages[files]
6
votes
1answer
107 views

Filters on image vs data

I was using GaussianFilter and realized that applying it to an array yields a different result from applying it to an image. For instance: ...
1
vote
1answer
59 views

How to complete boundary in masked image?

I am trying to generate a mask of the elliptical boundaries in this object. Any ideas on how I could complete the edge of a partially filled elliptical object? Thus far, I've obtained a mask that is ...
2
votes
1answer
65 views

Morphological extension of an image mask

The following image is a mask derived from an imaged feature which extends to the top of the frame, but due to some lighting effects the top portion doesn't come in. Bear in mind that this is one ...
0
votes
0answers
38 views

3D curvature from Segmented Image

i have a CT - scan which i have segmented and i can visualize different phases as voxels. I can also identify blobs and visualize them as well. Is there a automatic way that i can compute the ...
1
vote
0answers
32 views

Fast Creation of Label Matrix for Use With ComponentMeasurements?

I am taking a lot of measurements from regions of interest in microscopy images and am finding that generating binary masks to use with ComponentMeasurements is rather slow (at least it's slow the way ...
1
vote
1answer
124 views

Speed Up Sampling of Perimeter of Polygon

I have a polygon whose vertices (points) are defined by some image coordinates that I have manually selected. The polygon is used to create a mask for a region of interest in a microscopy image. ...
8
votes
3answers
372 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
407 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
103 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
115 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
78 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
139 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
266 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 ...
10
votes
3answers
1k views

Make the moon's 3D gif

How do I make the following gif I tried: ...
7
votes
2answers
444 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
46 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 ...
2
votes
1answer
76 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
170 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
62 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
91 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
96 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
79 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
65 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
55 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
200 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
47 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
130 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
86 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
47 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
55 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) ...
6
votes
2answers
221 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 ...
2
votes
0answers
42 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 ...
0
votes
1answer
54 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 ...
19
votes
1answer
256 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
38 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 ...
14
votes
1answer
507 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 ...
0
votes
0answers
33 views

How to refine a custom function that extract point from `BSplineCurve` [closed]

I have make a function that can extract the point from a BSplineCurve ...
3
votes
0answers
46 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
108 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
44 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
216 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
104 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
237 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
235 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
36 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
77 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 ...
5
votes
2answers
87 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: ...