Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

8
votes
1answer
215 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
65 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
217 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
2answers
138 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
163 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., ...
1
vote
0answers
62 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
35 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
360 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 ...
5
votes
0answers
83 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
139 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. ...
2
votes
1answer
247 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 ...
3
votes
0answers
61 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 ...
15
votes
1answer
303 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 ...
3
votes
2answers
159 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 ?
2
votes
0answers
73 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
105 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
144 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
199 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 ...
3
votes
1answer
106 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
300 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 ...
12
votes
2answers
461 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
108 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
413 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
76 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
111 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 ...
1
vote
0answers
63 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
111 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
135 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 ...
3
votes
1answer
81 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
84 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
262 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 ...
1
vote
0answers
77 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 ...
2
votes
0answers
104 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 ...
5
votes
2answers
164 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 ...
5
votes
1answer
276 views

Areas of Voronoi cells from image file

I have an binary image with non-point objects. Does anyone have any suggestions how to determine area of each Voronoi cell in Voronoi diagram (goal is area distribution)? Thank you in advance.
0
votes
1answer
161 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 ...
3
votes
0answers
147 views

FindPeaks with noisy data

I am trying to understand the FindPeaks function in V10. I have two questions. Here is some measured data with noise. ...
2
votes
1answer
184 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 ...
0
votes
0answers
45 views

Can any function give a draggable closed curve on feature edge of an image like “EdgeDetect” found?

I've posted the question, but hardly describe it clearly, now let me show it this way: I don't know the algorithm for "EdgeDetect". Suppose the detected image edge consists of single line pixels at ...
4
votes
2answers
208 views

How to highlight the feature edge of an image with draggable select lasso?

As shown in the picture, i want to know if it is possible to: 1) recognize the feature edge like face,nose,eyes,mouse,etc. 2) highlight the feature edge with draggable select lasso, 3) return the ...
8
votes
3answers
1k views

Creating a foggy image

I want to create foggy images like this one (produced with Adobe Photoshop): Not at least familiar with Mathematica's Image processing capabilities, the only ...
1
vote
1answer
67 views

Bug in ClusteringComponents yielding different results on practically same input?

I am using the image below. I want to run a simple ClusteringComponents, using the KMeans method and ...
14
votes
1answer
117 views

How can I restore the old `ImageCompose` behaviour?

Prior to version 10, if ImageCompose was used to overlay a partially transparent image region over a completely transparent image region, the result would keep the ...
1
vote
0answers
75 views

How to generate a 3D terrain from a terrain-map image? [closed]

I attempted to generate a 3D terrain from a terrain-map image with the following code. What I got was a NULL terrain. What is wrong with my code? ...
14
votes
1answer
715 views

Is there a better way to “grow” black tulips?

I used the following clumsy way to obtain a bundle of black tulips. Is there a better way to do so? ...
38
votes
3answers
1k views

Composition à la Mondrian

I would like to paint something like this or,even better, like this I have tried ...
1
vote
2answers
156 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 ...
6
votes
2answers
263 views

How to use Mathematica to turn a picture into low poly style?

I want to use Mathematica to turn a picture into low poly style. That is, to make the following conversion: Bill to Bill low poly(Using Image Triangulator App). I think the biggest difficulty is how ...
11
votes
1answer
241 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 ...