Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

3
votes
3answers
104 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 ...
4
votes
2answers
213 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 ...
2
votes
2answers
130 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 ...
2
votes
0answers
87 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 ...
2
votes
0answers
28 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: ...
9
votes
3answers
762 views

Processing a circular rainbow in an image

I was flying cross country last week. We were at about 35000 feet with a complete cloud deck below us. I looked down and saw a complete circular rainbow above the clouds. It was in view about 10 ...
5
votes
3answers
228 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: ...
0
votes
0answers
116 views

Is there any way to connect several images together?

I want to do something like the following, is that possible? As a input I want to provide several images and I want the output to be a single image. Is there any way to do this? I used ...
3
votes
3answers
68 views

ReplaceImageValue and ReplacePixelValue extremely slow

I have a grey scale image: and I am doing the following: bin = Binarize[image, 0.18] ...
4
votes
2answers
138 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 (...
14
votes
2answers
314 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 ...
0
votes
0answers
41 views

Using OpenRead to read an element from a list saved in .mx format

I have a set of large arrays 1D (1-2 million entries) where each element corresponds to a pixel value from a picture. I would like to know how a pixel value changes from image to image (how the value ...
4
votes
1answer
125 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
99 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
60 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 ...
0
votes
1answer
65 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 ...
8
votes
1answer
197 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 ...
0
votes
0answers
49 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 ...
59
votes
3answers
5k views

Recovering data points from an image

Unfortunately, some data can only be obtained in picture form (Japanese publications anyone?). Since this cannot be worked with, it has to be converted to a dataset that can; I was wondering whether ...
35
votes
5answers
4k views

How can I extract data points from a black and white image?

Consider the following graph (source): Is there any way to extract the data points from this image in a semi-automatic way? I have seen, and tried the methods suggested in this question, but they ...
2
votes
2answers
108 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 ...
4
votes
2answers
187 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 ...
13
votes
2answers
393 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 ...
11
votes
1answer
228 views

How to do color-fill in Mathematica?

Color fill, the ability to apply a desired color to an enclosed area, is one of the basic functions provided by most graphic applications. Is there a similar ...
6
votes
1answer
143 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., ...
12
votes
1answer
680 views

How to map an image to get an illusion of 3D

I would like to distort or map a given jpg so it looks 3D when viewed from certain angle, as in the following youtube video: http://www.youtube.com/watch?v=IfCCUd8mFtg. The most interesting part of ...
1
vote
0answers
40 views

Inport a web page with latex code as image png or other

To be brief; I would like to import a web page, then I write Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which give a notebook file without png ...
15
votes
1answer
292 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 ...
0
votes
1answer
33 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 ...
5
votes
0answers
75 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 ...
2
votes
1answer
198 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 ...
4
votes
2answers
113 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. ...
37
votes
5answers
5k views

How to ask Mathematica to imitate Andy Warhol's pop-art painting?

I tried to ask Mathematica to imitate Andy Warhol, let it convert a Marilyn Monroe's portrait so that it looks like Warhol's world famous pop-art painting. However, the result shown below is far from ...
2
votes
0answers
41 views

How to determine foci colocalization in a microscopy RGB image

First of all thanks to everyone for the amazing amount of info and help provided here, I'm quite new to Mathematica so probably this is a very simple question but I'm not sure how to proceed. I have ...
3
votes
2answers
140 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 ?
15
votes
2answers
249 views

Combining images with CUDA

SMALL UPDATE: This question is left as unanswered, because none of the existing answers as of yet actually use CUDA (though, whilst being very useful). 2nd Edition: To make it a bit more clear, and ...
2
votes
0answers
60 views

How to make Distance transform invariant to scale

I am using distance transform as a descriptor to encode silhouettes in order to do shape recognition task. It is clear that distribution of distance transform is invariant under rotation and ...
6
votes
1answer
133 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 ...
6
votes
1answer
87 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
127 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
2answers
298 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 ...
29
votes
1answer
2k views

FindFaces: how to improve the results of the face recognition feature

In Mathematica 9, the FindFaces command offers an easy way to detect faces. In some experiments, I've been getting reasonable results, but I'd like to know if there ...
3
votes
1answer
97 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 ...
12
votes
2answers
438 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 ...
37
votes
3answers
3k views

Image processing: Floor plan - detecting rooms' borders (area) and room names' texts

Here is a simple building floor plan. I would like to derive the rooms as (rectangular) components and the names of the rooms. This is very common representation of building floor plans. The ...
1
vote
1answer
101 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 ...
4
votes
2answers
385 views

Colorize Grayscale Image

I have a grayscale image that contains two objects. The grayscale pixel values can be divided into three intervals where two of them represent objects and the third represents the background. The ...
1
vote
1answer
67 views

Nothing happens when I click the mouse clicked on my graphics

I wrote codes to record list of coordinates when mouse clicked. It is expected that the coordinates should be plotted dynamically. But actually nothing happened. Can anybody help me to find the ...
3
votes
1answer
89 views

Image background subtraction using parallel computing

I am developing a program for pattern recognition. I want to use the parallel computing to get a real time application. I have two cameras where each one gives n frames/second. I need to process the ...
30
votes
4answers
699 views

How to make a stereogram in Mathematica?

Given a background and a pattern jpg files, is there a quick and easy way to produce a stereogram by using Mathematica? The following picture was produced from Photoshop, spent about half an hour. ...