# Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

365 questions
Filter by
Sorted by
Tagged with
12k views

### Recovering data points from an image

Unfortunately, some data can only be obtained in picture form (Japanese publications anyone?). Since this cannot be worked with, it has to be converted to a dataset that can; I was wondering whether ...
3k views

### Character edge finding

The following line of code finds the edge of a character: ...
43k views

### How to create a new “person curve”?

Wolfram|Alpha has a whole collection¹ of parametric curves that create images of famous people. To see them, enter WolframAlpha["person curve"] into a Mathematica ...
9k views

### How can I extract data points from a black and white image?

Consider the following graph (source): Is there any way to extract the data points from this image in a semi-automatic way? I have seen, and tried the methods suggested in this question, but they did ...
10k views

### Artistic image vectorization

The question is how can we use Mathematica to create vectorized versions of low-resolution images? The goal is to get an image suitable for quality printing at any resolution. Since "true" ...
2k 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 ...
5k views

### Torn edge paper effect for images

In my answers to Plotting Error Bars on a Log Scale I used a so called "torn edge" effect from on one of the images. @SjoerdC.deVries commented: "BTW I liked the ripped-out look of your InputForm ...
12k views

### How to find circular objects in an image?

How could I use morphological processing to find circular objects in an image? More specifically, I need to detect road signs. I need to get the "80 speed limit" sign from this image:
3k views

### How to extrude a 3D image from a binary 2D image

I'm trying to extrude a nice 3D form from the 2D binary image below using the code posted, but I haven't had any luck in figuring out the error that's keeping ...
11k views

### How to peel the labels from marmalade jars using Mathematica?

How can I detect and peel the label from the jar below (POV, cylinder radius, jar contents are all unknown) to get something like this, which is the original label before it was stuck on the jar?
6k views

### Detecting grid lines in a raster image

Motivation: Last October 7 there was a presidential election in Venezuela. Although the opposition saw an unprecedented increase in its votes, the government votes increased even more resulting in the ...
8k views

### The correct way to linearize colorspace before resizing, blurring etc

There was an interesting discussion on MathGroup dealing with the fact that image-processing functions in Mathematica (and many other software, including Adobe Photoshop) work with RGB, Grayscale etc. ...
4k views

### Identifying critical points/lines of 2/3D image/cubes

Upshot I am interested in identifying critical points of a 3D field/cubes (maxima, minima, tube-like and wall-like saddle points) and 2D field/image (maxima, minima, saddle points). I.e. the ...
5k views

### How to make a drop-shadow for a Graphics3D objects?

What's the best way to make a drop shadow for a 3D object? image = Graphics3D[Sphere[], Boxed -> False] I can get a blurry black outline of this: ...
17k views

### How to make an inkblot?

How to effectively create a polygon that looks like a realistic inkblot? So far, I could come up with this (borrowing from Ed Pegg Jr.'s Rorschach demonstration): ...
3k 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 ...
61k views

### QR Code in shopping cart handle

This week, the market people from my work wanted to put QR codes in shopping cart handles, but when they tested it, the QR code did not work. I noted that the cylindrical curvature (even small) ...
4k views

### Mollweide maps in Mathematica

Context In my field of research, many people use the following package: healpix (for Hierarchical Equal Area isoLatitude Pixelization) which has been ported to a few different languages (F90, C,C++, ...
2k views

### Create magnified call-out loupe effect on image

I'm trying to create a Mathematica Manipulate that generates a graphical call-out using a 'loupe'-style or magnifying glass enlarger - a possible solution is shown ...
559 views

### Using a given colour table with Image?

Context I would like to represent large images with a given colour table. Now, if I use Image ...
23k views

### Image processing: Floor plan - detecting rooms' borders (area) and room names' texts

Here is a simple building floor plan. I would like to derive the rooms as (rectangular) components and the names of the rooms. This is very common representation of building floor plans. The problem ...
18k views

### Calculate the 2D Fourier transform of an Image

I am new to Mathematica, and using version 8.0. I would like to calculate the 2D Fourier Transform of an Image with Mathematica and plot the magnitude and phase ...
2k views

### Count Elements in Image

I have the following image: img1 I'm trying to count al these colored cells and draw a circle around them. I really don't now how I can use SelectComponents for ...
1k views

### How to enhance a fuzzy image

First I am sorry if this question is duplicate. I am not familiar with image processing so I don't know how to search for answer. I have an images which were taken with good camera but the camera ...
3k views

### Find radii of concentric circles in image

I have an image of concentric circles, I would like to find the radii of the circles (only the innermost few are important). I've had a go using what I could find in previous posts, but am a bit ...
7k views

### Image Processing: Finding Orientation and Position of Symmetry Axes

Background I'm currently toying with Principles of Design by Charlotte Jirousek in order to learn some basics of image processing. As main principals she suggests Balance, Proportion, Rhythm, ...
444 views

### Deleting noisy data from a plot (manually) and export the best remaining data

I have the following temperature time-series. As you can see it contains very very noisy points in some periods (Fig.A). I tried to approach the best data(the black one in the center) based on the ...
583 views

### How to generate a Graph from a picture of a graph?

I have a picture like this I can get this graph's vertexes ...
2k views

### Reconstruct text pages cut by shredder

Q1: I have a page of a printed text file, but it was cut by a paper shredder (from top to bottom). You can download all the paper fragments here. Here are some of them. How can I reconstruct it? Q2: ...
7k views

### Measuring fractal dimension of natural objects from digital images

This is a useful topic. A college physics lab, medical diagnostics, urban growth, etc. - there is a lot of applications. On this site by Paul Bourke about Google Earth fractals we can get a high ...
11k 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 quite ...
2k views

### How to detect crosses and circles in 60x60 raster images?

I have hand-written 60 pixel times 60 pixel squares. I need to detect whether they are empty, x or circle. TextRecognize function fails. Is there some other function to process this kind of raster ...
4k 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 ...
2k views

### Can I get the curvature at any point of a random curve?

Random curve like the above, for example. The data source is an image file. I don't have an expression. I want to start by curve fitting and then compute curvature. Is it possible?
15k views

### Programmatic approach to HDR photography with Mathematica image processing functions

The High dynamic range imaging (HDR or HDRI) direction in photography and image processing became very popular recently. Besides obvious photo art applications (see examples), there are many great ...
3k views

### Remove image background of headshot in Mathematica?

For example, using ExampleData[{"TestImage", "Girl2"}]: what's a general way to make the background transparent? I've tried various combinations of ...
2k views

### Voronoi diagrams for generators other than points

Any suggestions on how to determine a Voronoi diagram for sites other than points, as e.g. in the picture below? The input is a raster image.
11k 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: ...
3k views

### How to extract metadata from an image of a business card?

I'm trying to digitize some documents, and I came across a very cool app called camscanner app which performs parallax transform and ocr very nicely, now I'm implementing it in mathematica... Given a ...
2k views

### May the Fourth be with you

Happy Star Wars day. I was playing around with the image manipulation functions in Mathematica in an attempt to recreate the Star Wars crawl. There's an HTML/CSS implementation which is in my ...
2k views

### Image correlation

I have two images from motor scan, Image1 is shifted by MxN pixels from Image2. How can I find the shift between Image1 and Image2 ? Image -1 Image -2 If we compare the shift between the images in ...
2k views

### What is the fastest way to locate an image inside a larger image?

let b = let c = How to do: find[c,b] that returns the bounding box of c in b? Notes ...
2k 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 ...
7k 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 scan....
882 views

### Precise cropping with ImageCrop

Bug introduced in 8 or earlier and persisting through 12.0 or later Reported to the support as [CASE:3968587]. Published on Wolfram Community. In the presence of alpha channel ...
2k views

### Creating an example of video image tracking

Note: Please see comments below @bobthechemist's answer for why question was edited. I've made a video of two teams playing soccer. Now I would like to translate each soccer-player to a (x,y) ...
2k views

### Copying an image from the clipboard, modifying it and returning it to the clipboard

I have a Mathematica script to help me copy images from PDFs and then make the (presumably white or nearly white) background transparent. Typically, I am looking at the PDF in Adobe Acrobat and I ...
520 views

### Smoothen the curve found by EdgeDetect

It seems that curves found by EdgeDetect always persist $C^{0}$ continuity only. Consider the following example: ...