# Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

211 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
793 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 ...
• 30.2k
1k 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 ...
• 15.5k
346 views

### FunctionCompile examples for Computer Vision

I'm looking for some good examples of FunctionCompile applied to image processing code since there doesn't seem to be anything on this in the documentation. So here's a first attempt at a hello world ...
• 30.2k
525 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 ...
• 5,172
295 views

### Trying to build a code to translate handwritten formulas using ML

I'm lazy writing equations in Latex so I want a code to translate handwritten equations. This question is related to an old experiment I'm reviewing during vacations, here. I'm trying to use ...
• 487
354 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 ...
• 7,737
679 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 ...
• 4,449
189 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 ...
• 285
310 views

### Background removal with hair

I'd like RemoveBackgound to work on images where the foreground boundary is nontrivial e.g. with hair: ...
• 30.2k
216 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: ...
• 1,339
396 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 ...) ...
• 11.3k
316 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 ...
• 161
96 views

### Computing correspondences between two images

A classic problem in computer vision is computing correspondences between keypoints in two similar images, despite modest variations in size, lightness, orientation, etc., of the images, as ...
• 35.8k
73 views

### Where does ImageCollage place each image?

How can I get the bounding box of each image of a collage made by ImageCollage? This would be useful, for example, to use the collage as an image map on a web site. I couldn't find a way to query ...
• 1,100
75 views

### GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
• 8,609
547 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). ...
543 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 ...
• 156
336 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 ...
• 3,258
2k views

### computation of gradient vector field in 3D using GradientOrientationFilter

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 ...
• 3,258
360 views

### convert image of mathematical form to mathematical form (OCR)

I wish to convert images of mathematical form to mathematical form(and not the opposite). I've found this tool which does a great job but I wondered if it's possible to enter an image directly to ...
• 151
201 views

### Decompose website into rectangular grid?

I'd like to take an image of a website and decompose it into a rectangular clustering of dominant pixels like this: What I've tried so far There are a few existing webpage segmentation solutions: ...
• 30.2k
96 views

### Recognising people from photos

I have a large number (probably 10000) of personal photos taken over the last few years, a good proportion of which contain family members. I'd like to put together a photo book of one family member,...
• 5,383
192 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 ...
• 1,760
109 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, ...
• 5,383
185 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 ...
• 3,093
549 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, ...
• 45.3k
143 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 (...
• 66
87 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?
• 30.2k
841 views

### Masked Image Registration/Alignment/Correlation

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 ...
• 9,472
1k 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 ...
• 30.2k
101 views

### Separating boundaries from WatershedComponents

I am trying to look for local minimum on the boundaries between watershed regions. Typically the boundaries are not connected and spanning across the whole image so it is possible to do it through <...
• 61
82 views

### Mathematica 12.1 Crashes when making large partitions of an image

I need to partition an image of dimension 1000 x 1000 for 200 x 200 parts. In order to do so I am using ImagePartition function but when I try to display the output ...
• 333
221 views

### Structure factor of fourier transform of an image

In this article authors show crystal and liquid phase from two dimensional crystals by calculating structure factor (Fourier transform of 2D points). I have generated set of points in 2D that ...
• 111
206 views

### Find nearest crop of image within another image

ImageAlign[ref, i] works well when image i is fully contained within the reference image ref,...
• 30.2k
234 views

### Image-based reinforcement learning with neural networks

After seeing that "OpenAIGym" is not exactly supported on Windows and playing around with https://www.wolfram.com/language/12/neural-network-framework/train-an-...
• 376
134 views

### How to remove circled noise from image

Consider a simplified example: noise ...
• 26.8k
203 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.
100 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 ...
• 224k
232 views

### Recognize text in an image

How can I use TextRecognize to recognize text in an following image?
• 8,648
230 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 ...
• 61
315 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 ...
391 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 ...
• 285
776 views

### adaptive histogram equalization

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 ...
• 65.7k
195 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 ...
• 3,244
745 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 ...
• 141
405 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 ...
• 1,936
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)...
62 views

### Applying Super-Resolution to differently sized images

I would like to make some images larger and noticed that there is a page in the documentation for doing super-resolution using a network structure. It's called "A Model for Super-Resolution."...
• 65.7k
57 views

### Video processing: Efficient way to apply function to pixel time stack (FIJI's Intensity Z-projection)

Starting from a Video, I would like to apply a function f to the stacks of intensity values, over time, for each pixel. In FIJI ...
• 28.5k