Questions on the image processing capabilities implemented in Mathematica.
25
votes
2answers
728 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 ...
6
votes
2answers
245 views
How do I transform a rasterized graphic's coordinates back to its original ListPlot data coordinates?
From this question I successfully made an elliptical fit for my data.
However, when I try and collect the datapoints within the ellipse via this question the coordinates of my ellipse correspond to an ...
8
votes
4answers
467 views
Reproducing Image Patterns with Mathematica
Surfing on the net I stared at this pattern. It´s a bamboo steam, and it´s awesome. I'm new to Mathematica so I'm a little lost, I'd like to try to reproduce this pattern, of course in a very ...
3
votes
2answers
128 views
How to create an ImagePartition type-of-function that generates parts of different sizes
Background: I partition images to polygons ( squares ) and color them with VertexColors. I want to use a minimal number of polygons while still showing a clear resemblance of the original image. - ...
11
votes
2answers
682 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 ...
1
vote
0answers
243 views
non-linear trend reduction using thresholds
Doing some mappings of the earth magnetic field results in the left-hand figure below (which consists of 181 profiles):
To improve this I tried a non-linear trend reduction using, for example,
...
10
votes
2answers
526 views
Image Processing: Isolating areas of an image with internal irregularity
I am trying to isolate each of the blue painted fingernails in the image. However, I am not sure what approach should be considered due to the white design on each nail interrupting the otherwise ...
41
votes
5answers
5k views
How to create hedcut style images?
Yesterday the hedcut style was brought up in chat. How can we create a hedcut-like style automatically in Mathematica, using a photograph as a starting point?
I am looking to create a similar ...
5
votes
3answers
185 views
Is it possible to snip a certain number of pixels from a specified side of an image, without specifying the image's final width and height?
It seems that ImageCrop allows one to specify the final size of the image. For example, ImageCrop[image, size, spec] crops ...
24
votes
5answers
707 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 ...
6
votes
2answers
276 views
How do I display imported images at actual size?
I know that this is an extremely basic question, but I am having a lot of trouble finding the answer in the documentation.
When I import an image (for example, ...
54
votes
8answers
2k 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" ...
16
votes
4answers
515 views
How to fill in an irregular border of an image
I have the following code which draws a graphic, and colors the regions in it different colors:
...
16
votes
3answers
625 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 ...
28
votes
2answers
4k views
Image Shadow Removal in Mathematica
The task is:
Image shadow removal is an important topic in image processing. If you feel curious about it, you may take a look here, or just google for it image shadow removal
There are also a ...
1
vote
1answer
150 views
How do I slice an image of size “width × height” in n² pieces of size “width / n × height / n”?
Background: What I want is to make a jigsaw from an image. (A simple one where the pieces are polygons.) I have the following strategy in mind. Create a set of polygons and assign images (or just the ...
1
vote
2answers
229 views
How can I enhance ImageCompose to blend multiple layers?
Blend modes (or Mixing modes) in digital image editing are used to determine how two layers are blended into each other. Version 8 has functionality to perform binary and basic alpha blending but ...
1
vote
2answers
114 views
How can I crop manipulator from a plot
I wanted to know how can I crop a Manipulator from a plot. the code for plot is
...
19
votes
1answer
906 views
Is there a way to convert an image into a Graph?
I'm trying to convert an image with several overlapping dots into a Graph. The goal is to be able to derive the Kirchhoff matrix for the randomly created "network ...
7
votes
1answer
417 views
How to render a 3D tubular graphics from a 2D image path
Question: Is it possible to create a tubular 3D image like Extruding along a path
using "Tube" function in mathematica for following images?
Image (1)
Image (2)
Thanks
I have been ...
1
vote
0answers
138 views
How to estimate time series from a plot? [duplicate]
Possible Duplicate:
Recovering data points from an image
Suppose you have a colored plot of several time series (say, from a paper), but not the raw data. How would you estimate the series, ...
8
votes
1answer
752 views
Construct 3D image from multiple 2D images
My goal: How to (1) construct 3D image for visualization.
(2) how to write 3D array or image into binary raw file.
Is there a way to accomplish this in Mathematica?
Alternative_Answer for: ...
20
votes
3answers
757 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 ...
4
votes
1answer
330 views
Efficiently exporting many images as a video
I have many .gif images and I would like to export them as a single video file (I prefer .mov, but any video format is fine). But what if I have several tens of megabytes of .gif images? Is it ...
15
votes
2answers
610 views
Finding the area, algebraic curve and jaggedness of an arbitrary shape
I start with a photograph of a shape (physically made by the flow of a liquid into another), of which I can extract the border, manually or using Mathematica's feature detect feature :
Using the ...
18
votes
1answer
529 views
Rotating perspective of an image in the z axis
A purely recreational question, but one I hoped the community would find interesting enough to suggest a way to approach it.
Let me preface this question with the admission that I have done nothing ...
6
votes
1answer
253 views
Clustering adjacent points in 2D
I need to find all clusters of adjacent white points in a binary image. By term "adjacent" I mean that coordinates of two points differ by no more than 1 (i.e. the points ...
57
votes
4answers
4k 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?
...
6
votes
2answers
346 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, ...
8
votes
2answers
158 views
How to record the stream of data (PixelPosition) dynamically?
I need to trace the moving of an object and get the coordinates of such movement. The set of coordinates will be used for the subsequent evaluation and analysis.
I can easy get the current real-time ...
13
votes
3answers
792 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 ...
32
votes
3answers
848 views
Changing color of an object in an image
Consider the following image:
How can I change all red colors in this image into (for example) blue.
6
votes
1answer
343 views
Unsupervised Machine Learning Algorithm for Autonomous Image Processing and Tracking
I am trying to prototype a Mathematica application that will enable Autonomous Intruder & Anomalous Event Detection, Tracking and Alarm to web users those who want to autonomously and ...
16
votes
3answers
838 views
Data fitting with Image processing feature detection
I have some 2D data that once plotted looks like the following
...
5
votes
1answer
333 views
Computing the distance between two curves obtained from image data?
I've got some image data that I've binarized. The image contains two curves, from which I'd like to compute the distance between (eventually computing an average radius for each point in the ...
6
votes
3answers
300 views
What's the difference between EdgeDetect and MorphologicalPerimeter (for a white background)?
I am trying to understand the differences between EdgeDetect and MorphologicalPerimeter (while researching this other question). ...
13
votes
4answers
317 views
How to separate paths from the output of EdgeDetect?
I have been trying to find a way to separate the various closed paths that can be output by EdgeDetect. For example, taking the output of:
...
6
votes
2answers
360 views
How can I visualize features found in an image?
I am using Mathematica to explore the face detection feature of Core Image on Mac OS X Lion. To do this I have an Objective-C program which captures images from the iSight camera, runs face detection ...
42
votes
1answer
3k 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 ...
8
votes
3answers
874 views
Saving high-quality graphics through commands
Say I make and display a graph in a Mathematica notebook:
graph = CompleteGraph[100]
If I drag the corner of the graph to increase its size, and then save it to ...
25
votes
5answers
2k 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 ...
0
votes
1answer
239 views
How to reduce the memory necessary for the image? [duplicate]
Possible Duplicate:
Exporting graphics to PDF - huge file
I have a figure that is created to use in a paper. Here it is:
...
9
votes
1answer
371 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 ...
16
votes
1answer
584 views
Using ImageCapture to access a USB webcam in linux
Is it possible to access a USB webcam through Mathmatica on Linux? When I run
ImageCapture[]
I get the following output
...
22
votes
4answers
830 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.
...
14
votes
3answers
389 views
Selective blurring of areas of image to make seamless tiles
I'm trying to make seamless tiles - images that can be repeated on a grid without it being obvious where the joins are.
So far, I've followed the classic strategy of getting the edges working ...
10
votes
2answers
374 views
Adding controls for multiple functions in Manipulate
I am learning Mathematica and the Image Processing functions. I have the following Manipulate procedure which works fine:
...
13
votes
3answers
451 views
Measure a DensityHistogram[] pair similarity
I study human vision and more specifically eye-movements.
"If we display 2 symmetrical patterns (20 min one after the other), will our gaze distribution be symmetric is my research question."
The 2 ...
12
votes
4answers
499 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?
...
11
votes
2answers
479 views
Symmetrical image transformation for a kaleidoscope-type image
I've been trying to write a little kaleidoscope-type manipulate, using images rather than graphics, and using ImageTransformation as a way in. However, I'm starting ...

