Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

1
vote
1answer
148 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
268 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 ...
1
vote
2answers
283 views

Projection of curve 3D (x,y,z) on the x-y plane

I have a following systeme : \begin{equation} \left\{ \begin{array}{rcr} (\beta+\frac{1}{2}\delta^{2})\nu_{1}(u)-\delta\nu_{2}(u)+\nu_{3}(u)& = &0\\ ...
0
votes
0answers
48 views

Change size of a saved plot or image (post-processing)

I have many plots (that take a long time to run) and each is saved to a variable name. For simplicity, say one was: ...
3
votes
2answers
165 views

How to count the number of n-gons and line intersections in an image of a complete graph?

I would like to count the number of line intersections and number of n-gons in a complete graph (which forms a regular polygon). The only way I've come up with that would allow me to do both in ...
4
votes
0answers
115 views

Multi-Camera streaming using Mathematica

I am attempting to capture dynamic streams from multiple usb webcams using only mathematica. Using ImageCapture["Device" -> $ImagingDevices[[x]], I've tried to ...
10
votes
2answers
1k views

How should I reproduce this colorful swirling gif?

Surfing on the web, I came upon this cool gif: Does any one know how to reproduce this in Mathematica? I have some ideas myself, so I will try to answer this question as well.
3
votes
1answer
113 views

Strange ImageFilter results

I am trying to perform some neighborhood analysis on an image, but ImageFilter seems to be interfering with the results outputted by the provided filtering function. Initialization Given the hue ...
1
vote
1answer
202 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: ...
1
vote
0answers
64 views

ImageCapture on Windows 8.1 [closed]

I have an Asus SmartTab tablet with Mathematica 9 on it. When I run ImageCapture, nothing shows up in the image window. Originally running this completely crashed ...
9
votes
2answers
279 views

Measuring curve length on a binarized image

With the help of almighty Mathematica 9, I got from this To this: with this code: ...
2
votes
3answers
147 views

Recover data points from RGBColor of known ColorScheme

In general I want to recover the z-values from an image of a DensityPlot. A simple example might just be ...
5
votes
2answers
445 views

I want to get a special curve in a picture

I have a picture,and I want to get a special curve in this picture ,than draw the line in a new picture.inbut I can't do this . Like this: The picture is this Anybody have an idea?
11
votes
2answers
202 views

Rotational Averaging of Image Periodograms (FFTS)

I'm writing a code to do rotational averages of image FFT's. I have a working version but it is pretty slow. Wondering if anyone has any thoughts on a way to do this more efficiently. Data looks ...
3
votes
1answer
212 views

Partitioning an image based on features

I have an image that has various characters hand drawn in it, like numbers and letters. I'm trying to partition each character into it's own image so I can run it through ...
8
votes
3answers
470 views

Line Intensity Profile From Image

I can get line profiles from images using imagej but it would be nice to be able to do this in my mathematica notebooks. I found this http://library.wolfram.com/examples/intensityprofiles/ after ...
7
votes
1answer
489 views

Anti-aliasing a fractal-like bitmap image

I have a .bmp image 9600x5400 that shows a lot of points at various intensities. There are no lines inside this picture - only a lot of points. I would like to apply anti-aliasing on the image to make ...
3
votes
2answers
388 views

Image processing: extracting ordered contour

Continuing the question How to extract the edge from a set of points and its answer by Simon Woods, I would like to ask if there is a way to extract the boundary of obtained as ...
7
votes
2answers
266 views

Reconstructing an image from overlapping patches

The Mathematica function ImagePartition can create overlapping sub-images with the pixel offset options {dw, dh}: ...
6
votes
1answer
347 views

Image fading from one corner to the other

I'm preparing a presentation where I want to place a background image on each slide (for aesthetics). These are extremely color filled images (like photos; lets use "ExampleData/lena.tif" as ...
4
votes
0answers
96 views

Challenge: Speeding up MaxDetect for application in 3D blob detection

In image segmentation it is a common problem that objects appear clustered and are therefore undistinguishable from each other when using simple algorithms. Based on this post I obtained efficient ...
7
votes
3answers
210 views

Morphological Components with periodic boundary conditions

I would like to find the connected(with periodic boundary conditions) components in a large binary matrix. What I've tried, and it does a fair job is: ...
2
votes
1answer
107 views

Importation multiple dcm images [duplicate]

I'm extremely new to Mathematica. I want to import 201 .dcm (DICOM) files into Mathematica 9. Is there a way to do this which doesn't require my doing it an image at a time? My ultimate need to is to ...
12
votes
1answer
554 views

Image Processing: Edge detection of the tumor on tomogram. Сalculation area of the tumor

The task is to identify the image region of the tumor. I try to use example from documentation centre: ...
18
votes
2answers
484 views

How to make a curve selectable from a scaned image and convert it to a list of coordinates

I have a scanned image (binary-ized): Is there any way to reduce one of these curved lines (full or dotted) to a series of its coordinates (e.g., sampling interval of 0.01 on x-axis)? I've read ...
2
votes
1answer
166 views

How to use the function ImageCorrelate? [closed]

I am a beginner in using Mathematica, know little about optics. However, I would like to know how to understand the function ImageCorrelate, since the ...
0
votes
0answers
100 views

How can I add drop shadows to the text of non-input/output cells?

Inspired by simon woods's wonderful shadow function, I want to add drop shadows to all the text of non-input/output cells in a notebook, something like this: By using simon woods's shadow function, ...
0
votes
2answers
107 views

Import a large no. of image from a folder together to Mathematica and assign a variable to each of the image [duplicate]

I am using Mathematica for the processing of images. For this I have to process a lot of images. Currently, I import one by one of the images to run the simulation. I want to import all the image ...
1
vote
2answers
144 views

Cropping a Plot without rasterization

Suppose that I make a plot of $x^2$ vs. $x$: myPlot = Plot[x^2, {x, -1, 1}, Frame -> True] If I click on the plot, I see the orange handles with which I can ...
0
votes
1answer
139 views

How to apply a conformal map to a jpg (or other image)

I would like to apply a conformal map to a jpg. For example, the map $z\mapsto z^2$ to this image: http://thumbs3.ebaystatic.com/d/l225/m/mGyeriV7l-YArkeBd9oMUng.jpg Any help on how to do this?
2
votes
0answers
213 views

Masked Image Registration/Alignment/Correlation

I'm trying to register (align) two circular grayscale images using a boolean mask to prevent them simply being aligned on the fixed circular border. There are also small fixed circular regions in the ...
35
votes
2answers
1k views

How can I add drop shadows and specular highlights to 2D graphics?

I thought I'd share some code in the form of a self-answered question, but other answers are of course welcome. Drop shadows are a familiar visual effect, giving the impression of a graphical element ...
2
votes
4answers
466 views

How to calculate the position of a figure in an image?

My question is about recognising soccer players in the pitch. Thanks to Bill S who wrote an excellent script to recognise parts of the players. I found this issue after testing his solution. I will ...
5
votes
2answers
213 views

Band Intensity Quantification

I would like to measure the density of my western blot band by measuring the area under the peak from this plot. More specifically, my image will have several lanes with a pattern of bands in each ...
0
votes
0answers
103 views

Correctly set up FindMinimum

I am trying to setup the following minimization to align two astronomical images. ...
1
vote
1answer
161 views

Image basics in mathematica

1) How the pixel values are defined in mathematica or how it is different from matlab? 2) I am wondering how image properties are different in mathematica, and how they are calculated? ...
6
votes
3answers
468 views

Understanding Bilinear ImageResize

In trying to understand basic image transformations, I have attempted to code my own image resize function that uses bilinear interpolation. I checked my work against Mma's ...
17
votes
1answer
321 views

Object differentiation in image

After purchasing a box of alphabet pasta for the kids, I wondered if there was way to extract the frequency of appearance of letters in the box by taken a sample and the analyzing the picture. ...
5
votes
2answers
263 views

How to make binary image from black holes on white background

How to convert black holes on white background, so that I can see a binary image of holes on white image or bright dots on black image. I can create a mask then also I am stuck with bright dot on ...
2
votes
4answers
180 views

Creating an image from data not in grayscale

I can Import data from excel and create a gray-scale image using Image[data, "Real"] But I want to change from grayscale and as an example use red as the color
8
votes
2answers
669 views

detecting the radius of an incomplete circle

I need your help to detect the radius of the blue circle in images like this: . Reading these questions: 1, 2, 3, I figured that this code taken from @halirutan answer to question n°3 could help: ...
1
vote
1answer
128 views

Image partition according to contours

I want to extract contours from following image or I am wondering how to partition following image: line image looks like: This question is linked: How to superimpose contour lines on ...
3
votes
2answers
217 views

How to superimpose contour lines on transformed image

My goal is to superimpose contours lines or contour plots on distance transformed image.
0
votes
1answer
214 views

Image processing, masking

My question is about finding a object in a specific part of a image. For example, I use this image: As you can see, you will se two persons walking on the field. I only want to find the second ...
2
votes
1answer
314 views

Importing a Canon Raw file (.CR2)

This is a very top level question with no code examples attached. I have an interest in using Mathematica to read raw files coming from a Canon camera, before they are converted into jpg's, where ...
2
votes
1answer
525 views

Rolling Ball Image Background Subtraction [closed]

I am currently doing particle detection on some images and I wanted to do an Image Background Subtraction similar to what is available on ImageJ so as to even out the background tone. ImageJ uses a ...
6
votes
2answers
199 views

Analysis of many similar x-ray Images

From a 3d x-ray scan, I have many similar slices to analyze. Is there a way to determine the position of the three rectangles and the inner circle?
4
votes
1answer
400 views

Circle detection using invariance kernels

I'm not sure, if this belongs more to the signal processing forum or if I can post it in here, but I want to solve it via mathematica and it's some kind of image-processing I guess. I have a noisy ...