Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

12
votes
2answers
343 views

Improve TextRecognize on numbers

I have an image contain only numbers, and TextRecognize fail to recognize some numbers: img=; TextRecognize[img] (*826718*) The documentation says that "The ...
9
votes
0answers
319 views

Proving (self) similarity with Mathematica - Reccurrence Plots, Similarity Plots etc

I posted this question in math.se but given the sheer tumultuous number of questions that keep appearing on math.se and also given that I am trying to accomplish this in Mathematica, I thought I'd ...
6
votes
4answers
285 views

How do I overlay corresponding values over each frame of an animation?

I recorded a phenomenon using video capturing (phen.avi, imported into Mathematica) and simultaneous measurement of some electrical properties of that phenomenon (a ...
-5
votes
1answer
2k views

Determine the 2D-Fourier transform of an Image

I am new to Mathematica and using Version 8.0. I want to calculate the 2D-Fourier Transform of a digital image and see its Magnitude and Phase Spectrum, and reconstruct it.
14
votes
4answers
752 views

Measure perimeter of black edge in Mathematica

I have a pattern like the one below. How could I measure the total length of the perimeter of the black/white edge? This would give me a measure of spatial frequency. Any tips would be great! Thanks! ...
6
votes
3answers
258 views

Is it possible to snip a certain number of pixels from a specified side of an image, without specifying the image's final width and height?

It seems that ImageCrop allows one to specify the final size of the image. For example, ImageCrop[image, size, spec] crops ...
5
votes
3answers
410 views

Detect each polygons in an image

Considering this image: Is there a way to colorize each tiles independently? My problem is that img = Import["http://i.imgur.com/Y87duSz.jpg"]; Colorize@img ...
5
votes
1answer
454 views

How do I put an image on the complex plane?

I watched this video and became interested in transforming an image. But I have no good idea on how to embed an image in the complex plane using Mathematica. I have a method that seems to work, but ...
4
votes
2answers
308 views

Recognize simple shapes in an image and color them randomly?

I have an image of polygons built from a polar function (see below). I'd like to color each triangle or quadrilateral a random color. Firstly, I'm not sure how to separate the simple shapes. ...
3
votes
2answers
400 views

Image processing: extracting ordered contour

Continuing the question How to extract the edge from a set of points and its answer by Simon Woods, I would like to ask if there is a way to extract the boundary of obtained as ...
2
votes
2answers
185 views

How can I merge multiple sets of morphological components (perhaps selected using different metrics)?

Let's say I use SelectComponents to select morphological components in an image according to some criterion, like "Elongation". Then let's say, I pull out a ...
1
vote
2answers
324 views

How can I enhance ImageCompose to blend multiple layers?

Blend modes (or Mixing modes) in digital image editing are used to determine how two layers are blended into each other. Version 8 has functionality to perform binary and basic alpha blending but ...
6
votes
2answers
1k views

Deformed style when exporting eps files

I want to export a plot into an eps file. Below I present a sample plot code in order to demonstrate the two issues that appear. (1). LabelStyle: When I use ...
6
votes
2answers
382 views

How do I transform a rasterized graphic's coordinates back to its original ListPlot data coordinates?

From this question I successfully made an elliptical fit for my data. However, when I try and collect the datapoints within the ellipse via this question the coordinates of my ellipse correspond to an ...
6
votes
2answers
713 views

Exporting images as .avi

Here's a list of images: images = Table[ExampleData[i], {i, ExampleData["TestImage"]}]; And according to the reference "Export exports a list of graphics, ...
6
votes
2answers
495 views

How can I visualize features found in an image?

I am using Mathematica to explore the face detection feature of Core Image on Mac OS X Lion. To do this I have an Objective-C program which captures images from the iSight camera, runs face detection ...
5
votes
2answers
391 views

What is ImageDistance measuring?

What quantity is ImageDistance measuring, and what do the numbers mean? I found the ImageDistance command in Mathematica 9, but ...
4
votes
2answers
2k views

Calculate mean and standard deviation from ImageHistogram

I am doing my PhD in Clinical Neuropsychology; I had someone helping me analyse images (.jpg pictures) in Mathematica, but it turns out this person made some really bad decisions, and well, now I have ...
3
votes
1answer
53 views

How to create a 1D vector by selecting a straight line in a given angle of 2D array

Suppose I have an image created by the code provided below. I want to select a line (1D vector) $ \left(y-y_{0}\right)=n\left(x-x_{0}\right) $ from the output image (2D matrix) by specifying $n$ and ...
3
votes
2answers
220 views

How to superimpose contour lines on transformed image

My goal is to superimpose contours lines or contour plots on distance transformed image.
3
votes
2answers
181 views

Using high RasterSize or ImageResolution changes contour pattern

I found that the detailed contour pattern will be altered if we Rasterize the original graphics using high RasterSize or ...
3
votes
1answer
150 views

Resampling when using image as Texture

How to get sharp pixel boundaries with Texture? I'd like to have only black/white in the example below, no gray. ...
3
votes
3answers
314 views

How to find Image Size of a control object?

I want to find the ImageSize or at least dimensions of any control object irrespective of it being an image or an any other control such as ...
2
votes
0answers
106 views

Power::infy: error using FindFit [on hold]

I have a 2D data to fit (the Airy type pattern from diffraction of Gaussian beam on the circular aperture). Please see the attached picture. I was going to use a function like ...
1
vote
2answers
147 views

Why ColorReplace does not follow the rules specified?

I tried to use ColorReplace to change the colors obtained from MorphologicalComponents. However some of the changes didn't ...
1
vote
1answer
142 views

Generating a list of contour pixels for a morphological component

I have a set of pixilated shapes, and after transforming each shape into a morphological component, I want to be able to return the coordinates for pixels that lie on the contour of the shape. More ...
1
vote
1answer
150 views

Understanding the computation of IntensityCentroid?

If I have an image img, and I ask ComponentMeasurements to return "IntensityValues" for the ...
0
votes
0answers
34 views

How to plot morphological stripe near the mouse-clicked position in an image? [duplicate]

I tried to use EdgeDetect and MorphologicalComponents to get the image edge elements. When I clicked on an image, I want the edge element nearby to be highlighted or plotted. Here is my code. Two ...
0
votes
1answer
130 views

Outputting a set of graphics 3D objects with positions defined by one array and colors by another? [duplicate]

I have a set of 2- or 3-space coordinates in an array, $(v_1,...,v_N)$, and an array of RGB color values (outputs from ImageValue[]) for each coordinate, $(c_1,...,c_N)$. How can I output a ...