7
votes
1answer
197 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 ...
3
votes
1answer
241 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 ...
3
votes
1answer
234 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 ...
0
votes
0answers
45 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
1answer
199 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 ...
7
votes
3answers
408 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
2answers
248 views

Reconstructing an image from overlapping patches

The Mathematica function ImagePartition can create overlapping sub-images with the pixel offset options {dw, dh}: ...
0
votes
2answers
91 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 ...
2
votes
0answers
165 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 ...
4
votes
2answers
177 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 ...
5
votes
3answers
324 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 ...
0
votes
1answer
182 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
218 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
1answer
147 views

PixelValue with pixel indices [duplicate]

How Can we use PixelValue with pixel indices?
9
votes
4answers
413 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
127 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 ...
2
votes
2answers
340 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 ...
5
votes
1answer
177 views

measure minimum distance of dots from edge

I want to measure minimal distance of small dots from the edge of an image: Image of bright dots: Edge image ImageAdd looks like following:
2
votes
1answer
284 views

Measure relative lengths of rectangular objects

I'm working on a method for measuring the relative lengths of the objects, with the intention of showing that the objects are longer in the center of the image that at the top/bottom. The image is ...
11
votes
2answers
565 views

How to improve the accuracy of this Monte Carlo simulation

A friend of mine went on an interview and he was asked to calculate the angle between the hour hand and minute hand of an analog clock when the time was 3:15. Arguably, this is a trivial problem that ...
0
votes
1answer
178 views

How to read image files in Analyze 7.5 format?

I am using GATE/Geant4 for simulating photon beams interacting with matter. For 3D dose distributions, GATE outputs the data into an Analyze 7.5 format [1]. I was wondering whether there exists a ...
11
votes
1answer
427 views

Ellipse counting from image

I have hundreds of images similar to this image: I'm looking to count the number of ellipses as well as their major and minor diameters. The ellipses are touching, hence, ...
6
votes
2answers
520 views

Band-pass filter an image

Ok so i have some HR-TEM images. In this technique fringes appear whereever a crystalline structure is present. This fringes are separated by a certain distance depending on the material, this is our ...
6
votes
2answers
173 views

Get information about a stack of images, without plotting it

A very long time ago I used Mathematica for a few months and found it very intuitive. Now for my work I use MatLab. I was just trying some stuff out with Mathematica again and there is something I ...
9
votes
2answers
288 views

How could I use Mathematica to remove finger tips that appear in images?

I used my photo camera to "scan" a heavy dictionary. I tried to have flat images by pressing the margins of the pages with my fingers. The color of the background is (normally) black and my fingers ...
3
votes
0answers
229 views

How can I create jpeg images of a given file size?

Cross-posted at Wolfram Community I would like to have a function makeJPG[megabytes_] that generates random jpg images of given file sizes with itf filesize (in megabytes) watermarked on the image ...
13
votes
1answer
495 views

How to identify chemical substance from tattoo?

A friend of mine made a tattoo on his chest of some chemical substance formula. He challenged us to identify which substance is that. I thought that perhaps a combination of: Mathematica image ...
1
vote
2answers
162 views

Image's pixels GPU colour classes splitting

How can I split in color classes, the pixels of an image that I load in Mathematica? I would an output like this: ...
2
votes
2answers
417 views

Generating x,y coordinates for an edge detection

I'd like to be able to process a number of graphics that have edge contours and output a list of $x$, $y$ coordinates to be used for generating a spline in another program, or in Mathematica, to make ...
2
votes
0answers
224 views

Understanding “IntensityData” coordinates

Update - Playing around a bit, is it true that we need to process the list of "IntensityData" values $r$ as follows: r = Partition[r,k]; r = Transpose@r; And ...
5
votes
1answer
205 views

Cropping an image to a minimum bounding box for a set of points

Imagine a define a pointlist inside of an image: Provided a pointlist for the set of red dots around the toy horse, is there a way for me to automatically crop to a minimum bounding box for this ...
2
votes
3answers
250 views

Defining and isolating a region of an image internal to a bounding curve

I was recently looking over this very nice question by March Ho: Counting elements which are inside another element on a different colour channel There are often times where I find myself wanting to ...
0
votes
1answer
213 views

How Can I Transform a Colored Image into Pre-defined Matrix?

I am new to Mathematica and I would like to use it to postprocess some of the experimental data I measure. I would like to visualize voltage measurements over a non-uniformly segmented plate. I would ...
3
votes
3answers
197 views

Is there a fast method of generating a Standard Deviation image from a frame stack?

Imagine I have a stack of image frames, $(f_1, ..., f_N) \in F$, where each $f_i$ has the same set of $(x,y)$ dimensions. Using these frames, I'd like to create an image where each pixel in the image ...
1
vote
1answer
295 views

Problem with Fourier and InverseFourier function

I have the following code Image[img, ImageSize -> 300] data = ImageData[img]; fdct = Fourier[data] tdata = InverseFourier[fdct]; Image[tdata] but it seems to ...
1
vote
3answers
179 views

Defining a polygon by clicking on an image [duplicate]

Imagine I have some image, $I$, and I'd like to define a polygon by sequentially clicking on the image to define vertices $(v_1, ...) \in V$, where vertices $v_i$ and $v_j$ share an edge if $j = ...
-5
votes
1answer
2k views

Determine the 2D-Fourier transform of an Image

I am new to Mathematica and using Version 8.0. I want to calculate the 2D-Fourier Transform of a digital image and see its Magnitude and Phase Spectrum, and reconstruct it.
2
votes
2answers
201 views

Intersection & Complement operations for lists of Morphological Components?

I have an array of $M$ sets of morphological components corresponding to the same image, however computed in different ways. For example, we might have: ...
1
vote
1answer
210 views

Selecting morphological components, of a certain size, centered on points of interest in an image

I have a set of points in an image, for example: ...
5
votes
3answers
292 views

Getting RGBA data from an image

What is going on with returned data in the following examples? It appears ImageData returns different types depending on the what data is passed into ...
20
votes
4answers
2k views

How can I detect an ellipse in a photo?

I tried to detect the rim of the following cup as an ellipse. I've tried the solutions given in How to find circular objects in an image? to detect the ellipse, but the detection result was not ...
3
votes
1answer
141 views

Resampling when using image as Texture

How to get sharp pixel boundaries with Texture? I'd like to have only black/white in the example below, no gray. ...
3
votes
1answer
653 views

Detection of horizontal lines in an image

Ok I'm trying to detect horizontal lines in an image. But the problem is that the line is quite obscure. So I'm not sure if it is even possible to extract that. I tried many different filters, but ...
5
votes
4answers
447 views

How can I return the color at a coordinate in an image?

I have an imported and cropped image: TestPicture = Import["filepath.jpg"]; TestPictureCropped = ImageCrop[TestPicture, Min[ImageDimensions[TestPicture]]]; How ...
9
votes
3answers
2k views

Composing an image with a plot

I'm trying to illustrate the solutions to a textbook problem dealing with quadratic functions. This will involve plotting a quadratic and overlaying the plot and the image. Here is the textbook ...
5
votes
1answer
122 views

Scaling an image with “Drawing Tools” primitives on it

Imagine I doodle with the "Drawing tools" pen, or place lines on an image after importing it. Now say I want to scale this image by some constant factor $C$ while maintaining the same aspect ratio. ...
2
votes
2answers
255 views

Introduction of bias during brightness and contrast manipulation of an image

Quoting from Nature magazine's "Image integrity" guidelines: Processing (such as changing brightness and contrast) is appropriate only when it is applied equally across the entire image and is ...
15
votes
2answers
2k views

How can I detect a rectangular region of interest in a picture?

Here is a downsampled input image I converted to greyscale. To select the rectangular region of interest we first preform preprocessing: ...
26
votes
5answers
937 views

Voronoi diagrams for generators other than points

Any suggestions how to determine Voronoi diagram for sites other than points, as e.g. in the picture below? Input is a raster image.
10
votes
1answer
284 views

Precise cropping with ImageCrop

The built-in ImageCrop function "effectively removes borders from image whose pixel value distribution is almost uniform" (emphasis mine). I need an efficient ...