Questions on the image processing capabilities implemented in Mathematica.

learn more… | top users | synonyms (2)

20
votes
2answers
2k views

How to remap a fisheye image?

I want to flatten a series of fisheye images by remapping them to a rectinlinear projection. To achieve this, I need to be able to remap the pixels of the image using fisheye correction formulas for ...
2
votes
2answers
85 views

How to copy Coordinates of “Get Coordinates” in Figure?

I am trying to reproduce the answer here about Recovering data points from an image. I click the figure and press "Get Coordinates". I would like to copy the four coordinates by CTRL-C and then paste ...
14
votes
1answer
455 views

How to use 2D Fourier analysis to clean the noise in an image

I have some other method to do this.But I desire to know how to use Fourier analysis to realize it. I found a base post about Fourier-analysis to use in Image-Processing--Calculate the 2D Fourier ...
16
votes
1answer
186 views

Interstellar Image Effects

I'd like to know how to create this type of gravitational lensing effect in an image (here are some star fields from the hubble) "I wrote down the equations and I tested them in Mathematica by ...
-1
votes
0answers
31 views

Image Processing : Detect wall from image for painting application [on hold]

I am new in image processing, I am working on a demo application for wall painter app. Can we detect wall from uploaded image of room or house to paint color on it ? Please help for the same I am zero ...
1
vote
1answer
47 views

Getting raw data using DcRaw

I'm using dcraw program to import raw image data to Mathematica. When I use Run["dcraw -4 -D -T "image.nef"] (which converts it to an unprocessed linear TIFF file) ...
10
votes
3answers
1k views

Make the moon's 3D gif

How do I make the following gif I tried: ...
9
votes
1answer
107 views

How can I use Mathematica to make a captcha image?

This was inspired by this post which is about the serious business of website deployment in the Wolfram Cloud, and interaction with Google's reCaptcha system. I started thinking of how to make those ...
3
votes
1answer
69 views

Problem with ComponentMeasurements and property “Centroid” [closed]

I am showing here three test images to investigate the output of ComponentMeasurements when using the property "Centroid". ...
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 ...
4
votes
1answer
166 views

How to apply by-hand image selection to different images

Mathematica supports image selections by hand, by utilizing the selection tool. I used it to extract relevant data (hundreds of little squares). Now I have a second image of same size, where I want to ...
3
votes
1answer
131 views

How to guarantee the point's position is fixed in the Graphics and Image

SeedRandom[8] plot = ParametricPlot[ Evaluate@BezierFunction[temPoint = RandomReal[{-50, 50}, {5, 2}]][ t], {t, 0, 1}, AxesOrigin -> {0, 0}] We can ...
17
votes
4answers
1k 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 in different colors: ...
13
votes
2answers
249 views

Fitting Stradivari's scroll

How can I find the simplest curve that gives me a scroll like this? This is where I am at the moment and doing it by hand is becoming more and more cumbersome. First, take a drawing of the scroll ...
7
votes
2answers
436 views

Remove object from the image

How to remove spider from "spider web"? there is good example in documentation center but how to make black marker of spider?
6
votes
0answers
100 views

Why does ImageFilter fail with radius 1, but works with radius 2?

Bug introduced in 9 and persists through 10.4.1 When thinking on a way to answer this question using ImageFilter I have found (with Jason B's help) that we can ...
5
votes
2answers
432 views

How can I make a blurred or gradient photo frame?

I would like to "frame" a photo with a rectangular blur or gradient. Here is an example from the web that was not made using Mathematica. (Of course, anything is possible; I suppose that this ...
1
vote
0answers
45 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 ...
2
votes
1answer
71 views

Find the area enclosed by a loop in an image (Contour in a plot)

Is there a way to simply compute the area enclosed by a line in an image, like this: Here's an example of what I mean by a few of the "enclosed regions" Solution 1 These sorts of images are ...
3
votes
2answers
198 views

Why is inpainting worse in grayscale than in RGB image?

img = Import /@ {"http://i.stack.imgur.com/klqh9.png", "http://i.stack.imgur.com/zCjXN.png"}; mask = Dilation[Binarize[First@img, {0, .15}], 2] Then we get ...
0
votes
0answers
85 views

Selecting morphological components of a 3D image

This is a follow up of a previous question : Selecting morphological components by clicking on them? I followed the answer provided by Dr. belisarius. It works fine for 2D images. However, I can't ...
1
vote
1answer
54 views

Extra Curves When Generating From Image

Using the method in this post I'm trying to generate a curve for this image: I've gone ahead and imported it and I'm using img=Binarize[img~Blur~3] to blur it a ...
3
votes
2answers
94 views

Randomly oriented ellipses in rows and columns

I should plot randomly oriented ellipses in rows and columns, at fixed nodes. Some rows should be grey, some black. Result should look like the following image (texture drawn by hand): I moved from ...
2
votes
2answers
70 views

Isolate black square in image

I have the image below and would like to isolate only the black square (on top of it are some brighter rings visible originating from an illumination lamp). How can that be done?
1
vote
2answers
7k 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 ...
0
votes
0answers
64 views

Transforming part of an image to a square

I'm trying to detect pieces on a photographed checkerboard. Determining the corners of each square works fine, but for each of those squares I'd like to generate an image from the original image and ...
1
vote
1answer
49 views

How to define the foreground and background of an image?

Consider the following image of a knee: By default the background of this image is the black regions on the left and right sides of the image. But is it possible to interactively define the ...
8
votes
2answers
122 views

How to apply GradientFilter locally to an image?

I have an MR image of a knee. I want to apply a gradient filter locally so that if I click on a pixel, for example, say on any part of the femur, I'll be able to choose a circular or rectangular ...
3
votes
1answer
47 views

Context-aware Locator

I'm trying to use a Locator for some image processing tasks. Unfortunately, the images we're using have a high dynamic range of low-frequency black and white ...
6
votes
2answers
209 views

How to count precisely proportion of some small pane in a electron microscope picture by it “Area”

The question is link this post.But It more hard than that I think.That time I count it by contrast,computer is good at it.But this time I wanna count the ...
1
vote
1answer
210 views

Histograms of gray scale images

I have a large set of subsequent 8bit gray scale png images (50 Hz). They show the noise of a CMOS camera, with the lens covered. A subset of 50 images is available here: https://goo.gl/Sa3P9P I ...
0
votes
0answers
30 views

how to import and split a single grayscale image in many small cells and obtain their position? [closed]

I have to analyse an entire image a single fraction at time, but i have no clue on how to do it, i am just a novice with mathematica. I imported the image with ...
3
votes
1answer
84 views

What kind of preprocessing does Mathematica do when I use EdgeDetect on an image?

I am doing my own implementation of Canny and Sobel in another language (not in Mathematica). I was testing the EdgeDetect method (Sobel and Canny), and my own, and ...
0
votes
0answers
45 views

Image assembly without sharp edges

I applied FourierDCT on an image by dividing it into 8*8 blocks. When I combine the blocks to together i obtain the image how can I smoothen the edges of each block? My entire code is ...
2
votes
0answers
38 views

How to use a picture to store some data [duplicate]

As we know.The values of the types is "Real" defaultly in Mathematica.In the Image documentation's detail we can see ...
0
votes
1answer
54 views

Is there any way to speed up this image manipulator?

This post is only a part of a broader analysis that I am performing on the image processing speed, but I think it's interesting in itself. I will post more in the next days. Now the problem is: I have ...
11
votes
1answer
213 views

How to restore an old photo?

I have an old image with scratches that I would like restored. Here is what I have so far: ...
14
votes
0answers
224 views

Find the Panda and the Cat - Dudolf puzzle

I recently find this puzzle where you have to find the panda from a group of snowmen. Having a horrible eyesight I have to take help of mathematica to find it. I start with assumption that all ...
0
votes
0answers
35 views

Image Classification Using Local Maxima and Gradients

I can get all the local maxima using MaxDetect. For example, I have taken the image of Lena and found the local maxima using ...
0
votes
0answers
27 views
42
votes
2answers
2k views

Generating stippled (Penrose-style) drawings of surfaces

In The Road to Reality there are plots of surfaces that use a variable density of dots to suggest curvature. You can see some examples here and here. I suppose they've been drawn by Penrose, but ...
3
votes
0answers
41 views

Overlay Inside a Grid/Column/Row Not Working

Here is a microscopy image of some cells I want to make measurements on with Mathematica: In order to make some measurements of cells in a microscopy image I have written a simple dynamic overlay ...
3
votes
1answer
101 views

Create a 3D face from the Shroud of Turin

There is an image of the Shroud of Turin: How to recreate Jesus's face from this image? And how to create a 3D face of Jesus Christ, by using the shroud of Turin? I tried: ImageAdjust @ ...
0
votes
1answer
41 views

How to use Rescale to make a brighter image?

I want to compose three single exposures into an RGB image. I have three 2D arrays that represent each exposure and I can combine them into a 3D array, specifying the RGB values for each pixel. My ...
1
vote
4answers
231 views

How to detect end points in a binarize picture

There is a picture: When I try to use MorphologicalTransform to detect the end points ...
0
votes
0answers
35 views

How to select very small components in an image

I have been trying to identify the centroids or positions of the small yellow dots (not the large regions) in the image below. I have adopted the following strategy (please see the code), however, i ...
3
votes
1answer
76 views

How to turn a Graphics primitive into a list of data?

I tried something small first, to get a feeling about this. So I defined a Rectangle[], placed it in a corner of ...
1
vote
0answers
79 views

How to refocus camera?

I'm trying to read a barcode though my computer's webcam but it fails because the ImageCapture won't refocus the camera when I put the code close to it, and this it is blurry: Is there anyway ...
5
votes
2answers
85 views

Terser way to get the intensity of one pixel

I want a function to return the intensity of one pixel notwithstanding the Color Space of the source image. I wrote: ...
2
votes
2answers
124 views

ImageData reverses the order of the row of an Image [duplicate]

Could someone convince me what is the utility of doing a function like ImageData that reverses the order of rows in an image? Why was it coded like this? Why does ...