# Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

157 questions
765 views

### How to find a street pattern that fits a specific edge on a map

Cross post here I have such funny pictures: Very interesting,and you can get all of it by this code: ...
1k views

### Handwriting recognition with Mathematica

I am trying to teach Mathematica to read my handwriting. Since I don't want to ruin my reputation by showing my own handwriting, I am going to use a font called blackjack. Lets say this is a ...
581 views

### How to ImageRestyle high-res images?

I’m running v12 now and ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x 500 or ...
614 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 ...
489 views

### Proving (self) similarity with Mathematica - Reccurrence Plots, Similarity Plots etc

I posted this question in math.se but given the sheer tumultuous number of questions that keep appearing on math.se and also given that I am trying to accomplish this in Mathematica, I thought I'd ...
319 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 ...
210 views

### How to segment rectangular photographs on a table?

Given an image of a table with photographs (take from any angle), I'm trying to extract the photographs and correctly align them into perfect rectangles. There are four steps to the algorithm: Detect ...
558 views

### Image Processing: Car front detection

Background Image processing can be applied to car license plate detection problems see Wikipedia, segmenting numbers, belisarius's old answer. Also, on this site once can use some techniques ...
178 views

### Ways to overcome failure of TextRecognize on relatively simple price tag?

I would like to perform OCR on this sample image. TextRecognize[Import["RedBox.jpg"], Language -> "German"] returns ...
119 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 ...
380 views

### Visualization of traces of moving objects

An example movie which is made with the listed mathematica code below shows traces of moving objects: https://youtu.be/8jN2uuSHCEg (Melting ...) http://youtu.be/5ET62846C-I (Crystallisation ...) ...
285 views

### How to determine foci colocalization in a microscopy RGB image

I have a series of microscopy RGB images of the cell nucleus like this one The red and green dots are clusters of different proteins and I would like to determine when these dots colocalize. Through ...
462 views

### How to recognize multiple objects in an image

I'm trying to do multi-object detection and recognition using Mathematica. For example, in this image: img = Import["https://i.stack.imgur.com/lbSwV.jpg"]; the ...
2k views

I want to compute a 3D gradient vector field of an Image3D object using the built-in GradientOrientationFilter function in Mathematica. From the documentation I ...
71 views

### Hyperspectral files in the ENVI format?

Have any of you had the pleasure of reading geospatial / hyperspectral files in the ENVI format? Headers that describe the data here, https://www.harrisgeospatial.com/docs/enviheaderfiles.html which ...
58 views

### GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
125 views

### How to efficiently apply PCA followed by SVD to extract the components of PCA?

I am working on segmenting a textured image using Gabor Filters. This is based on this paper. There exist a Matlab implementation of this as well. Earlier I managed to do up to this. With the help of ...
330 views

### Detect and measure smooth peaks in a 2D image

I have multiple grayscale images where I want to identify elevations: I have to find the convex hull that encloses the base of each hill. An example image: The images are already normalized, ...
172 views

### Finding transforming between regular and distorted grid

I'm trying to find the transformation function to go from the first image below to the second one. The manual suggest: ...
79 views

### How many clusters does DominantColors return?

Is there any documentation on how it automatically chooses the number of colors - does it use X-means or some other heuristic to determine the number of clusters it automatically returns?
282 views

### Challenge: Speeding up MaxDetect for application in 3D blob detection

In image segmentation it is a common problem that objects appear clustered and are therefore undistinguishable from each other when using simple algorithms. Based on this post I obtained efficient ...
740 views

### How can I create jpeg images of a given file size?

Cross-posted at Wolfram Community I would like to have a function makeJPG[megabytes_] that generates random jpg images of given file sizes with itf filesize (in megabytes) watermarked on the image ...
84 views

### How to TextRecognize a screenshot of code?

Are there any specific tricks or options to help TextRecognize work on a screenshot of an InputCell or code in general? For example, here's a screenshot that mixed ...
93 views

### How to combine multiple image processing steps into a GUI

I'm trying to combine several Manipulate objects into a single workflow, for semi-automating an image analysis. I have worked out how to do each individual part, ...
96 views

### How to remove circled noise from image

Consider a simplified example: noise ...
137 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.
85 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 ...
109 views

### Which filter does InverseRadon use by default?

I am using the InverseRadon function. According to the documentation the function uses a Hann filter and no cutoff (...
198 views

### Image processing- Identify regions in a segmented image to measure the dye intensities

I have split my image into the 3 channels each representing a different dye. I have segmented each image and I now want to 1) Identify each of the segmented regions and 2) Detect the level of dye ...
259 views

### Fan beam tomographic projections in Mathematica

I am embarking on a little project to redo some of my old MATLAB image processing code in Mathematica. I am particularly interested in tomography, and I know of the ...
359 views

### Tracking features where ImageFeatureTrack finds none?

How is it possible to track common features in the following sequence of images (e.g. holes or corner points along the top margin), ? I have had no luck with ...
577 views

There is an interesting algorithm called contrast enhanced adaptive histogram equalization that does histogram equalization on small segments of an image (and then pastes them back together). I know ...
180 views

### Mapping Images in Parisian metro stations

One particular aspect of some Parisian metro stations is that stations' walls are curved, even in the sides where one would place advertising posters. Here is a picture of one such station: I was ...
600 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 of ...
315 views

### How to make distance transform invariant to scale?

I am trying to use a distance transform as a descriptor to encode silhouettes in order to do a shape recognition task. It is clear that distance transform distribution is invariant under rotation and ...
762 views

I'm trying to register (align) two circular grayscale images using a boolean mask to prevent them simply being aligned on the fixed circular border. There are also small fixed circular regions in the ...
1k views

### looking for a generalised Hough Transform function or a least a function to locate circles

I am looking for a generalised Hough Transform function or a least a function to locate circles (position of center and radius) in a image. There is the standard Hough line search function (ImageLines)...
69 views

### Roulette Ball Tracking with Mathematica

There is an image from roulette spin video, and I have a code to track the ball position on the image (*Mask is a visible ball track on the rim*) ...
99 views

### Image Processing: Detecting certain edge features over varying contrasts

Images and description- • The images are obtained from the frames of a video (>1000 images) • As shown, there are contrast variations between the images • The bubble shifts horizontally ...
60 views

### Always missing one component in Image Segmentation with SelectComponents-WatershedComponents-GradientFilter Method

I hope this is not a too specific issue and it is probably something very simple, but it is driving me insane. I am trying some image processing on microscopy images to perform cell isolation as ...
132 views

### Image Segmentation: (Efficient Graph-Based)

This question is two-fold; First, it is about how to get the speed efficiency this algorithm should provide in Mathematica. In addition, it has a small question about the algorithm (Efficient Graph-...
214 views

### Image Generator with a Neural Network (CIFAR-10)

As some of you may know, CIFAR-10 is a data base which has 60,000 images (which are 32x32 in size) of 10 different categories (airplane, dog, cat, frog, deer, bird, horse, ship, automobile and truck). ...
91 views

### How to perform unsupervised texture classification?

Consider a texture mixture (img) from Brodatz. I want to classify the five different texture patterns and segment the corresponding regions. Following this, I ...
101 views

### Highlighting an image with texture segmentation

I'm trying to take an image of a pencil sketch (http://www.vangoghgallery.com/catalog/image/1442/Sower-with-Setting-Sun.jpg) and colorize the different segments based on the texture. So in this image, ...
230 views

### Accessing advanced ZXing settings for BarcodeRecognize

Usual algorithms for detecting the presence of a QR-code in an image seem to have trouble detecting a code when it is tilted (especially at 45°). This is dependent on the resolution as well. The ...
85 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 ...
101 views

### Stereogram in Mathematica: inverse question

I've seen in this wonderful post that it's possible to create a stereogram in Mathematica. But I didn't found anything regardless the inverse problem. Given a stereogram, is possible to retrieve the ...
202 views

### Recognize text in an image

How can I use TextRecognize to recognize text in an following image?