Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

178 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
32
votes
0answers
880 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: ...
29
votes
0answers
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 ...
21
votes
0answers
730 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 ...
16
votes
0answers
911 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 ...
13
votes
0answers
508 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 ...
11
votes
0answers
339 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 ...
10
votes
0answers
214 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 ...
9
votes
0answers
631 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 ...
8
votes
0answers
184 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 ...
7
votes
0answers
135 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 ...
7
votes
0answers
388 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 ...) ...
7
votes
0answers
305 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 ...
6
votes
0answers
67 views

GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
6
votes
0answers
506 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 ...
6
votes
0answers
312 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 ...
6
votes
0answers
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 ...
5
votes
0answers
173 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: ...
5
votes
0answers
94 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
votes
0answers
157 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 ...
5
votes
0answers
104 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
votes
0answers
145 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 ...
5
votes
1answer
385 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). ...
5
votes
0answers
453 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, ...
5
votes
0answers
188 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: ...
5
votes
0answers
127 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 (...
5
votes
0answers
80 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?
5
votes
0answers
793 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 ...
5
votes
0answers
896 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 ...
4
votes
0answers
25 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 ...
4
votes
0answers
197 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-...
4
votes
0answers
118 views

How to remove circled noise from image

Consider a simplified example: noise ...
4
votes
0answers
163 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.
4
votes
0answers
90 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 ...
4
votes
0answers
216 views

Recognize text in an image

How can I use TextRecognize to recognize text in an following image?
4
votes
0answers
219 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 ...
4
votes
0answers
291 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 ...
4
votes
0answers
370 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 ...
4
votes
0answers
672 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 ...
4
votes
0answers
188 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 ...
4
votes
0answers
644 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 ...
4
votes
0answers
357 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 ...
4
votes
0answers
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)...
3
votes
0answers
59 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 ...
3
votes
0answers
60 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 ...
3
votes
0answers
96 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,...
3
votes
0answers
48 views

How to fit the image in the filling region?

Consider the following fillings: ...
3
votes
0answers
74 views

Compute thickness of branches in a 2D image

I would like to ask for suggestions on how to obtain the thickness of the edges in a given input image Input image: I tried to follow the commands given in a similar question posted, How to ...
3
votes
0answers
99 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*) ...
3
votes
0answers
121 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 ...
3
votes
0answers
76 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 ...