Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

1
vote
1answer
90 views

Rotating an image if the height is larger than width?

I would like to rotate an image if and only if, the aspect ratio of the image is > 1, else just print the original picture and afterwards use the data. My problem is that Mathematica writes ...
4
votes
2answers
174 views

Image transformation to break up connected components

I have a picture of a bunch of sphere, and I want to calculate the centroid of each sphere on the plane and generate the Voronoi diagram for it. But (1) In the picture the sphere are contacting each ...
21
votes
2answers
647 views

Convert binary voxel image to geometric region

I have a binary voxel image which described a contiguous region in space. Example: ...
4
votes
2answers
193 views

PixelValues along a straight Line [duplicate]

UPDATE to the question I have reformulated the question in order to make it distinct from the one suggested as a duplicate: "Line Intensity Profile From Image." The key difference is that I'm ...
2
votes
0answers
96 views

Tracking movement via ImageFeatureTracking doesn't work [closed]

I have a series of 37 b/w microscopy photos. The whole sample shifts slightly (by ~10 pixels) from photo to photo (systematic error). See an example photo here and download two photos pos4_0.dat and ...
3
votes
1answer
248 views

Circular crop: extract non rectangular parts of an image

I want to extract a part of an image. For example, let's start with something like the following image: I would like to apply some image processing to get this result: I have tried to ...
9
votes
4answers
221 views

How can I delineate the outline of a complex shape?

I have a picture of a lake as follows: And I want to delineate the outline of the lake. I binarized the picture and obtained img: ...
0
votes
0answers
44 views

In a list of Disk, how to efficiently delete Disk which are close to other Disk? [duplicate]

I want to draw pictrue like this: My code is: ...
4
votes
1answer
113 views

How to use the ButterworthFilterModel to processing image

In the book of "Digital_Image_Processing_3rd" point out this: the 4.57a,4.57b,4.57c is like follow: So I do it according to the direction to: ...
10
votes
1answer
511 views

How to create a 3D model based on MRI cross-sections?

Recently, I stumbled upon the following surreal MRI-scan of broccoli: and ever since the moment that I saw this I've been wondering whether it is possible to recreate the broccoli based on ...
9
votes
3answers
228 views

How to convert the binarize-picture to a Region

The Region of Mathematica is nice,and is the new conception of version 10.0.I can convenient get ...
16
votes
2answers
1k views

How to automatically remove text from images?

I'd like to remove the text in the center of images automatically. To use Inpaint[], you need a mask, but I don't have one. So really the problem is: How to build ...
4
votes
1answer
92 views

Fill a Circle in an Image

Let's suppose I have something like this (the image resulting from this): ColorNegate[Rasterize[Graphics[Circle[{100, 100}, 50]]]] Now, what I want to do is fill ...
11
votes
1answer
301 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?
13
votes
1answer
656 views

Can I OCR Mathematica code on an image?

There's no doubt that one should always post the Mathematica code text rather than its screenshot when asking questions in this site, but every time I saw someone posting a screenshot, I can't help ...
2
votes
1answer
243 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 ...
2
votes
2answers
127 views

How to count the grid in the picture

I want to count how many grids in colunm and row,I know the answer is 38*11,But how can I use mma to count it?It confusion me ...
7
votes
1answer
175 views

Detect buildings in cadastral map as polygons

I have this topological cadastral map, and others: It can be imported into Mathematica using img = Import["http://i.stack.imgur.com/3udXJ.jpg"] I want to ...
5
votes
1answer
87 views

How to ImageIdentify multiple objects in a single image?

Suppose an image has multiple objects: ImageIdentify only finds the banana: ...
0
votes
1answer
89 views

Optimization of a voxel projection function

I implemented a function to check if a voxel (3D pixel) is well projected on the space of a image (black and white silhouette) through a perspective camera. The function does the work but It need more ...
7
votes
1answer
107 views

HighlightImage speed?

I am doing a study into image processing and motion detection. I am using various filters (ImageDifference, HighpassFilter, ...
6
votes
1answer
563 views

Angle between two areas of an image of a 2D FFT

I'm trying to obtain the angle between the red line and the area surrounded by the red circle, related to the middle of the image. Usually the area surrounded by the red circle is lighter than the ...
5
votes
1answer
122 views

Log transformation (in dimensions) of an image

Is there an easy way to do a log-transformation of an image? I'm not taking about the colours, but the geometry. The difficulty is to extrapolate pixels and round-offs. For example, an white image ...
4
votes
1answer
101 views

Rotate imported images which are inset into a Graphics container and then overlapped?

The methods given as answers to this question do not seem to work here. I suspect it is because of my use of Inset function. Consider two .png images hand1 and ...
9
votes
0answers
207 views

Image Processing: Car front detection

Background Image processing can be applied to car license plate detection problems see Wikipedia, segmenting numbers, belisarius's old answer. Also, on this site once can use some techniques ...
6
votes
1answer
133 views

Strategy to build efficiently an image using parts of many images

I have about 1000 images of 1000px $\times$ 1000px and a list which contains the coordinates of the pixels to select, for each of the 1000 images. Each pixel is used once, so the final image is a full ...
7
votes
2answers
296 views

How can this resampling code be made faster?

Suppose I have a matrix: sbt = RandomInteger[{0, 2^16 - 1}, {5202, 3465}]; It represents an image and I would like to do "pixel binning" on it, where I take ...
5
votes
1answer
228 views

Adjacency matrix from image file of plane map

I have image files (PNG format) of plane maps of regions delimited by black borders I would like Mathematica to compute the associated adjacency matrix for the contiguous regions in these maps. ...
1
vote
0answers
42 views

How to avoid “Quit[]” to execute notebook multiple times [duplicate]

I am using a program to binarize several images and then adding all the images together using "ImageAdd" to get one image. This image is required for further analysis of the images. The program ...
1
vote
1answer
87 views

Remove color artifacts in overlay of several Graphics objects?

I am trying to create an animation with a graphic of an arm that can bend at the elbow. For this purpose I created the following two images: hand1 and hand2. I load the images with ...
8
votes
1answer
84 views

ImageAdjust Documentation issues

A recent thread raised several concerns regarding the Documentation page for ImageAdjust. The first issue is related to the first statement under the ...
2
votes
0answers
74 views

Detecting discontinuities in derivatives in images [closed]

Considering an grey-scale image as a function $z=f(x,y)$. (Specifically, I'm interested in $f=h*h*...*h$, where $h$ is the indicator function of a regular hexagon.) I am interested in finding places ...
14
votes
2answers
674 views

How to detect loops in a vector field?

Given a vector field and I'd like to detect if there are streamlines in closed patterns. For example, if the input is a vector field like this: ...
7
votes
3answers
360 views

Coloured image transformation in pointillism

I would like to transform an image (a photo for example) into a set of single colour circles with fixed but adjustable diameter (bigger than the pixel size), into a kind of pointillism. The number of ...
6
votes
3answers
144 views

Which values did ImageAdjust choose?

I have a picture obtained from a camera in an experiment. It's a .dat file, contains only numbers. I can re-create the image by importing it as data and using the ...
3
votes
3answers
169 views

Coloring image components according to their area

I have a rasterized image img that is created by this code: ...
1
vote
0answers
64 views

Create set of data from vector curve [closed]

I need exactly what is written in the title. Suppose we have some curve plotted: p = Plot[Sin[x],{x,0,2pi}] now we save that as vector graphics: ...
5
votes
1answer
200 views

Image analysis: Gravel Sieve

In this link: http://broadwaysand.com/?page_id=165, you can find different gravel pictures. A quarter dollar coin gives the scale, because its diameter is 0.955 inches (24.26 mm) I want to get the ...
6
votes
1answer
282 views

How to calculate the mean of images?

In practice, subtracting the mean image from a dataset significantly improves classification accuracies. I thought there would be a ImageMean[] function but can't ...
18
votes
2answers
1k views

Scraping High-Res images from the MoMA and the Van Gogh Museum websites

Many art websites allow the user to zoom into an image to see it at high resolution by using image tiles. It is great on the website, but presents problems if one wishes to compile a complete high ...
2
votes
0answers
83 views

How to do text recognition in a language that doesn't use the roman alphabet [closed]

I am trying to reconize a single letter or character from a non-roman character set by edge detection. I want to extract single characters from a text image. When I identify that letter or character I ...
3
votes
2answers
249 views

How can I capture a rectangular area from an image?

I am looking for a method to extract rectangular areas from an image. The image is divided up into rectangular problem spaces like the image shown below. Each numbered problem is given with some text ...
4
votes
1answer
234 views

How to transform an image into a probability density function?

I'd like to use the Metropolis algorithm to randomly generate points with density according to the brightness of an image. I just need to transform a binary image into a pdf function to use this ...
7
votes
1answer
214 views

Smoothen the curve found by EdgeDetect

It seems that curves found by EdgeDetect always persist $C^{0}$ continuity only. Consider the following example: ...
6
votes
1answer
234 views

Calculate dual graph of planar Graphics map

This diagram from a Wikipedia article illustrates what I hope to accomplish in Mathematica: I have a planar map in Graphics format. Here are two very simple ...
2
votes
1answer
92 views

ColorReplace does not work

I want to do - seemingly - simply image processing. I want to replace all blue pixels with white pixels. The obvious command would be: ...
8
votes
1answer
267 views

How to make a Nebulabrot?

A Nebulabrot is a generalization of the Buddhabrot, a fractal rendering technique related to the Mandelbrot set that sort of looks like a meditating buddha. The Buddhabrot rendering technique was ...
1
vote
0answers
82 views

How to segment letters and text blobs?

This new article from Google research describes how their Translate app preprocesses an image on a phone before applying convnets: It needs to weed out background objects like trees or cars, and ...
4
votes
0answers
114 views

Tracking features where ImageFeatureTrack finds none?

How is it possible to track common features in the following sequence of images (e.g. holes or corner points along the top margin), ? I have had no luck with ...
1
vote
1answer
200 views

How to increase the thickness of the edge in a random image

This is a Voronoi Diagram. I really want to know how to change the thickness of the "wall" of each V-cell, in another words, the thickness of the edge in this diagram.