Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

161 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
216 views

Comparison of Discrete Cosine Transform and Discrete Wavelet Transform

I would like to compare the sorted coefficients of the Discrete Cosine Transform with that of the Discrete Wavelet Transform using the Haar wavelets. From theory, the discrete wavelet transform offers ...
1
vote
0answers
208 views

Rectangular object boundary detection

I would like to find the boundaries of an object: I have looked that the YOLO algorithm but it looks like the results cut off parts of the object a lot. What kind of algorithm can I use to achieve ...
1
vote
0answers
220 views

Tracking particles with ImageFeatureTrack

I am currently trying to track little dots in a series of the following images: However, some of the dots disappear and reappear all the time. As soon as a dot is not linked by ...
1
vote
0answers
105 views

Improve efficiency of RegionMember with huge number of points

I have two huge tables with 7241 and 1469620 rows (700KB, 141MB) ...
1
vote
0answers
43 views

Binary Image Size after import

I have a lot of binary images I would like to import into mathematica. Each of them is 132kB (1024x1024) big. Like the following: As soon as I import it into Mathematica however and call ByteCount[...
1
vote
0answers
332 views

Apply a four-point transform crop to an image

I am attempting to straighten and crop an image by using Edge Detection. The original image looks like this. By using edge detection and finding the max and min values for the points regarding the ...
1
vote
0answers
91 views

CurrentImage crashing Mathematica kernel

Frequently, but not always, when I start up Mma and then evaluate CurrentImage[] I get a light blue box with the content ...
1
vote
0answers
159 views

What's the most efficient way to batch-import, batch-process and batch-export images?

I am trying to process hundreds of images in the same way and export them automatically one by one. Right now, I only have the image processing code for one image, and I want to learn what is the most ...
1
vote
0answers
112 views

Calculate SIFT features at specific image positions

Is it possible to use ImageKeypoints[...] to calculate SIFT feature vectors at specific image coordinates?
1
vote
0answers
203 views

Make Person Curve from a Picture

I recently read this; http://blog.wolfram.com/2013/05/17/making-formulas-for-everything-from-pi-to-the-pink-panther-to-sir-isaac-newton/ In this post, newton curve is made by using the image "...
1
vote
0answers
142 views

How to homogenize the brightness in a photomicrograph image

I have a good image about my sample: But as you see,there is a problem in this picture that is the illumination is not balance. How to use Mathematica to improve it?
1
vote
0answers
186 views

Does ComponentMeasurements and MorphologicalComponents label the components identically

MorphologicalComponents[image] returns array in which each pixel of image is replaced by an integer index representing the connected foreground image component in ...
1
vote
0answers
103 views

Detection of object in defocused microscope image

This image is taken with an microscope: Image adjustment: ImageAdjust[image, {1, 1, 0.4}] In the center one can see the edge of an defused approximately ...
1
vote
0answers
315 views

Difference of ImageHistogram and Histogram of gray scale image

I have a gray scale image showing noise and would like to plot the histogram. The image is: A. When I use ImageHistogram I get the histogram with: ...
1
vote
0answers
83 views

evaluate image disorder from FFT?

I have to find some estimates of the disorder in a hexagonal lattice, that is in microscopic images like this (disorderedhex.png): [ I wrote this to simulate these kind of images: ...
1
vote
0answers
68 views

PeronaMalikFilter for 3D image

Is there any other way to use PeronaMalikFilter for 3D images apart from using a loop to run through all the slices? What I tried to do ...
1
vote
0answers
95 views

Circularly multiplying a bitmap image

I would like to do the following: 1) Take an image inside a circle and a radius of the circle, and imagine that there are 2 copies of the radius like the handles of a Japanese fan fully opened to 360 ...
1
vote
0answers
331 views

Detecting lines of handwritten text

Additionaly to question Identifying and removing features from scanned handwriten text, I'm looking for procedure suggestion that will identify only the lines of text like from But problem is that ...
1
vote
0answers
150 views

Data analysis from multi pictures

I have a folder of multi images and all of them are treated in the same way. Now I can only import them one by one and plot data one by one.But I want to import them once a time and plot the data in ...
1
vote
0answers
78 views

Build basic Adobe Kuler-type construction: improving performance / speed

Adobe Kuler is a useful web tool to create colour palettes, but it is limited to 5 colours. I am trying to make a basic Kuler-type construction, but it is very slow, and crashes on my computer for > ...
1
vote
0answers
83 views

Fast Creation of Label Matrix for Use With ComponentMeasurements?

I am taking a lot of measurements from regions of interest in microscopy images and am finding that generating binary masks to use with ComponentMeasurements is rather slow (at least it's slow the way ...
1
vote
0answers
104 views

Is it possible to get as good inpainting as with RGB having only grayscale image?

The question derived from this post. According to the answer by nikie, for grayscale image with Method->"TextureSynthesis" we get much worse result than for RGB ...
1
vote
0answers
96 views

Speeding up ImageData[image,“Byte”]

For my image analysis I need the Byte values of many sequential 8bit PNG images. To obtain the Byte data I use: ...
1
vote
0answers
149 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 ...
1
vote
0answers
45 views

Using an arbitrary area bounded by lines for PDEs?

I have a set of lines I pulled from an image that make a closed loop, pretend it's a unit square for reference. Is there a way to use such an arbitrary region for solving PDEs, and is there a way to ...
1
vote
0answers
246 views

Extract peaks from image

EDIT: I've managed to solve the problem by using "Get Coordinates" on a couple of points and then figuring out the affine mapping by using the values they're supposed to be at, and applying that ...
1
vote
0answers
112 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 ...
1
vote
0answers
308 views

When using Classify[] on images, is preprocessing necessary?

If the images in the training data set have different sizes and channels and color spaces, will this hinder the classifier? The examples in the documentation seem to suggest that normalization with <...
1
vote
0answers
94 views

Import a web page with $\LaTeX$ code including images (png or other)

To be brief; I would like to import a web page, so I use Import["http://fabricebaudoin.wordpress.com/2012/10/25/lecture-32-the-malliavin-derivative/"]; which ...
1
vote
0answers
185 views

Understanding the use of GradientOrientationFilter to achieve a “brushed” effect

I'm trying to recreate in Javascript a piece of code that appeared here on Mathematica, specifically in this answer. The user Simon Woods suggested an amazingly efficient way of drawing lines over ...
0
votes
0answers
30 views

Setting the location of the origin within an image for AffineTransformation

This question is closely related to this one, but slightly different. I want to perform several AffineTransforms on an image (myImage). For example, here is a ...
0
votes
0answers
63 views

How to extract numerical data from plot images automatically?

how can we automatically extract numerical data from plot images in MMA (.dat or .csv file)? For the test image (two curves in one image), x=[0 40]; y=[0 1] if we use e.g. "getdata-graph-digitizer" ...
0
votes
0answers
44 views

MorphologicalTransform: What is the difference between EndPoints and SkeletonEndPoints?

What is the difference between the "EndPoints" and "SkeletonEndPoints" functions of ...
0
votes
0answers
32 views

How to run image manipulation function to an array of images?

I have multiple images imported into an array. My issue begins with using this array for an image manipulation function such as Inpaint. Inpaint only accepts a single image at a time. Here's how I ...
0
votes
0answers
65 views

How to get Binarize to ignore already set background

I have grayscale images which contain a clear foreground and background, which Binarize is easily able to split out. Then within the foreground, I want to binarize again, to find the area around the ...
0
votes
0answers
75 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
0
votes
0answers
50 views

Changing the origin of the coordinate system aligned on an image when using the ImageFowardTransformation function

When using the image transformation command ImageFowardTransformation[image, function] the pixels of the image you input are in cartesian coordinates that by ...
0
votes
1answer
142 views

Creating a numerical table of values and using an interpolation of them to transform pixels in an image by the ImageTransformation command

I am trying to carry out point "Implementing Map" on this paper Interstellar wormholes however I am using my own equations not those given (only the same method). I have generated a list of values ...
0
votes
0answers
115 views

Remove background image and redraw lines in black

I do not know if the title is correct. The image that I upload has liked me a lot because of the characteristic that no matter the angle it seems that it is looking at you, you could indicate me how ...
0
votes
0answers
52 views

Extract data (digitise) from graph with various line formats

I am attempting to extract the data points from the graph below: -axis titles and axis lines are removed for digitising simplicity- I have tried using a range of graph digtisers (i.e. datathief, ...
0
votes
0answers
59 views

Random points from an image using a BernoulliDistribution

I am a Mathematica newbie. I need to sample random points from an image which I have stored in a variable img as: ...
0
votes
0answers
57 views

Can Mathematica convert PDF into QR code too?

I recently learned that we can embed a whole PDF file into QR codes. But many online sites are not free for this service. Just wondering if Mathematica can do this? Note I don't want to convert the ...
0
votes
0answers
104 views

Improve SEM sharpness image

Hello Mathematica experts :) I have some SEM images of the nano-particles. However, the technician can not get better results. With Mathematica image treatment, could we improve to get higher ...
0
votes
0answers
247 views

How to perform local Fourier Transform of an image?

Consider an image (img) as A nice explanation of the Fourier transform of an image can be found here. However, I want to perform the Fourier transform locally. For ...
0
votes
0answers
95 views

Extract pixel value and positions to a txt

I have an image, for example img = Import["https://i.stack.imgur.com/fPZM7.jpg"] I would like to save in a text file the pixel positions and their values. At ...
0
votes
0answers
62 views

How to convert vector graph to equation?

I read post about convert bitmap to equation,but bitmap is not so accurate as vector graph, then I want to find a method for convert vector graph to equation. This is the examle pdf file.I already ...
0
votes
0answers
55 views

How to change the kernel size in a custom image filter?

consider a custom image filter as ...
0
votes
0answers
222 views

How to realize the contribution of each row in the Fourier Transform of an image?

Let me first show you what I have done so far. ...
0
votes
0answers
109 views

Vectorize the ticks labels of the legend of a histogram density plot

From a previous post Remove artifact of PDF images I am using the following function: ...
0
votes
0answers
88 views

Exporting a SmoothDensityHistogram[] to PDF gives a result with large file size

I have the following plot code ...