Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
35
votes
4answers
3k 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. ...
33
votes
4answers
3k views

Clustering of space-time data

Below is an example of a gaze sequence I recorded during a 3 seconds display. That is, where the eye was at every millisecond. While we should have 3000 points, we are missing some due to blinking. ...
27
votes
1answer
4k views

Vectorizing an image like “Trace Bitmap” in Inkscape

Lately, we had a nice question about artistic image vectorization which got very nice answers. As Szabolcs pointed out himself Since "true" vectorization performed by various specialized software ...
16
votes
6answers
3k views

How to find major color in a picture?

I want to find the major color (the color which appears most often) in a picture and do some analysis later. For example, if I have this picture: What I want to do is find out that gray, red, black, ...
14
votes
1answer
2k views

Enlarge an image and increase its resolution

An ongoing purely recreational project. I got my introduction to image processing with this Rotating perspective... question and had a lot of fun with it. Now I want to take it to the next step. ...
12
votes
4answers
5k views

How do I find the coordinates of points in this image?

I have never used image processing with Mathematica. I need to get the coordinates of the red points from this image I made in Illustrator. Is there a way to get Mathematica to read or detect the x-...
28
votes
2answers
1k views

Counting radial ridges on an image

After happily using the v9 image assistant to crop elliptically an image, and then the drawing tools to put a white disk in the middle, I turned this image: into the following one: that can be ...
27
votes
3answers
2k views

Improve TextRecognize[] on numbers

I have an image contain only numbers, and TextRecognize fail to recognize some numbers: img=; TextRecognize[img] (*826718*) The documentation says that "The ...
23
votes
3answers
3k views

Data fitting with Image processing feature detection

I have some 2D data that once plotted looks like the following ...
18
votes
2answers
4k views

How to convert an image to a graph and get the positions of the edges?

I am trying to convert an image to a graph. My image is already skeletonized and looks pretty much like this: What I need to do is identify all vertices and edges, and in particular get a list of ...
10
votes
2answers
775 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 ...
23
votes
3answers
2k views

Detecting X or O in a small image

I am making a robot that plays Tic Tac Toe Currently, I have code that will parse the board and separate it into an array of 9 images, each space on the board. How can I detect if the image contains ...
19
votes
1answer
3k views

How to map an image to get an illusion of 3D

I would like to distort or map a given JPEG so that it looks 3D when viewed from certain angle, as in this YouTube video. The most interesting part of the video: I usually use conformal mapping (a ...
5
votes
2answers
3k 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 ...
23
votes
3answers
2k views

Download xkcd Click and Drag comic

Inspired by the recent question about xkcd styled plots I started looking at xkcd again and I came across a comic titled Click and Drag. And if you do that, you start exploring a larger drawing. A ...
21
votes
2answers
6k views

How to remap a fisheye image?

I want to flatten a series of fisheye images by remapping them to a rectinlinear projection. To achieve this, I need to be able to remap the pixels of the image using fisheye correction formulas for ...
20
votes
3answers
3k views

Finding the centroid of a disk in an image

I got about 100 images of the sun and have to find the centre of the star in the images. I have binarized the images and used ComponentMeasurementsto find the ...
20
votes
3answers
4k views

Filtering pixels of a certain color

What is the best way to filter an image so that only the pixels close to a certain color are left? I've downloaded some satellite images from the web where a specific pixel color corresponds to a ...
18
votes
2answers
1k 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 really ...
16
votes
4answers
1k views

How to get cell boundaries in the image?

I have a microscope image of some animal tissue and wish to get the contours for all the cells that are present in the image. the cells are connected to the neighbouring cells via these contours. At ...
13
votes
2answers
3k views

Application of the projection matrix: Removing perspective distortion

I know that there are many posts about image treatment, but I still have trouble with this little challegene. Baisically I want to remove the perspective distorsion form this image: (source: http://...
11
votes
2answers
2k views

Recognizing integers in an image

This is the picture I want Mathematica to read I want Mathematica to recognize these numbers and put them in a list. I know that there is a function TextRecognize, ...
21
votes
2answers
1k views

Is there a Mathematica barcode reader?

Is there a Mathematica barcode image reader (much like TextRecognize) that allows the user to enter an image of a barcode and then read it to get an output string?
14
votes
3answers
5k views

Nontrivial background removal

I have an image of a product on a poorly made green screen and need to segment out just the product: The problem is that it contains a mirror, so simple color-based methods are not enough. I tried ...
11
votes
3answers
1k views

Noise filtering in images with PCA

I have a stack of images (usually ca 100) of the same sample. The images have intrinsic variation of the sample, which is my signal, and a lot of statistical noise. I did a principal components ...
6
votes
1answer
356 views

APIFunction on Images

Would someone example why my hello-world example is not working: ...
13
votes
1answer
476 views

Use TextRecognize to grab timestamps from a video frame

I have microscope videos that have a timestamp overlay to them, and it would be great if I could extract this for each frame to add to my metadata. TextRecognize ...
12
votes
2answers
560 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 ...
10
votes
5answers
674 views

How to align rotated images vertically

I have recorded images of a calibration target which I use to determine the resolution of a camera. For that I measure the distance of the parallel bright bars by measuring the brightness variation ...
7
votes
2answers
3k views

Calculation of 2D FFT for an image

I am trying to obtain 2D FFT of an image. From the 2D FFT, I wish to calculate the amplitude of the FFT averaged over a circle vs the distance in pixels by varying the radius of the pixels which is ...
23
votes
2answers
1k views

How to retrieve the parameters calculated and used by ImageAdjust?

When ImageAdjust is called with an image, i.e. with one parameter, it returns an automatically adjusted Image. I would like to ...
10
votes
1answer
527 views

How to patch fingerprint ridges

I get a fingerprint: But as you see,there are some place is discontinuous,such as: The question is how to patch the discontinuous line according its gradient?The only one thing that I can think it ...
9
votes
2answers
639 views

Apply ColorFunction to an Image [duplicate]

is there a faster way to change the colors of an image from grayscale to something like this: ...
8
votes
1answer
792 views

Counting elements which are inside another element on a different colour channel

I have a 3-channel image which shows red and green points (certain labelled proteins) inside blue regions (cell nuclei). After applying some segmentation filters, the resulting image is as follows: ...
5
votes
1answer
1k views

Challenge: deblurring images [duplicate]

My friend came back from holidays, where he took lots of pictures. Unfortunately, the camera was set on manual focus and most pictures are blurry. It got me thinking that mathematica showed how to ...
5
votes
2answers
1k 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 ...
14
votes
1answer
521 views

Computing the dual Radon transform and its inverse

The Radon transform maps a function $f$ on points in $\mathbb R^2$ to a function $Rf$ on lines in $\mathbb R^2$, given by $$Rf(\xi) = \int_{\mathbf x\in\xi} f(\mathbf x)\,\|\mathrm d\mathbf x\|.$$ ...
14
votes
2answers
434 views

How to retouch (smart fill) photo image?

Can the program proposed by Alexei Boulbitch at the post of Custom arrow shaft be adapted to retouch an image in setting a mask arround the part one desires to disapear? This is only a suggestion, ...
14
votes
2answers
941 views

Fitting a curve to an image object: not a superellipse, not an egg curve.. what else?

I'm facing the problem of quantifying the morphology of objects with such a shape (nannoconids... they are fossils). One of the final goals is to produce a solid of revolution and compute volume/...
12
votes
2answers
3k views

Overlapping accurately Images and Graphics (without loss of resolution)

Context In a previous post, I learned how to produce these kind of plots, which are of interest in astrophysics and geophysics. I am now interested in combining them. Attempt For this purpose, @...
12
votes
2answers
1k views

Object detection in a low contrast image

I have a small dark object in the upper left corner of an image. How can I separate it from the noisy rest and determine its ...
10
votes
2answers
766 views

How can I properly Partition “IntensityData” output from “ComponentMeasurements”? (Recovering the (x, y) dimensions of a rect. morph. component?)

When I ask ComponentMeasurements to return "IntensityData" for some set of rectangular morphological components: ...
6
votes
1answer
366 views

Trace one point's coordinate values in sequentially images

I am a research student in a university. I think I need some help. I used a video camera to monitor the vibration of a plank. Then I should calculate the amplitude and frequency of the vibration ...
5
votes
3answers
1k views

How do I plot a filled cylinder in 3D?

All, I'm trying to plot a filled cylinder in 3D using Graphics3D and then take 2D slices of said cylinder. I know that Cylinder is officially 'filled', but the 2D ...
4
votes
1answer
2k 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 ...
2
votes
1answer
442 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 ...
1
vote
3answers
691 views

Derive a smooth circle with cusp from an image

question 1 get the center (sample data) sample is the black circle with cusp. ...
10
votes
2answers
286 views

Is it possible to extract edges shared between two labeled objects?

For the past couple of weeks I have been trying to implement a cell-tracking and lineage mapping algorithm using which biological cells can be tracked in a time-lapse image. The code can be found at ...
8
votes
2answers
2k views

Exporting images as .avi

Here's a list of images: images = Table[ExampleData[i], {i, ExampleData["TestImage"]}]; And according to the reference "Export exports a list of graphics, images,...
7
votes
3answers
1k views

Color Transfer from colored image into grayscale image

At first I did this where image is a grayscale image and example is a colored image ...

1 2 3 4 5 8