Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

161 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
282 views

How to set BitDepth and control dithering on exported GIF

Related: How to export a Graphics to PNG with BitDepth greater than 8? I can't find a way to set the BitDepth of an exported GIF. It doesn't need to have great colour data, but I don't want to reduce ...
3
votes
0answers
248 views

3d Image reconstruction

I'm using Image3D to reconstruct a 3d image from over 800 2d slices. I'm able to create the image but takes too long to do anything useful with the 3d image. Even rotating the output freezes ...
3
votes
0answers
138 views

How to enhance the radial edges of an image

I have an image as follows: I want to enhance (not binarize) only the radial edges passing through the center so that it should look like this EDIT: Following the suggestion of J. M. I applied the ...
3
votes
0answers
148 views

NelderMeadMinimize for 2D Gaussian fitting

I would like to fit a large number (10^5-10^6) of small images to 2D gaussians by taking advantage of the NelderMeadMinimize package from Oleksandr: Shaving the last 50 ms off NMinimize. The ...
3
votes
0answers
485 views

Pattern recognition

I am trying to have Mathematica come up with a simplified version of a real pattern. For the moment I'm trying with handwritten digits, but eventually I want to apply it to more complex photographs. ...
3
votes
0answers
55 views

Can I extract or deduce the effective input form to duplicate the results from an interactive toolbar?

The interactive toolbars that are available in 10.0+ are very nice for getting images to look the way I want; but the black box functionality is very un-Mathematica-like, and doesn't help me if I want ...
3
votes
0answers
158 views

Identify and measure single bubble radius in series of images (TIFF)

I aim to make use of Mathematica's image processing capabilities to measure the radius of bubbles in consecutive images taken with a high-speed camera. After searching through this website I have ...
3
votes
0answers
502 views

Speeding Up Image Processing Functions

I am working with stacks of 1024x1024 timelapse microscopy images that I am performing a series of image processing functions on to help segment each image. These functions include ...
2
votes
0answers
68 views

Improving the accuracy of the bounding box detection of TextRecognize

My problem concerns the text position detection in a scan. My goal is to find the bounding boxes of the text. ...
2
votes
0answers
65 views

Converting video file to list of images to analyze pixels of each frame

I am trying to recreate the following physics experiment to analyze chaotic motion: https://www.researchgate.net/publication/275890532_Tracking_the_Motion_of_a_Double_Pendulum_Using_Mathematica I ...
2
votes
0answers
42 views

issue with ImageEffect; EdgeStylization

I have a issue with ImageEffect/EdgeStylization. After importing a .jpg-file like test = Import["C:\\........\\DSCN0018_v1.jpg"] The result is: Then I take a ...
2
votes
0answers
73 views

Smoothing a image while retaining the edges

In my previous post here it is mentioned that using ImageResize before ImageGraphics will increase image quality of the final ...
2
votes
0answers
47 views

Identifying overlapping incomplete squares in image

I am trying to align my device and markers automatically using positioners driven by Mathematica. The camera feed looks like this: The device is the black square with gold electrodes. The markers are ...
2
votes
0answers
91 views

How to achieve this fractal image transformation?

The app MirrorLab on Android has a very interesting Julia Effect, and I'd like to recreate this effect in Mathematica. Here are some examples of input images and their outputs: ...
2
votes
0answers
81 views

Use List convolve for aligning images

I am trying to align images of point spread functions using a convolution. Before doing it on real data, I wanted to try on simulated data. I have no problem with the 1-D case where I create 2 ...
2
votes
0answers
61 views

Connect the nearest points in segmented image

I am trying computer vision for document analysis of datasheets.And quite new to mathematica My goal is to connect and segment out the part number with part in the drawing considerably something ...
2
votes
0answers
141 views

Is there any inbuilt Mathematica function that can be used as a steerable filter?

I need a steerable pyramid filter for images and volumes. Is there any built-in Mathematica function or package for that as there is in Matlab? Edit 1: Firstly, I didn't ask for an implementation of ...
2
votes
0answers
91 views

Why can't ImageTransformation be parallelized?

I have a rather complicated code for an ImageTransformation, which would benefit from some acceleration. Since every pixel is independend of every other, I tried Parallelize, which, in a simplified ...
2
votes
0answers
60 views

Unable to create ClassifierMeasurements for NetGraph

I am trying to check the accuracy of a neural network by using ClassifierMeasurements. I take the MNIST as example:- Code for setting ...
2
votes
0answers
56 views

How to get ImageTransformation to not compute the function at *every* pixel

I am using ImageTransformation with a slow function. Is there a way to get ImageTransformation to compute the function at only a ...
2
votes
0answers
92 views

How to get a mask from every country

This is my map image imgPro = Uncompress[FromCharacterCode[ Flatten[ImageData[Import["http://i.stack.imgur.com/Zoj4F.png"],"Byte"]]]] I want to get a mask ...
2
votes
0answers
101 views

FindGeometricTransform (still) can't reproduce ImageAlign results

I'm aligning two images for purpose of some DIC calculations. A smaller bitmap should be found into the bigger one: . ImageAlign works solid here: ...
2
votes
0answers
114 views

Remove circles in image

I have a stack of images that have circular reconstruction artifacts that I want to remove. How do I detect the circles and remove their pixels (i.e. fill those pixels with 0)? An image with the ...
2
votes
0answers
187 views

Any Colocalization measuring methods or WL functions?

[Cross-posted on the Wolfram Community.] Is anyone aware of any Wofram image-processing tutorial or documentation/example that specifically address: 1) Intensity Correlation Coefficient-Based: (e.g. ...
2
votes
0answers
111 views

Help changing coordinates back after partitioning an image?

I'm new to Mathematica. I was just wondering how I could change the coordinates back after I partitioned an image. For example, if I used ImagePartition[] to split ...
2
votes
0answers
384 views

Convert (rescale) 16 Bit png image

I have a camera (12 Bit Sensor, 2048 * 2048 Pixels). The images can also be exported in 16 Bit png format. Here different settings can be used. One setting is somewhat strange. For this special case ...
2
votes
0answers
243 views

How to get the SIFT features of an image?

According to the documentation, the function KeyPoints[] computes features only using SURF, but what about SIFT or FAST features?
2
votes
0answers
418 views

Understanding “IntensityData” coordinates

Update - Playing around a bit, is it true that we need to process the list of "IntensityData" values $r$ as follows: r = Partition[r,k]; r = Transpose@r; And ...
1
vote
0answers
70 views

Trouble reading FITS with Mathematica 12

I've been using Mathematica to process FITS for years, but it has changed in version 12. Import now yields an Association rather ...
1
vote
0answers
67 views

Finding bubbles in an image

I have several images which show bubbles in water. The task is to identify these bubbles, to count and measure them. I know this is not easy. 100% accuracy is not needed. The best I have so far is ...
1
vote
0answers
49 views

Is it possible to select a number of points to highlight points in an image?

I would like to ask you how I can fix a number of points to show in a picture. In the previous post (Is it possible to get the coordinates only for the highlighted points from an image?), JimB ...
1
vote
0answers
43 views

Can LearnDistribution Train and Generate Images Without Defaulting To 256x256?

In spite of anything I try it seems the ConformImages[] function nested in the LearnDistribution[] function resizes images to 256x256. If I convert an image into its "Data" representation before ...
1
vote
0answers
58 views

Understanding how ComponentMeasurements finds neighbors

I am trying to understand how the module ComponentMeasurements in Mathematica works when the property Neighbors is called in ...
1
vote
0answers
54 views

Is it possible to resize an image without importing?

If we have a list of 1000 ULRs which refer to image files of the following form: http://...file1.jpg http://...file2.jpg ... http://...file1000.jpg Objective: We want to resize each image (e.g. ...
1
vote
0answers
75 views

ImageRestyle yielding low-level errors even in example cases

the title covers it. I'm on v11.3.0.0 on a MacBook Pro running Mojave 10.14.2, and trying to run ImageRestyle seems to immediately throw a bunch of errors that aren't related to the input in an ...
1
vote
0answers
54 views

Image to coordinate system

May I kindly ask you to teach me how to align the symmetry axis (in blue) of the attached picture along the Ox and/or Oy axis. The axis of symmetry is slightly off (rotated to the right). In other ...
1
vote
0answers
74 views

Convolution of an Image with Gaussian sigma = 1

I'm new to image processing and I've been testing out different Gaussian blur filters. Out of curiosity, I generated an object that is a 2D Gaussian with sigma = 1. I convolved this object with a ...
1
vote
0answers
44 views

How to reconstruct the result of ColorBalance manually?

I want to know about the mathematics behind white balance. I understand that it should be 3 different constants being applied to the red/green/blue channels. Thus I used ...
1
vote
0answers
68 views

Grouping components to form a complete perimeter

This is a question relating to grouping of components picked out using ComponentMeasurements to make a complete perimeter of a shape. My goal is to measure the perimeter of each of these worm-like ...
1
vote
0answers
87 views

Revert image fusion using discrete wavelet transform

How can I extract a hidden image using discrete wavelet transform? I have used the function ImageFusion from this site to hide an image inside another one. ...
1
vote
0answers
84 views

Contour of an splashing droplet

I have pictures of the evolution of a splashing droplet, and I would like to get the contour. It´s not difficult for early times (first figure) but I could not find the way for the later times. Any ...
1
vote
0answers
96 views

How to segment a textured image using Gabor Filters?

I am following a matlab implementation of texture segmentation using Gabor filters. My test image (img) is from Brodatz and as ...
1
vote
0answers
54 views

How does DominantColors work?

I'm trying to understand the algorithms behind DominantColors[]. Unfortunately Trace[] and ...
1
vote
0answers
82 views

Performance of ImageCorrelate with a masked kernel (via custom distance function)

Context For an image in-painting task (filling in missing regions in an image, see image below; missing region printed red) I'd like to try a template matching approach. The idea is to use parts of ...
1
vote
0answers
35 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: ...
1
vote
0answers
100 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
108 views

Rotation angle of image grid

I have the following image and would like to determine the rotation angle of the grid. To detect the horizontal and vertical lines I use EdgeDetect: ...
1
vote
0answers
52 views

Image reflected when exported to png file

I produced an image that combines a couple of objects by using the following command ...
1
vote
0answers
119 views

Reducing the size of the training data

My problem is that running Classify on my training data takes too long. First I get 50,000 images such as car, cat, dog, hat, train, etc. ...