Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
1
vote
0answers
28 views

Segmenting a binary image into three parts

I am trying to segment a binary image into three parts, head, body, and tail. The binary image is a stack of tiff files of a moving fruit fly larvae. I was able to do this initially by removing points ...
2
votes
1answer
77 views

Is there a more practical way to remove backgrounds from a list of files in a folder on my computer?

Is there a more practical way to remove backgrounds from a list of files in a folder on my computer? Example: Imagine a folder with three image files... Unfortunately I waste time manually renaming ...
4
votes
1answer
79 views

How to combine image in specific positions

Daily I make an image composition with background (background) in alpha channel in the following dimensions: 558px (length) and 465px (height) ...
9
votes
2answers
2k views

How to convert a 4-channel image to 3-channel image in an elegant way?

I have a 4-channel image (RGBA). I want to reduce its channel count from 4 to 3. The method I am using currently is to Right click and Save as a .png file. After ...
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 ...
11
votes
2answers
658 views

How to measure the slit size from given image using mathematica?

I want to measure the size of the optical slit from the microscope image. Here is the image: The dimension of image data is $1300\times1030$ and the real pixel size is $6.7$ micron. But the problem ...
4
votes
1answer
69 views

How to separate elements from an image

I have this file that will always have a white background and I would like to separate the elements into separate files, but I don't know which function to use. This is the file: ...
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). ...
2
votes
0answers
22 views

Faster alternative to ImageCorrespondingPoints?

I'm trying to use ImageCorrespondingPoints to register frames in a video sequence. Computational speed is an important consideration for the application I am ...
3
votes
2answers
110 views

How to drag an overlay image over the reference image?

There are two images in this question. I want to overlay the img1 over img2 to see where they match and I want to do it manually:...
2
votes
1answer
45 views

Reciprocal Coordinates in discrete 2D Fourier

Is there a way to obtain the transformation of coordinates along with the Fourier transformation of a discrete data set? Say I have some pixelwise information ...
2
votes
1answer
90 views

Complete contours (outline) from a image

I want to find the contours of (parts) image and sent the output to a laser cutter. For example, take this image: I use this code: ...
1
vote
1answer
40 views

2-D Fourier series components from image

Suppose I draw a black/white image where the color black represents 1.0 and the color white represents 0. Is there a way to extract numerical estimates for the coefficients of a (real) 2-D Fourier ...
21
votes
1answer
1k views

Converting Image to full-length lines

I want to write a program in Mathematica that takes an image and converts it into a drawing made completely of straight full-length lines. The program should check all the lines of the image, then ...
0
votes
0answers
68 views

How can I extract the center circular part from a series of images?

I am struggling to find an image processing algorithm for some images, two of which are shown below. I have 50 such images. I want one algorithm that will process all of them and produce binarized ...
2
votes
1answer
83 views

count stars from an image , is this possible with mathematica?

I was wondering if "MATHEMATICA" with the amount of instructions it has has any to count points in an image, in this case stars, I imagine comparing contiguous pixels and if they are not ...
2
votes
1answer
27 views

Consistent pixel assignments in ClusteringComponents?

I have a large dataset of SEM micrographs I am trying to binarily segment via ClusteringComponents, and it has seemed to be the most accurate method compared to the other binarization functions, e.g. ...
-1
votes
1answer
80 views

Extract data from picture of experimental instrument

I need to transform many pictures of an analog clock with only on pointer ( the one of hours ) in the corresponding numerical data. Is it possibile to do it with mathematica? I would like to find ...
8
votes
1answer
270 views

Looking for AR (augmented reality) projects in Mathematica

I’m looking for any links or notebooks involving augmented reality. Any tools out there for Mathematica like ARKit?
64
votes
6answers
13k views

How to create hedcut style images?

Yesterday the hedcut style was brought up in chat. How can we create a hedcut-like style automatically in Mathematica, using a photograph as a starting point? I am looking to create a similar ...
0
votes
0answers
66 views

Hidden Metadata in DJI drone .JPG

I have imported a JPG file with MetaInformation (Exif/XMP) however all the available tags are not imported. The JPG is a DJI drone image with meta information as: altitude, YAW, GeoPosition, etc. Some ...
1
vote
1answer
43 views

How can I generate a convex hull of a binary image?

I have a binary image (img) as shown below and I wish to generate a convex hull of the white region. I tried to use ...
6
votes
3answers
725 views

How to create and export a procedural planet texture with normal map

I would like to generate some earth-like/mars-like/giant-gas-like planets/moon/asteroid textures with normal map and specular map as 4k PNG files (4096 X 2048 pixels), to be mapped on a sphere with ...
5
votes
1answer
1k views

Circular crop: extract non rectangular parts of an image

I want to extract a part of an image. For example, let's start with something like the following image: I would like to apply some image processing to get this result: I have tried to manipulate <...
1
vote
1answer
126 views

Extracting a Mathematica approximation of a curve from an image

Suppose I have an image like the following: and suppose Mathematica knows the correct scale of the image. Is there a way I could get Mathematica to approximate this with, say, a Bezier curve? ...
2
votes
1answer
113 views

Computing density of particles and distances from microscopic images

I am analysing microscopic particles images of the kind shown below, and primarily I am interested in learning whether in Mathematica one can extract structural properties of the particles using the ...
4
votes
4answers
697 views

Binarizing a matrix

I have an image with a few bright pixels with the remaining ones very dark. The difference is in orders of magnitude. I want to binarize this matrix (corresponding to the image) making all values ...
1
vote
1answer
37 views

Removing white space from GraphicsRow and configure FrameLabel

I have this code for three graphs shown side by side. They have the same x,y ranges: ...
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
1answer
124 views

Fast approach to do Summation in Compile[]?

My code does massive Summation and Matrix multiplication Compile[] has boosted it distinctly. But I read some literatures related to my program, It seems there are ...
0
votes
1answer
173 views

Creating a numerical table of values and using an interpolation of them to transform pixels in an image by the ImageTransformation command

I am trying to carry out point "Implementing Map" on this paper Interstellar wormholes however I am using my own equations not those given (only the same method). I have generated a list of ...
5
votes
1answer
96 views

Mathematica 12 HighlightImage doubles image dimensions ! Bug?

My scripts that use HighlightImage stopped working after upgrading to 12. I discovered that HighlightImage doubles the Dimensions of the image, see below. Bug ?? workaround ? I need the exact same ...
1
vote
0answers
48 views

Extracting Blank Frames from Imported Video

Go easy on me; it's my first question. But please do let me know if I'm doing something wrong. When using VideoExtractFrames, I'm getting blank and black frames from my video. I get the same problem ...
18
votes
2answers
1k views

Monospaced fonts are not monospaced

Bug introduced in 8 or earlier and persisting through 11.2.0 I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines ...
1
vote
1answer
53 views

Recognizing letters in grid with TextRecognize

Here is the test image: You might recognize this as a Boggle board. I want to translate the image into a 4x4 array of letters. Not quite sure how to deal with rotated letters and ambiguous letters ...
0
votes
0answers
55 views

Image merge and white balance

I have three images of red, green, and blue channels of white particles. I wonder if anyone can help me to merge them and balance the white so that the particles in the merged image looks white. ...
3
votes
1answer
73 views

How to generate blobs of a given circularity?

I'm trying to generate some "imaginary" geographic regions (think of it as islands, for instance), by generating random blobs/blots. Currently, I'm using Szabloc's blotc[] function. However, ...
5
votes
2answers
251 views

Basic questions on matrix multiplication [duplicate]

I'd like to implemente a matrix multiplication among three matrices sized at 1*256, 256*256 and ...
5
votes
1answer
92 views

Merge vertexes that are close together in MorphologicalGraph

Suppose I have a image and I take its MorphologicalGraph by using the following code: ...
5
votes
2answers
159 views

Extract individual white parts of binarized image

Suppose we have an image, like so: and I managed to create its MorphologicalGraph by using ...
0
votes
1answer
73 views

How to remove indentation from an image border

I have the following image (fig 1) with the extracted points from the geomagic software (Please see the point list in the attached link). https://pastebin.com/K51N8Kfa I would like to know how I can ...
2
votes
2answers
50 views

Combine image with URL into one image

I have images from the internet and the corresponding URLs. I want to combine the image and the URL into one image. I don't want the URL to be placed over part of the image, but want the URL under the ...
5
votes
1answer
135 views

3D ImageCooccurrence

I'd like to compute ImageCooccurence for an Image3D object. Mathematica advertises that "Now essentially any operation ...
1
vote
0answers
24 views

Acquiring images from Zwo ASI camera in Mathematica Home Edition v 11.2.0.0

I plan to use a ZWO ASI planetary camera (USB connection) for astronomical photography and would like to control the image acquisition using Mathematica. The issue is that although I have installed ...
8
votes
2answers
213 views

Counting the number of triangles inside $3-4-5-$triangle [Found in Arabic Math book: الرياضيات | هندسة الإحداثيات | الإحصاء]

Actually, I have no knowledge in Mathematica. I posted a mathematical problem in math.SE, but user170231 suggested me to post it here. He said it can be solved using "way of image processing". If ...
2
votes
2answers
48 views

Counting distinct values over sliding windows in images & lists

I am trying to count the number of distinct colours in a $5\times5$ box, (a radius 2 filter) at all points over a quantized image. I cannot seem to get anything out of the following code except for a ...
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 ...
8
votes
1answer
464 views

Rendering PNG images to spline curves

I found something interesting on this page (Generic contour smoothing with shading) that could help me improve my images. Unfortunately, they can only be used with graphics generated by the software ...
12
votes
2answers
364 views

Detecting two (almost) vertical lines, and find the gap between them in (pxl)

I have no knowledge in mathematica, python, and other great softwares. I saw the following picture in a website; Where a software detects objects (like bus) and tells about its height or width or ...
2
votes
0answers
75 views

Mathematica 12.1 trial version, very slow to evaluate a property in multiple pictures

I am a new mathematica user. I am using the following code to measure the internal rectangle width in some images. When I run mathematica for $1$ image, it takes a short time. Also, it works and it ...

1
2 3 4 5
28