Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

1
vote
1answer
100 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
1answer
58 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 ...
1
vote
0answers
62 views

Image-Processing/IntensityCentroid

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]
10
votes
2answers
405 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 ...
5
votes
2answers
469 views

Image Rotation, Line Symmetry

I'd like to import an image, superimpose it, reduce the opacity of the overlaid image, and then use a manipulate to rotate the top image to illustrate rotational symmetry. The image below is using ...
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: ...
2
votes
3answers
446 views

Using 2D Fourier transform of an image to detect typical wavelengths

I am new to Mathematica, and I have read this post to understand how to perform Fourier transform on an image. My mission is to extract information on the typical distance between the black patches in ...
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 ...
8
votes
3answers
370 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 ...
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. ...
1
vote
1answer
230 views

Histograms of gray scale images

I have a large set of subsequent 8bit gray scale png images (50 Hz). They show the noise of a CMOS camera, with the lens covered. A subset of 50 images is available here: https://goo.gl/Sa3P9P I ...
19
votes
1answer
255 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 ...
21
votes
2answers
2k views

How to remap a fisheye image?

I want to flatten a series of fisheye images by remapping them to a rectinlinear projection. To achieve this, I need to be able to remap the pixels of the image using fisheye correction formulas for ...
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 ...
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 ...
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) ...
10
votes
3answers
1k views

Make the moon's 3D gif

How do I make the following gif I tried: ...
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". ...
18
votes
2answers
1k views

Scraping High-Res images from the MoMA and the Van Gogh Museum websites

Many art websites allow the user to zoom into an image to see it at high resolution by using image tiles. It is great on the website, but presents problems if one wishes to compile a complete high ...
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 ...
3
votes
1answer
138 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 ...
17
votes
4answers
1k views

How to fill in an irregular border of an image

I have the following code which draws a graphic, and colors the regions in it in different colors: ...
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 ...
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?
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 ...
5
votes
2answers
441 views

How can I make a blurred or gradient photo frame?

I would like to "frame" a photo with a rectangular blur or gradient. Here is an example from the web that was not made using Mathematica. (Of course, anything is possible; I suppose that this ...
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 ...
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 ...
0
votes
0answers
90 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 ...
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 ...
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?
2
votes
2answers
7k views

Calculate the 2D Fourier transform of an Image

I am new to Mathematica, and using version 8.0. I would like to calculate the 2D Fourier Transform of an Image with Mathematica and plot the magnitude and phase ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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: ...
14
votes
0answers
233 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
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 ...