Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

18
votes
2answers
466 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
158 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
88 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
99 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
133 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
125 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
189 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 ...
33
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
450 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 ...
4
votes
2answers
183 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
98 views

Correctly set up FindMinimum

I am trying to setup the following minimization to align two astronomical images. ...
1
vote
1answer
146 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? ...
5
votes
3answers
347 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
310 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
254 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
172 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
648 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
122 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
205 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
200 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
267 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
487 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
191 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
377 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 ...
4
votes
1answer
229 views

Sample code for generating mosaic images doesn't work

I'm reading the blog on mosaics by Theodore Gray. I tried the first example: ...
15
votes
2answers
596 views

Extracting angles from a simple picture

I'm not sure if this is even possible with Mathematica, but I want to extract the angles between all lines in this picture: It consists of $12$ lines, so I want a matrix with $144$ entries. I ...
9
votes
1answer
232 views

How to efficiently mask an image?

I want to extract/cut out a part of an image. Since my mask is not rectangular I want to set pixels that are not masked to zero (black). My current approach is something like this: ...
4
votes
2answers
285 views

Recognize simple shapes in an image and color them randomly?

I have an image of polygons built from a polar function (see below). I'd like to color each triangle or quadrilateral a random color. Firstly, I'm not sure how to separate the simple shapes. ...
4
votes
2answers
354 views

Labelling objects in a picture with numbers

I need help processing a biology bacteria picture. I just started learning Mathematica and I hope you guys can use a simple method to help me solve the problem, please do not use super complicated ...
2
votes
2answers
170 views

ImageDifference. Is there an ImageSame, or how would one do that?

Is there an inverse to ImageDifference? What in two images are the same?
10
votes
2answers
247 views

Extract table from image

I have the image of a matrix (download it to see it bigger): Is there a way to convert this into a Mathematica numerical matrix, using Mathematica?
2
votes
1answer
227 views

How to make a big image/dashboard containing various data-graph

I want to make and image/dashborad (to export to PDF) with many VERTICAL bullet graphs gauges. And I can´t make it, in a automatic way. In general, the questions are: QUESTION 1: How to make a ...
0
votes
0answers
39 views

How to get shadow of a 3d object [duplicate]

Suppose that we have a box or a sphere or an other 3D object and a ponctual light source. How we can generate the cast shadow using mathematic? Is there any tools to render a shadow given the light ...
0
votes
1answer
151 views

PixelValue with pixel indices [duplicate]

How Can we use PixelValue with pixel indices?
9
votes
1answer
227 views

Fitting Vogel's formula for phyllotaxis to the image of a flower

After having read this question I was inspired to investigate how we could take an image of a plant displaying phyllotaxis and fit Vogel's model of phyllotaxis to the image. The theory is very simple. ...
0
votes
1answer
205 views

Image convolution, motion blur

I define my degradation function as $$H(x,y;a,b,t)=\frac{T}{z}\sin z~e^{-jz}$$ where $$z=\pi(ax+by)$$ So I write ...
12
votes
5answers
650 views

Measuring the percentage of a given color in an area?

Given this image I would like to measure how much (in percentage relative to the square area) of each black delimited square is filled with green: ...
0
votes
0answers
83 views

How to find near circular objects in an image [duplicate]

I have an image similar to the one shown below, and I need to find all the red circles and count them. How could I possibly extract them? I am trying to do this in Mathematica for now, but eventually ...
2
votes
1answer
225 views

What are the min and max arguments to EdgeDetect?

What are the min and max arguments to EdgeDetect, for all methods and specifically "Sobel"? How do I find the limits or ranges ...
9
votes
4answers
423 views

Measure the length and width of the image

I obtained the images from a Magneto Optic Kerr Effect system from which I have to do some calculations. I cannot calculate the desired information from the images. The details are as follows: From ...
4
votes
1answer
129 views

Exporting images in a Mathematica array to a PDF s.t. each image is precisely $n \times m$ millimeter in dimension [duplicate]

I have a number of images in a Mathematica array, and I'd like to export the images to a PDF s.t. each image is precisely scaled to be $n \times m$ millimeters in dimension. The idea is that printing ...
17
votes
4answers
1k 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!
5
votes
1answer
473 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 as in the following youtube video: http://www.youtube.com/watch?v=IfCCUd8mFtg. I usually use conformal mapping (a complex function) to do my ...
3
votes
2answers
178 views

Using high RasterSize or ImageResolution changes contour pattern

I found that the detailed contour pattern will be altered if we Rasterize the original graphics using high RasterSize or ...
2
votes
3answers
171 views

Slow image processing using ReplaceAll

Can anyone explain me, why this line of simple code is so slow? And can it be improved somehow? ...
4
votes
1answer
150 views

How to ListPlot over an Imported Image

I would like to plot the gray scale (average of RGB) of an imported image, and combine the graph with the imported image. How can I do that in Mathematica? Say, the imported image is a 800x5-pixel ...
2
votes
1answer
158 views

Finding a Moore neighborhood connected path of bright pixels along the contour of a text character

I have a simple image, for example a blowup of a Times New Roman character like 'R' saved as a PNG. I then perform the following operations to extract a minimum representation of the contour lines ...
7
votes
2answers
198 views

Image analysis for extracting lines between cells

I have a 2D image as shown here and need to extract the spatial information about the curves in between each cell division. I have been able to analyze the image ...
0
votes
1answer
107 views

Export vector images

I am having difficulties exporting vector graphics. Using Kardashev3's code provided here: ...
2
votes
2answers
366 views

video image recognition [closed]

Has anybody experience with video and image recognition? I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) coordinate and follow them during ...