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
21 votes
0 answers
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 ...
user avatar
  • 30.2k
18 votes
0 answers
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 ...
user avatar
  • 15.5k
14 votes
0 answers
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 ...
user avatar
  • 30.2k
13 votes
0 answers
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 ...
user avatar
  • 5,172
12 votes
0 answers
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 ...
user avatar
  • 487
11 votes
0 answers
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 ...
user avatar
  • 7,737
10 votes
0 answers
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 ...
user avatar
  • 4,449
8 votes
0 answers
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 ...
user avatar
  • 285
7 votes
0 answers
310 views

Background removal with hair

I'd like RemoveBackgound to work on images where the foreground boundary is nontrivial e.g. with hair: ...
user avatar
  • 30.2k
7 votes
0 answers
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: ...
user avatar
  • 1,339
7 votes
0 answers
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 ...) ...
user avatar
  • 11.3k
7 votes
0 answers
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 ...
user avatar
  • 161
6 votes
0 answers
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 ...
user avatar
6 votes
0 answers
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 ...
user avatar
  • 1,100
6 votes
0 answers
75 views

GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
user avatar
6 votes
1 answer
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). ...
user avatar
6 votes
0 answers
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 ...
user avatar
  • 156
6 votes
0 answers
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 ...
user avatar
  • 3,258
6 votes
0 answers
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 ...
user avatar
  • 3,258
5 votes
0 answers
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 ...
user avatar
5 votes
0 answers
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: ...
user avatar
  • 30.2k
5 votes
0 answers
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,...
user avatar
  • 5,383
5 votes
0 answers
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 ...
user avatar
  • 1,760
5 votes
0 answers
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, ...
user avatar
  • 5,383
5 votes
0 answers
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 ...
user avatar
  • 3,093
5 votes
0 answers
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, ...
user avatar
5 votes
0 answers
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 (...
user avatar
  • 66
5 votes
0 answers
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?
user avatar
  • 30.2k
5 votes
0 answers
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 ...
user avatar
  • 9,472
5 votes
0 answers
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 ...
user avatar
  • 30.2k
4 votes
0 answers
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 <...
user avatar
  • 61
4 votes
0 answers
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 ...
user avatar
4 votes
0 answers
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 ...
user avatar
  • 111
4 votes
0 answers
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,...
user avatar
  • 30.2k
4 votes
0 answers
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-...
user avatar
4 votes
0 answers
134 views

How to remove circled noise from image

Consider a simplified example: noise ...
user avatar
4 votes
0 answers
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.
user avatar
4 votes
0 answers
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 ...
user avatar
  • 224k
4 votes
0 answers
232 views

Recognize text in an image

How can I use TextRecognize to recognize text in an following image?
user avatar
  • 8,648
4 votes
0 answers
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 ...
user avatar
  • 61
4 votes
0 answers
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 ...
user avatar
4 votes
0 answers
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 ...
user avatar
  • 285
4 votes
0 answers
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 ...
user avatar
  • 65.7k
4 votes
0 answers
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 ...
user avatar
  • 3,244
4 votes
0 answers
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 ...
user avatar
  • 141
4 votes
0 answers
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 ...
user avatar
4 votes
0 answers
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)...
user avatar
3 votes
0 answers
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."...
user avatar
  • 65.7k
3 votes
0 answers
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 ...
user avatar
  • 28.5k
3 votes
0 answers
81 views

Displacing / warping an image using a pre-existing optical flow image

ImageDisplacements provides a way to calculate the displacements between two images (e.g for optical flow purposes) and return a two channel image containing the dx,...
user avatar
  • 20.4k

1
2 3 4 5