Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
3
votes
0answers
57 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 ...
2
votes
1answer
73 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
73 views
+50

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) ...
2
votes
0answers
21 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 ...
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 ...
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 ...
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 ...
4
votes
1answer
68 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: ...
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
269 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?
0
votes
0answers
65 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 ...
1
vote
1answer
125 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
112 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 ...
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: ...
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 ...
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 ...
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 ...
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
248 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 ...
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 ...
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 ...
5
votes
1answer
135 views

3D ImageCooccurrence

I'd like to compute ImageCooccurence for an Image3D object. Mathematica advertises that "Now essentially any operation ...
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
463 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 ...
2
votes
0answers
74 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 ...
0
votes
0answers
55 views

$1)$ Combining codes. $2)$ Editing them. $3)$ Evaluating the outputs

I asked a question here. kglr answer was GOOD because that measurement is what I meant exactly. Due to my knowledge in mathematica (I am a $2$-days user), I have some problems (I believe that users ...
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 ...
3
votes
2answers
90 views

Video segmentation

Mathematica v12.1 introduced Video and various functions like VideoFrameMap and ...
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,...
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 ...
3
votes
1answer
94 views

Detecting line crossings on an image

I want to detect line crossings, especially in the supplied example images the crossings at edges of pavement for feature tracking. I specifically want to avoid tracking other kinds of features in the ...
3
votes
2answers
105 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
0answers
64 views

saving edited Mathematica image at high resolution

I've created several graphs for a book I'm writing by using Mathematica commands to create an output image and then adding labels, etc. with Mathematica's drawing tools. My issue is that I can't seem ...
5
votes
3answers
198 views

Obtain subimages from a binary image with specified neighbourhood

Lets say I have this binary picture (an array with 1's and 0's): ...
3
votes
0answers
48 views

How to fit the image in the filling region?

Consider the following fillings: ...
0
votes
1answer
39 views

How to plot a greyscale image as a 3D plot for larger images?

I was following the post: Display grayscale image as 3d plot But the method failed for any image of substantial size (in my case when the data size is of order 3072x4096). Ram usage on my machine ...
2
votes
1answer
64 views

Is there a simple way to get the colour of a pixel?

PixelValue will extract the channel values at a certain pixel. It returns a vector of numbers, not a colour. Is there a simple way to extract the colour of a pixel ...
2
votes
0answers
45 views

Select image pixels of a certain colour

PixelValuePositions[image, colour, distance] returns the positions of pixels within a certain "distance" of a given colour. Is there an equivalent function that ...
0
votes
1answer
60 views

How to resize a series of images to a given total file size while keeping their relative size?

I have multiple image files, file1.jpeg, file2.png, file3.gif, ..., whose sizes are 984KB, 10MB, 5.1MB, .... I'd like to resize them so Each image file, when open, have the same aspect ratio as the ...
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 ...
0
votes
0answers
39 views

Construct UI for image

I am trying to build the User interface, whereby when binarize is clicked, it gives its slider and its respective MeanIntensity and StandardDeviation. The same for EdgeDetect and MorpologicalBinarize. ...

1
2 3 4 5
28