Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

0
votes
0answers
30 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 ...
58
votes
3answers
5k views
+50

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 ...
34
votes
5answers
4k views
+50

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
100 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
164 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
384 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
224 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
134 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
663 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
37 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 ...
14
votes
2answers
270 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 ...
15
votes
1answer
283 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
29 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
70 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
178 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
100 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. ...
36
votes
5answers
4k 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
40 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
134 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
241 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
58 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
119 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
82 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
120 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
296 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
85 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
429 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
96 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
377 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
63 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 ...
2
votes
1answer
77 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
679 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. ...
48
votes
3answers
21k views

How to create a new “person curve”?

Wolfram|Alpha has a whole collection¹ of parametric curves that create images of famous people. To see them, enter WolframAlpha["person curve"] into a Mathematica ...
20
votes
4answers
2k views

How to create effect like Van Gogh's stroke brush?

I need to apply Van Gogh's stroke brush effect to a random image Take the following image as an example: Thank you so much if you could help!
0
votes
0answers
42 views

Understanding the use of GradientOrientationFilter to achieve a “brushed” effect

I'm trying to recreate in javascript a piece of code that appeared here on Mathematica, specifically in this answer: http://mathematica.stackexchange.com/a/39049/21482 The user Simon Woods suggested ...
3
votes
1answer
75 views

Recognizing Matching Colors in a Game Grid from a Camera Image

I am relatively new to Mathematica, having taken my first serious dive into it this week. As a fun project to teach myself some of the basics, I've come up with a goal of optimally solving a game ...
0
votes
1answer
71 views

Why is my Fourier transformed matrix rotated?

After Fourier transforming and shifting the zero frequency of a matrix, my outcome is rotated by 45 degrees from what it should be. Can anybody spot why? ...
0
votes
0answers
35 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 ...
2
votes
1answer
141 views

How to highlight image edge with spline/bezier when mouse moved over?

It is known that EdgeDetect can find image edges in an image. Suppose the image edges consists of sets of lines. Can the detected edge line near the mouse pointer be highlighted as spline/bezier when ...
2
votes
1answer
303 views

Data filtering using Butterworth filter

I want to filter data using Butterworth filter. I am currently using Matlab and I want to know how to do it in Mathematica. I have the following data: ...
3
votes
1answer
59 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 ...
1
vote
1answer
75 views

Manipulate filters in arrayplot with graphical user interface

I have a set of images which need to be filtered by different filters. So I have made an interface in which the user can choose his or her filter. However I now want to manipulate the degree of the ...
11
votes
4answers
210 views

Segmentation of a microscopy image with uneven illumination

I am trying to do a little image segmentation on some cells taken from microscopy images that have uneven illumination. I am having trouble getting the background of the image cleaned up after ...
34
votes
3answers
2k views

Identifying critical points/lines of 2/3D image/cubes

Upshot I am interested in identifying critical points of a 3D field/cubes (maxima, minima, tube-like and wall-like saddle points) and 2D field/image (maxima, minima, saddle points). I.e. the ...
5
votes
2answers
149 views

Converting image data to array

I'd like to convert these images to a list or array in order to graph them. I know some rows are unreadable, but it doesn't really matter. So I tried using ...
2
votes
0answers
94 views

Reading grave stone letters in an image

(Click on image to enlarge) (Click on image to enlarge) Is there an image processing technique that would aid in reading the letters and numbers on a grave headstone? Most stones are etched ...
0
votes
0answers
63 views

stacking images

I would like to take a series of night sky photographic images taken sequentially and enhance dim stars in a single image. This is a standard function in astronomical image processing packages, but I ...
0
votes
1answer
128 views

Order contour points in clockwise

I want to describe shape of an object using contour points descriptor. Given a silhouette (image black white of an object), I extrait the contour points using EdgeDetect[] fonction. After that, I need ...