Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

1
vote
0answers
174 views

How can I detect certain letters by shape in an image? [closed]

I have a website where people can post Flipbook animations, called Flipnotes. Unfortunately, most of the Popular flipnotes are in the following categories: MV (Music Video) AV (Audio Video) AMV (...
5
votes
1answer
348 views

How can I train a binary classifier to find a logo?

So I'm trying to contruct a simple binary classifier. Problem: Classify an image as containing the apple logo, or not. I'd like it to be distortion, color, size and rotationally invariant. I'm sure ...
1
vote
1answer
106 views

Overlap an image in real time

I made a real-time face detector with Mathematica, and I want to put an image where it detects the face. Here is my code: ...
1
vote
0answers
125 views

When using Classify[] on images, is preprocessing necessary?

If the images in the training data set have different sizes and channels and color spaces, will this hinder the classifier? The examples in the documentation seem to suggest that normalization with <...
4
votes
2answers
2k views

Image processing: Calculate the area of the region of interest

I am trying to compute the area of a particular region of interest from images which are obtained from an experiment. The original data looks like this: I have to calculate the area of the region ...
13
votes
1answer
445 views

How can I detect if an image is in or out of focus?

I need to filter out bad (blurry or ) images from a set, with some sort of blur detector.
1
vote
2answers
595 views

Extracting intensity from an image

Suppose I have an image sampleOriginal = Import["...mySample.png"] I then convert it to Grayscale colorspace ...
0
votes
1answer
137 views

Vectorize pixel SphericalPlot

I have a question about Mathematica images exporting. I have created 3d (SpericalPlot) with coloring function on it and then exported it to pdf. Is there any possibility to make more vector graphics ...
7
votes
1answer
197 views

Is there a way to characterize a winding object in an image?

I have produced this image by applying a Gaussian image substraction, Binarize, Colornegate, and ...
7
votes
2answers
259 views

Apply ColorFunction to an Image [duplicate]

is there a faster way to change the colors of an image from grayscale to something like this: ...
5
votes
1answer
392 views

How can I integrate Open-CV with Mathematica?

I would like to run Open-CV functions from within Mathematica, can anyone figure out how to do this?
2
votes
0answers
138 views

How to get the SIFT features of an image?

According to the documentation, the function KeyPoints[] computes features only using SURF, but what about SIFT or FAST features?
4
votes
1answer
174 views

spherical histogram for 3D object

I want to develop a shperical histogram for 3D object. Given a 3D object, I put it in a cylinder where its axis pass through the centroid of the object. The cylinder is sampled into a number N of ...
5
votes
2answers
444 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 ...
0
votes
0answers
55 views

Removing Perspective Distortion [duplicate]

Below is my input: I would like to remove perspective distortion from the image. Expected output below:
4
votes
2answers
397 views

Speed up calculation

First of all thanks to: rm -rf, Mr.Wizard, Simon Woods, Pickett, Piotr Wendykier, Mac, Yves Klett, belisarius, halirutan, bill s, nikie, wxffles, ... Everybody of you helped me (a mathematica ...
3
votes
3answers
170 views

Colorize an image using two parameters

I have a matrix of data. I use Colorize[Image[Rescale[data]],ColorFunction->"Rainbow"] to create an image from the data where the value of each pixel is used ...
2
votes
1answer
73 views

RegionBinarize distance parameter has no effect

I'm trying to segment an object from background in noisy micro CT data. The original 3D volume data looks like this: ...
3
votes
0answers
101 views

How can I transfer colors from first image into second image? [duplicate]

How can I transfer colors from first image into second image, where every object from the first image should take the same object's color from first image. This images are only an example. this is ...
14
votes
3answers
951 views

Processing a circular rainbow in an image

While on a cross-country flight, I observed what looked like a complete circular rainbow, visible against the backdrop of clouds. I took several photos thru the window with my small Nikon camera, one ...
5
votes
3answers
494 views

Simple image processing very slow

I have compared the speed of some simple image processing routines between Mathematica an IDL. 1. Reading of a grey scale png image of (720,577) pixels: The image is: Mathematica: ...
3
votes
4answers
207 views

ReplaceImageValue and ReplacePixelValue extremely slow

I have a grey scale image: and I am doing the following: bin = Binarize[image, 0.18] ...
3
votes
2answers
532 views

Color Transfer from colored image into grayscale image

At first I did this where image is a grayscale image and example is a colored image ...
4
votes
2answers
189 views

Create an image showing max intensities in a set of images?

I would like to use a set of two images with the same color scheme (img1 and img2) to produce a new image (...
4
votes
1answer
384 views

Mask outliers in an image

I'm using Binarization/Morphological Operators to detect apples as objects, which has gotten me so far: I did get the mask using this code ...
1
vote
2answers
258 views

Colorizing thresholded images with different colors

I am switching from IDL (from exelis) to Mathematica and want to do the following: thersholding a image (all values above a certain threshold are set 1, the rest is 0 ) colorizing the thresholded ...
0
votes
1answer
149 views

Character segmentation in poor quality grayscale

Given grayscale lines from a receipt like this: , in which parts of the letters sometimes appear almost as light as the background, my goal is to determine the $x$-positions of the centres of the ...
0
votes
1answer
142 views

Extract ROI from image by hand into Matrix Form

I have a 3D Image (each pixel contains information for various wavelengths). I draw the image for one wavelength by using ...
8
votes
1answer
305 views

Detect implicit grid in image with monospaced characters

I'm trying to detect the monospaced-grid in a possibly slightly deformed image of a receipt. Example input (full size here) My idea is to obtain the centroids or bounding boxes of all components ...
1
vote
1answer
169 views

Expecting an image or graphics instead of -Image-

Here's a snippet of my notebook. When run with the frontend, the code runs fine with no problem at all. However, when I save the notebook as .m file and run it using "Mathkernel -noprompt -script ...
4
votes
2answers
1k views

How to count and mark all counted objects in this image

I need some help on image processing in Mathematica (I have unsuccesfully tried with OpenCV). I have an image: and I need to count all objects in this image and mark them. The perfect result ...
2
votes
3answers
554 views

Calculate pixel intensity in two regions

I am just beginning to learn about image processing. I would like to know 1) How to show an original image with a visible mask of an arbitrary shape? 2) how to calculate the pixel intensities in the ...
6
votes
1answer
286 views

Obtain polygons describing all intersections of many polygons

I have 6894 polygons describing zones in a state plane (i.e., cartesian) coordinate system. Most are not very complex, and I believe none have holes. A random example is Polygon[{{351633., 564236.}...
1
vote
0answers
83 views

Import a web page with $\LaTeX$ code including images (png or other)

To be brief; I would like to import a web page, so I use Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which ...
0
votes
1answer
70 views

definitions and usages of options such as “Count” ,”Area”, “ConvexCount”, and “ConvexArea”

I would like to use ComponentMeasurements to do image analysis on porus materials. However definitions andusages of options such as “Count” ,”Area”, “ConvexCount”, and “ConvexArea” are not well ...
15
votes
2answers
531 views

Efficient way to compare animated images to tell if they are the same

I have a Student license for Mathematica, and felt like I wasn't making full use of the wonderful toolkit that it is; so I looked into things like its image processing capabilities. Now, I made and ...
7
votes
0answers
137 views

Ways to overcome failure of TextRecognize on relatively simple price tag?

I would like to perform OCR on this sample image. TextRecognize[Import["RedBox.jpg"], Language -> "German"] returns ...
4
votes
2answers
350 views

FindPeaks does not smooth noise on peak?

I have experimental data which is noisy. My objective is to find the peaks. Here is a short part of the data. ...
3
votes
1answer
441 views

Image processing: Line detection on paper images

So I have some Beta Radiographed papers and all of them have some vertical lines. What I am trying to do is write an automatic code which detects these vertical lines in almost all the images. The ...
6
votes
0answers
198 views

How to determine foci colocalization in a microscopy RGB image

I have a series of microscopy RGB images of the cell nucleus like this one The red and green dots are clusters of different proteins and I would like to determine when these dots colocalize. ...
16
votes
1answer
357 views

Why does this line increase the consumed memory?

Probably this is a simple question, however I really don't understand this behavior in Mathematica. It particularly leads to a memory leak in a huge program I have to do processing of 3D images. I ...
4
votes
2answers
620 views

Best fit equation from a scanned image

I am trying to extract a curve from a scanned graph and find a best fit equation. For example, starting from: How could one find an equation starting from the image file ?
4
votes
0answers
158 views

How to make distance transform invariant to scale?

I am trying to use a distance transform as a descriptor to encode silhouettes in order to do a shape recognition task. It is clear that distance transform distribution is invariant under rotation and ...
7
votes
1answer
210 views

How to intelligently use Binarize[] to find the surface concentration of an image?

A tiny bit of context: I'm using a TEM to take images of deposited metal on a surface. The images are in black and white. The deposited material forms little islands, and I want to use MM to figure ...
3
votes
1answer
224 views

Translate Image respect to its centroid

To apply DistanceTransform for shape recognition, I want to center all images in a fixed point {cx,cy}. I mean each image's centroid should be ...
6
votes
1answer
516 views

Get 2d corner coordinates / layout using edge detection

I'm new to Mathematica but I found an interesting usage of it: I'm programming a 2D game, with a top-view, where I'd like to have the edge coordinates of the walls. EdgeDetection delivers me quite a ...
8
votes
1answer
228 views

how to speedup subpixel registration

I have a bunch of small images that I need to register with larger images with sub-pixel resolution (ie. based on image interpolation ) This works.. seeking advice to improve performance. Create a ...
6
votes
2answers
338 views

BarcodeRecognize can read Chinese,but why BarcodeImage can't make Chinese characters to QR image?

For example: Import["http://www.image-share.com/upload/2735/230.jpg"] BarcodeRecognize@% can give a String "别看我,我会害羞..." but if I go on using ...
15
votes
2answers
587 views

Intersecting parabolas in an image

I have a friend who is a math teacher (like me) and while out cycling took this picture. The idea would be to create the equations of the quadratics that model the bridges and super-impose them on ...
1
vote
1answer
195 views

Mathematica 8 remove black background from image

How do I do that in Mathemtaica 8? I have found on this site many options like RemoveBackground[], but they don't work in Math.8. Are there any options? Here is ...