Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

1
vote
1answer
98 views

Manipulatable Geometry from an Image

Is there any way, I can take an existing internet image and have Mathematica read it in, so it can be manipulated using the Manipulate function? The image I would ...
5
votes
1answer
117 views

Binarize and SelectComponents gives incorrect output

Binarize seems to be giving me incorrect output. Overall, I am trying to identify characteristics of different objects in my images. I have a label image that ...
1
vote
2answers
121 views

How to do the “Sketch colorization” like Project Scribbler using Mathematica? [closed]

Recently, the Adobe release the Project Scribbler Adobe Max 2017. The picture is from the P. Sangkloy, J. Lu, C. Fang, F. Yu and J. Hays. Scribbler: Controlling Deep Image Synthesis with Sketch and ...
0
votes
1answer
79 views

Removal Background with Shadows on HUE

I have an image of a leaf on a poorly white screen and need to find out just the leaf: The problem is that it contains greenish shadows, so simple color-based methods are not enough. Thus, I need ...
1
vote
1answer
140 views

Contouring an Image with ListContourPlot

I'm trying to take an image that consists of several noisy ellipses and use ListContourPlot to generate a contour of the image. However, I'm just getting a single dense line. If I binarize the image I ...
4
votes
1answer
386 views

How to make transparent all the white areas of an image

Let's take a sample image Now I want to make transparent all the white areas of the image, so as to be able to copy/paste it above text After the copy/paste only the color parts (non-white) of the ...
1
vote
0answers
29 views

Prevent Semi-Transparent Pixels in Export

I've noticed that when I export plots in Mathematica without a background, a lot of the text ends being made of semi-transparent pixels. For example: ...
7
votes
1answer
385 views

Why this simple case of watershed segmentation fails?

(Cross-posted on Wolfram Community) I tried a simple experiment today with WatershedComponents. I took this image from: https://fr.mathworks.com/help/images/ref/...
3
votes
0answers
72 views

Finding position of objects of different shape

I have the following image taken with a CMOS camera (exposure time 0.012 sec, pixel size 23.5 micrometers): It shows illuminated particles as bright spots. There ...
0
votes
2answers
91 views

DynamicModule with ExampleData

I really need some help from you guys! I did not find anything similar here and I am trying hard to learn Wolfram Mathematica, but I do not understand this part. So the thing is: I have a list of ...
8
votes
1answer
336 views

remove transparency of background Image

I have the following image: As you can see the background is kind of white-ish. Now my question is: How can I remove this transperancy of the background image ?
10
votes
2answers
359 views

SSIM index in Mathematica

I was wondering, how one could compute the SSIM index in Mma ? The The structural SIMilarity (SSIM) index, which is a known method for measuring the similarity between two images. Here is the ...
33
votes
1answer
1k views

Drawing Clifford Attractors in Mathematica

I came upon the "Clifford Attractor" today, which are equations of the form: $$x_{n+1}=\sin(a\ y_n) + c \cos(x_n)$$ $$y_{n+1}=\sin(b\ x_n) + d \cos(y_n)$$ They create some incredible images by ...
12
votes
2answers
798 views

How to create a faded image using an existing image file

The question is simple: How can I take an image of a perfect stamp (load an image file) such as and make it look old, worn, and faded, with missing arbitrary small bits, like the following stamp ...
1
vote
1answer
79 views

Manual “crop” of binarized image data given by outline

I apologize if the question is somewhat vague - it is a bit difficult to put succinctly in one line what I am trying to do. I wrote a program to take the binarized data of an image and then generate ...
2
votes
1answer
333 views

Convert a closed curve in an image to a parametric equation

I want to generate a parametric equation for a closed curve, which is defined in a 2d image (such as below). The equation is {x{t}, y{t}}; ...
5
votes
3answers
166 views

Is it possible to trace MorphologicalTransform?

Is there a way to see the arguments supplied to a function specified as second argument of MorphologicalTransform? An approach with ...
6
votes
2answers
165 views

How to segment nuclei from a noisy image

(data can be downloaded from this link.) I am trying to segment and count nuclei in a noisy 3-D image stack and it is proving to be somewhat challenging. The strategy I could come up with requires ...
2
votes
2answers
303 views

Creating a custom e-seal

Well, the question is obvious: how can I create the following e-seal (with the rotated wrapped text, inserted image etc) with Mathematica? The central image is the following So, the following ...
1
vote
0answers
77 views

How to locate a text string in a picture?

We can use TextRecognize to recognize lines of text and their corresponding bounding boxes. For the text in the picture below, how can we detect the bounding boxs of the text in the picture. The ...
16
votes
1answer
544 views

Automatic edX Pdf Handout creator

I am trying to make an automatic handout creator for my courses on edX. It took me a long time to do it... (If you don't know edX: https://www.edx.org/) I wrote a program that adds to each slide ...
1
vote
0answers
39 views

How to find a stop sign in a picture. Is ComponentMeasurements feasible? [duplicate]

To be simple, to find the stop signs is to find the red octagons in the pictures. There may be several stop signs in one pictures and how to find all of them?
2
votes
1answer
58 views

Importing and exporting images and changing EXIF parameters

Why Mathematica modifies imported images on exporting them? Example: Import["C:\\image1.jpg"]; Export["C:\\image2.jpg",%] and now files image1.jpg and image2....
5
votes
1answer
143 views

Layout: Images and Text

I have a lot of images and text that goes with each image. Now I would like to automatically generate the following handout for each pair of image and text: The image is on top. The text should be ...
2
votes
2answers
59 views

List of same images -> Find intervals of same images

I have a list of images. There are some similar ones. Now, I would like to create a list, wich tells me the interval of those similar images. How can I do it ? For instance: and the result should ...
4
votes
0answers
91 views

How to remove circled noise from image

Consider a simplified example: noise ...
4
votes
0answers
125 views

How to identify shapes in an image

I have an image like that: And I want to identify shapes in it: I consider ComponentMeasurements and HighlightImage but I don't know how to achieve it.
12
votes
2answers
2k views

Extract timestamp of specific frames in video

I would like to do the following : I have a set of slides and a video in which those slides are discussed. Now I would like to extract the timestamp when the slide appears in the video. I would ...
3
votes
1answer
95 views

Merge transcript and corresponding slides from video

This would be used to make little "books" out of edX courses, which I am taking. I would like to write a small program, which automatically takes a screenshot of a video, when a certain amount of ...
1
vote
1answer
75 views

Illustrating the cryo-EM image combination technique (chem nobel 2017)

No idea if this is a valid question - probably a bit ambiguous. I'm looking for ideas on how I might use Mathematica as a tool to demonstrate the image collation/computation aspects of this year's ...
2
votes
1answer
218 views

Fourier transform along only one dimension of 2D array

I'm a relative newbie to Mathematica Before you flag me as duplicate, note that I have read and studied "Fourier transform over a custom dimension" as best I can. I cannot understand the answer, it ...
2
votes
1answer
160 views

Turn Image into graphic

I'm doing an experiment on Zeeman effect, and I have to turn an image into a graphic, like the example below: What functions available does this image processing? Thanks in advance, Gabriel 1 - ...
5
votes
1answer
172 views

Determine the feature size in the picture

I was doing some fractal dimension calculation using http://community.wolfram.com/groups/-/m/t/1025046 box counting method and I thought to myself if it would be possible to make a constrain that the ...
4
votes
0answers
79 views

What is the meaning of ColorSpace -> Automatic?

The colour space of an image can be retrieved using Options[im] or ImageColorSpace[im]. A possible value is ...
1
vote
2answers
111 views

Convert data from Image3D to ListPlot3D

Let's suppose I have created a 3d image of gray scale Images with: image3d = Image3D[Table[readImage[i], {i, numberOfImages}]]; and ...
2
votes
0answers
54 views

What image adjustments are made when importing raw camera data?

I am trying to use Mathematica to import and process raw camera data in the Canon CR2 format. What I would like is data which has a linear relationship to exposure. I am thinking that the closest I ...
6
votes
2answers
510 views

Check if image has alpha channel

How can I check if an Image has an alpha channel? "What have you tried?" AlphaChannel and ...
0
votes
1answer
157 views

Image3D - plot physical axes scales

I have read in 600 thresholded gray scale images (located here - 14MB, png, 8bit, 300*200 pixel) into Image3D with: ...
12
votes
2answers
614 views

Calculating the size of objects on the picture

I'm new to Wolfram Mathematica. I have an initial image: My goal is to find a radius of the water drop, like so: With that in mind, I've changed the initial photo: ...
0
votes
2answers
108 views

How to apply a nonlinear transformation to a specified region in an image using the Masking option

I am attempting to apply nonlinear transformation to the bottom half of my image. I use the Masking option for ImageTransformation and use an array where the the only positive values are where I want ...
7
votes
1answer
140 views

What is the logiс behind handling alpha-channel by various image-processing functions?

(Cross-posted on Wolfram Community.) When working on the answer to this question I discovered that starting from Mathematica 10.0 the behavior of such functions as ...
1
vote
0answers
109 views

How to find all number in a image by neural-networks method

I have a big complaint about function TextRecognize. Alexey Popkov have verified here. Actually it can do it as the attribute ...
7
votes
1answer
88 views

A bug and inconsistency in current image arithmetic operations?

Let us start from a single-pixel RGBA image: i = Image[{{{0., .4, .7, .8}}}, Real, ColorSpace -> "RGB"]; Multiplying by .5 ...
10
votes
2answers
217 views

Blur, GaussianFilter and ImageConvolve doesn't work on some images

In versions 8.0.4 and 9.0.1 applying Blur to an image gives expected result: ...
2
votes
1answer
195 views

How can I use Histogram and Histogram3D on an image?

I have a .jpg image named r. I am using the following code to plot a histogram: ...
6
votes
0answers
105 views

How to pass in-memory images through ExternalEvaluate?

Version 11.2 has a new import/export format PythonExpression. Unfortunately, it doesn't work out-of-the-box with images: And using the ImageData directly is too slow: Anyhow, I have some image ...
14
votes
0answers
438 views

How to ImageRestyle high-res images?

Running v11.2 on Ubuntu 16, ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x ...
2
votes
1answer
127 views

How to maximally crop a rotated image?

I'm cropping a rotated image, but I want to keep the ascect ratio fixed and not have any "extra" black pixels. Here's an example: ...
3
votes
1answer
309 views

ImageRestyle not working in docs?

ImageRestyle[] seems like a cool new function in v11.2, but is there something I need to to get this to work: I have a MacBook Pro (Retina, 15-inch, Late 2013) ...
1
vote
1answer
147 views

Pattern recognition for motion detection

I have two images with multiple dots. If the dots are high-correlated between the two images and the movement of dots can be expressed by an universal rotational and translational motions, is there ...