Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

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 ...
4
votes
2answers
531 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
140 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 reason?...
3
votes
1answer
185 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
118 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. The user Simon Woods suggested an amazingly efficient way of drawing lines over ...
3
votes
1answer
325 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 ...
2
votes
1answer
229 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? ...
3
votes
1answer
170 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
110 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 ...
12
votes
4answers
515 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
151 views

stacking images [closed]

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 ...
10
votes
2answers
263 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 into ...
5
votes
2answers
389 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
386 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
315 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 ...
7
votes
2answers
542 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
298 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 ...
4
votes
2answers
302 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
1answer
2k views

How to generate a cartoon of a face

I want to use Mathematica to generate a cartoon of a face. For example, some thing like this: I think it can be done using Mathematica, but I really don't know how to do it. How can it be done, and ...
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
81 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
167 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 ...
14
votes
1answer
740 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? ...
49
votes
3answers
2k views

Composition à la Mondrian

I would like to paint something like this or,even better, like this I have tried ...
1
vote
2answers
192 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 ...
8
votes
2answers
562 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 ...
13
votes
1answer
392 views

How to do color-fill in images 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 ...
4
votes
1answer
820 views

How to track objects in video

I have a video that contains object moving in one direction, is it possible to track the objects and get information like object moving speed, object length and coordinates etc.? An example would be I ...
45
votes
5answers
10k 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 ...
6
votes
2answers
1k views

How to make a cleaner copy out of a blurry text image before OCR?

A cleaner copy can be obtained from a blurry original by using the level adjustment in Photoshop before going for a better OCR. The picture below shows an example. ...
6
votes
1answer
141 views

Image compose coordinate problem

Am I missing something or this is a bug? Why I get different results by just adding a bracket? ...
2
votes
1answer
104 views

Image padding problem with transparent

I have an image that I'm trying to pad some transparent border. But I get error: "The specified padding value is not compatible with a 3-channel image." ...
2
votes
2answers
188 views

Compose one image over another

I'm a newbie in image processing using Mathematica. I'd like to compose an image $A$ over an image $B$ into an image C such that $\quad C[i,j] = B[i,j]$, if $A[i,j]$ is white $\quad C[i,j] = A[i,j]...
4
votes
1answer
179 views

What should I do if the geographical map provided by Mathematica doesn't show some rivulets?

I have a list of geographical coordinates(maybe the coordinates are not that accurate, but the problem is not that vital): ...
19
votes
1answer
345 views

Segmentation of sunspots

I recently went for a walk with my camera and snapped a few pictures of the sun. The pictures didn't turn out too well, but this was to be expected without a telescope. I thought it might be a nice ...
8
votes
6answers
1k views

How to blend two photos in Mathematica?

The following two photographs forest and tiger were blended into one with screen blending mode in Photoshop. How to accomplish the same result in Mathematica? ...
8
votes
1answer
799 views

ImageTransformation: polar to cartesian

I am working on something that requires the polar transformation of some images. I implemented this transformation with ImageTransformation: ...
2
votes
3answers
530 views

Alternatives to Append/AppendTo for generating a list in an interactive DynamicModule?

I have a stack of timelapse microscopy images that I am trying to segment frame-by-frame using some of Mathematica's image processing functions. I have created a little interactive DynamicModule with ...
20
votes
2answers
611 views

Object separation from a 2.5D surface

I'm trying to identify the shape and the boundaries of objects. The data was generated with a laser scanner and represent the surface of an area in which many boulders lay on the ground and making up ...
7
votes
2answers
409 views

Is it possible to produce “tilt-shift” effect in Mathematica?

I attempted to produce a kind of miniature faking look from a street scene photo. I tried to shift the perspective lines close to parallel to each other to obtain such effect. However, the result ...
0
votes
1answer
121 views

Unusual Slow Down with LocatorPane/DynamicModule

I have coded up a little interactive DynamicModule to help me with image processing/segmentation of stacks of timelapse microscopy images. I am experiencing a crippling slow down in the ...
4
votes
1answer
358 views

How to translate and scale an image via ImageTransformation

Is there a way to translate and scale a 2D image simply by using ImageTransformation[] and TransformationFunction[]? I know how ...
31
votes
4answers
1k 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. ...
16
votes
2answers
306 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 ...
5
votes
1answer
253 views

Tolerance on image detection

I am trying to pick straight lines out of a photographic image to track deflections of a structure under loading. The idea is to mark certain structural elements with straight lines, as they deflect ...
2
votes
2answers
156 views

Image Processing: Using AdjacentBorders with SelectComponents

I've been doing some image processing and have been having trouble with the AdjacentBorder command. I've got an image in which I have several elements that are on ...
1
vote
0answers
294 views

Speeding Up Image Processing Functions

I am working with stacks of 1024x1024 timelapse microscopy images that I am performing a series of image processing functions on to help segment each image. These functions include ...
16
votes
1answer
656 views

Speed up adding Poisson noise to an image

I'm simulating some images corrupted with Poisson noise, but I'm encountering a few problems with performance. According to the documentation on ImageEffect, one ...
15
votes
1answer
452 views

Automatically lining up two images that have some common elements

Over on genealogy.SE, I proposed a method of manipulating images to make "bleed through" less visible and the handwriting on the correct side of the page more legible. Here are the original images: ...
2
votes
1answer
119 views

Black line after ImageTrim

as shown in Image correlation I would like to detect the shift between a stack of images. Here are the images: and here the code: ...