Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms

47
votes
3answers
1k views
+100

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? ...
3
votes
0answers
56 views

How to extract the transformation rules used/identified by ImageAlign?

Imagine that I have a real life video, with all the artefacts coming from real life, and also from video compression, etc, and that I can edit this video, with filters and cropping, in such a way that ...
2
votes
3answers
229 views

Calculate pixel intensity in two regions

I am just beginning to learn about image processing. I would like to know 1) How to show an original image with a visible mask of an arbitrary shape? 2) how to calculate the pixel intensities in the ...
3
votes
2answers
39 views

Undesired resizing with ImageMultiply and Masking

I want to systematically measure image intensity around each of the points in this 256x256 image. i0: I already have centroid locating code to figure out the centers of each of these points. To ...
7
votes
3answers
203 views
+50

Is there any faster implementation of DominantColors?

The function DominantColors is a simple function but runs incredibly slow when the number n of dominant colors to find is large - it is currently the biggest bottleneck in my code: ...
1
vote
1answer
54 views

Package for symbolic computation of christoffel symbols and parallel transports in Riemannian geometry, given the metric

I've no knowledge in mathematica (but I do in matlab), but I'd really appreciate if someone could mention what is/are the best and easy to learn mathematica package(s) for symbolic and numerical ...
11
votes
2answers
263 views

Analyze touching particles with holes in a microscopic image

I am looking for an easy method to count individual particles in a microscopic image. It is quite difficult for Mathematica to detect them, because they are touching each other. I am quite a beginner ...
2
votes
1answer
77 views

Efficient way to perform local Otsu thresholding on image

I have images of cell nuclei that have locally varying intensity distributions. Therefore, I need a robust local threshold algorithm. LocalAdaptiveBinarize works ...
3
votes
0answers
63 views

Help with Fourier analysis and filtering of an image

I am starting with the following image: For the curious, it is an STM scanned image of graphite. I am hoping to find some kind of periodic structure in the image related to the honeycomb structure ...
1
vote
0answers
41 views

Removing gutter shadows from scanned pages

I am new to image processing, and I was hoping someone might set me in the right direction. I am trying to create a simple toolkit for personal use for digitizing scanned book images into a database. ...
8
votes
1answer
110 views

Reconstruction of interrupted paths in images

I want to reconstruct paths in images and have already implemented a working method in Mathematica. On the left side you can see an image with interrupted paths and on the right side the reconstructed ...
0
votes
0answers
22 views

How can I find all stationary points? i.e Something like MinDetect but for saddle points (that applies to data arrays of arbitrary rank)

I would like to find all stationary points of a data set of arbitrary rank. MinDetect and MaxDetect are great for finding minima and maxima but I can't find a good way of finding the saddle points. ...
17
votes
1answer
238 views

Generating animations of clouds with Mathematica

I'd like to generate some visually-pleasing animations of clouds, fog or smoke with Mathematica. My idea of "visually-pleasing" is along the lines of one of the images on the Wikipedia article for ...
0
votes
0answers
35 views

Something like MinDetect but for saddle points [duplicate]

MinDetect will find all minima in an array of data of any rank. Is there something similar for finding all stationary points? i.e Given an array of data, find all minima, maxima, and saddle points of ...
1
vote
0answers
41 views

Raster image to a waveform, for audio adjustments, as image effects? [closed]

How can a normal (raster) image: Image["URL"] Be converted in the Wolfram Language to a waveform, for example in greyscale, being the sum of all the harmonics in ...
8
votes
4answers
124 views

ImageApply Performance Difference

How come the timing difference between these calls is so big? (0.2 and 39 seconds on my computer) ImageApply[q3, img] ImageApply[q3[#] &, img] Where ...
69
votes
8answers
13k 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): ...
16
votes
1answer
589 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 ...
38
votes
7answers
2k views

Character edge finding

The following line of code finds the edge of a character: ...
42
votes
5answers
6k views

How to ask Mathematica to imitate Andy Warhol's pop-art painting?

I tried to ask Mathematica to imitate Andy Warhol, let it convert a Marilyn Monroe's portrait so that it looks like Warhol's world famous pop-art painting. However, the result shown below is far from ...
3
votes
1answer
242 views

How can I create a colour image using raw black and white data? (FITS data cube)

I have a data cube containing pictures of a galaxy across a thousand wavelengths. I want to take the data for the image slides in the red and blue parts of the spectrum, and have them represented in ...
4
votes
1answer
75 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 ...
0
votes
2answers
49 views

Help in evidencing a region (circular) of a .tiff image and cropping all the rest of the image

I'm asking for the community help since I have problems in cropping an image. I'm having LEED images which are 576*720p, which are made by a big black region at which middle I have the image I'm ...
3
votes
2answers
219 views

How to remove border points from InputForm?

I have this code, and it generates the below ListStreamPlot. The second graph is the ListStreamPlot overlaid with the points ...
4
votes
3answers
141 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 ...
1
vote
0answers
169 views

What is the Missing code in this Wolfram Blog article? [closed]

Here's a very cool Wolfram Blog Article with incomplete code, that can apply the Droste Effect to an image is various interesting ways. Copying this code, in the journal doesn't provide a working ...
5
votes
1answer
154 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 ...
1
vote
1answer
111 views

How to make a smooth electronic signature?

I have scanned a signature and that looks like this I want to smooth it. I saw this post where they do this using Photoshop or GIMP. I tried to replicate that in Mathematica so I can automatize ...
4
votes
0answers
76 views

What is the exhaustive list of categories and properties that ImageIdentify can output?

I'm looking for a complete list of ImageIdentify's outputs. I'm seeing entities like the one below, so I'm wondering what all possible classes are if they have ...
1
vote
1answer
83 views

interactively replace pixel value

I am trying to develop an "Eraser" tool for imagery as is available in other image editing programs so I can interactively clean up minor defects in imagery by simply mousing over them to set them to ...
13
votes
1answer
215 views

Segmentation of sunspots

I recently went for a walk with my camera and snapped a few pictures of the sun. The pictures didn't turn out too well, but this was to be expected without a telescope. I thought it might be a nice ...
2
votes
2answers
697 views

How do I find the average color of an image?

It sounds so simple to do, but the best solution I've found so far is by using the MeanFilter function, which isn't really feasible on large images. Can anyone help ...
7
votes
0answers
99 views

Efficient image stacking

I have a list of lists of images that I would like to stack and create mean images for each list of images. Images are .jpg files 2592x1944 pixels large. Each list ...
12
votes
1answer
148 views

Why does cropping an image improve TextRecognize so much?

I am trying to use the TextRecognize function to extract data from certain screenshots. This is already a cropped version. Using TextRecognize on this yields ...
63
votes
3answers
6k 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 ...
14
votes
1answer
238 views

Extracting road curves from an image

I have taken several gps readings while driving around town. ...
0
votes
0answers
76 views

How could I add the WorldMap skin to this parametricPlot3d?

How could I stamp the worldmap inthis sphere of variable radius? I´m interested in the meridian of greenwich (longitude=length=0 Degree) is in the position of the longitude=length=0ºDegree of the ...
0
votes
1answer
68 views

MagiQuest Wand Identifier

My kids recently played MagiQuest, a game wherein people run around with "magic wands" that shoot out infrared light into sensors that activate different portions of the game. Each wand shoots out a ...
1
vote
0answers
74 views

Cell counting from an image file [closed]

I have a lot of cell culturing pictures. One of the example is as follows: Every black dot represents a cell, and I need to count only the cells on the image. I have a code to detect and count the ...
13
votes
2answers
198 views

Align stars in multiple images

I hope that you find this question interesting and that this will help others with similar problems as this configuration is not so particular. My problem I have multiple images of a particular ...
14
votes
2answers
359 views

White balance correction with Mathematica

Does Mathematica include a function to correct the white balance of an image? ImageAdjust would seem to be the first go-to choice, but I haven't found a way to ...
0
votes
0answers
50 views

Constantly rotating 3d contour plot (ideally as a .gif) [duplicate]

I came across a neat image for a graph, and I wanted to reproduce this as a .gif using Mathematica (I have the 9th home ...
2
votes
1answer
155 views

Image processing for extracting regions of book pages that are covered by text

Is it possible to apply Mathematica's image processing capabilities for extracting regions of book pages that are covered by text, e.g. by a combination of blurring and binarizing, or better? Also the ...
6
votes
4answers
543 views

Combining 2D slices into a 3D plot

I am currently trying to combine several 2D plots into one big 3D plot. The 2D-plots are simply input-results from calculations (so these things have 2D coördinates (x,y)). The results depend on an ...
4
votes
1answer
72 views

How to keep the non-overlapping parts when aligning images?

I would like to stitch together a pair of images. For example: ...
3
votes
3answers
187 views

Inconsistent image sizing with Grid and Row?

Can anyone explain why Row and Grid don't size the image correctly and consistently to 300 ...
5
votes
4answers
156 views

Coloring an image with two Color schemes based on a Range

I would like to color an image generated from some data using two colorschemes based on two ranges of the data. This is my attempt. ...
2
votes
1answer
54 views

How to save a bounding box on an image?

It's easy to save the coordinates of individual points, but for the life of me I can't seem to access the box's position and dimensions: {top, left, width, height}. How can I achieve this?
2
votes
2answers
131 views

Generating b/w bitmaps from a binary sequence

I would like to make a bitmap that visually represents a binary sequence, something like this: Where for example the 1's become a black pixel and the 0's a white one. I have never done something ...