Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

0
votes
1answer
32 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 ...
-5
votes
0answers
37 views

Creating a contour of an image [on hold]

I'm supposed to create the contour outline of an image. Here are the instructions specifically... Modify the above code to produce a contour of an image. In the picture below, a 1 is white, and a 0 ...
11
votes
1answer
72 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
53 views

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

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? ...
11
votes
1answer
657 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? ...
21
votes
3answers
617 views

Composition à la Mondrian

I would like to paint something like this or,even better, like this I have tried ...
1
vote
2answers
144 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
149 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 ...
10
votes
1answer
192 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 ...
3
votes
1answer
71 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 ...
31
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 looks like Warhol's world famous pop-art painting. However, the result shown below is far from ...
6
votes
2answers
395 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
65 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
70 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
102 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] = ...
4
votes
1answer
91 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): ...
8
votes
0answers
80 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
926 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
148 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
144 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 ...
18
votes
2answers
340 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 ...
2
votes
0answers
96 views

Power::infy: error using FindFit

I have a 2D data to fit (the Airy type pattern from diffraction of Gaussian beam on the circular aperture). Please see the attached picture. I was going to use a function like ...
5
votes
2answers
301 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
63 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
86 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 ...
13
votes
2answers
199 views

Combining images with CUDA

2nd Edition: To make it a bit more clear, and to summarize the discussion in comments. I have a small image, like this one: ...
5
votes
1answer
129 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
72 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
133 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 ...
15
votes
1answer
253 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 ...
13
votes
1answer
349 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
79 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: ...
18
votes
7answers
1k views

Is there a way to recreate the typical Red/Blue-Postereffect using Mathematica?

I think nearly all of us have at least once seen an image like this: So I wondered whether it is possible to recreate this effect using Mathematica because it seems like it wouldn't need that many ...
4
votes
2answers
112 views

Layers of Locators of Different Colors?

I am a Mathematica novice trying to do some interactive segmentation of microscopy images. I've been trying to understand and build upon some code from a previous StackExchange discussion (Can ...
2
votes
3answers
110 views

Speeding Up Replacing of Labels in Large Matrix?

I am Mathematica novice and am trying to find a fast way to replace labels in some rather large matrices (512x512 or 1024x1024) that have resulted from segmenting images with WatershedComponents or ...
8
votes
1answer
238 views

How can I extract the outline of bubbles in my image?

I have an image: I tried to extract the outline of the bubbles, but I met with some problems. Firstly I tried the method used in Mathematica documentation for ...
5
votes
3answers
395 views

Detect each polygons in an image

Considering this image: Is there a way to colorize each tiles independently? My problem is that img = Import["http://i.imgur.com/Y87duSz.jpg"]; Colorize@img ...
3
votes
1answer
289 views

Image Processing: Detecting and counting small objects

I would like to analyze close-up images of human hair. My goal is to detect and count the number of hair strands and determine their width, but I am having a hard time binarizing the image. Seems like ...
1
vote
1answer
83 views

Identifying the color in Image

This has mad me Crazy for a while Can any one please Help me solving this this is the Image that I am working on . Basically this image is made up of 98 different color patches 7 patch on each level ...
5
votes
2answers
147 views

How to color separate a colored-in-pencil drawing?

I'd like to pick out just the "pencil" color in some drawings done by a young member of the household (he'd like to print out copies of these pictures and distribute them to his class mates on the ...
4
votes
1answer
205 views

How to get better quality EPS graphics

Yesterday, I was doing any Tables of 15 graphs similar to the next example, to save .eps and use in latex. In the generation of the graphs Mathematica spends many time. Is possible to reduce this ...
1
vote
1answer
94 views

Moment central of a binary image

I am implementing the Hu set of invariant moments detailed here Hu set of invariant moments. I implemented the moment Image like this: ...
2
votes
1answer
183 views

Segment parts of a picture

I remember that there was some thread of this sort, but I could not find it, so I hope it's ok to open a new thread. I want to segment pictures of the brain, i.e. I only want the area within the ...
0
votes
0answers
57 views

GraphicsGrid command

When we merge some colorful plots to a single image, with the command GraphicsGrid, the quality of output image will be lost, slightly. That is, for instance all ...
5
votes
2answers
159 views

Exporting pictures in their correct size when using Grid [duplicate]

I have a large number of pictures, and I need to place each three of them in a grid with a certain layout. For example, if I have the following pictures: ...
4
votes
2answers
259 views

How to create breathing wall effect?

I would like to recreate the effect of the one in this video: Breathing walls This is my first time manipulating images, and because of that, I don't even have a clue where to start. But I think ...
1
vote
1answer
143 views

Intersecting/Overlapping Image Elements Counts?

I have what I believe should be a relatively easy problem to solve that I have not been able to find an elegant solution for. I need to compare two binary 2D images and count if any of the elements ...
3
votes
1answer
263 views

Overlay two images

I have a series of endoscopic images taken by two cameras at the same time. A color image: and a fluorescent image indicating cancerous cells I now want to overlay the two images to indicate ...
8
votes
1answer
444 views

Binarize turning image completely black?

Running Binarize (or EdgeDetect) on a filled black and white image is resulting in an all black image. The image has the following color distribution (with most images points falling in either a ...
3
votes
1answer
251 views

Remove borders in a series of images

I have a series of mouse MRI images, here are two How can I automatically remove the metal cage around the mouse to make it look like this: The position of the cage is not always in exactly ...