Questions tagged [image-processing]
Questions on the image processing capabilities implemented in Mathematica.
1,664
questions
0
votes
1
answer
99
views
Estimation of particle displacement in meters from consecutive images
I have two images (img1,img2) in which the particles have moved. I obtained their displacements from the ImageDisplacements command, but I don't know how to ...
2
votes
2
answers
244
views
How to remove the circled numbers from the image and obtain an image without circled numbers?
Initial image:
Target image:
My personal attempt was as follows, but I didn't completely clean it up.
In the context, "image" refers to the initial image.
...
0
votes
0
answers
45
views
How to calculate the average stream velocity from the segmentation of video frames?
I have a 10 second video of a river flowing. I want to calculate the velocity of the river flow using optical flow. In this operation, I used the ImageDisplacements ...
0
votes
0
answers
74
views
Box Scans in a Cartoon Warehouse
I used to be a package handler and was very slow at first. Part of the job was to find the appropriate barcode and then scan it.
I sped up a lot after realizing that if I grab opposite corners, then ...
5
votes
1
answer
196
views
Is it possible to straighten lines of text in an image?
I have a great many images of text that I have created to obtain texts and abstracts from older literature (copyrights expired) for which pdf files are not available. Because of the shear number, I ...
0
votes
0
answers
25
views
Function LaplaceGaussian Filter -> What exactly is standardized, if this option is chosen?
I try to figure out what the option Standardized->True for function LaplacianGaussianFilter exactly means. I understand that it guarantees that the sum over the Kernel is exactly zero. But what ...
6
votes
2
answers
114
views
Detecting and converting a number from a video (digital panel) into an actual number
Let's say I have video (mp4) of length 02:17:38 (hh:mm:ss), this video is a record of a temperature panel, as shown in the following image. How can I use mathematica to extract the temperature, given ...
1
vote
0
answers
71
views
Straightening out rumpled striped bedsheets
I was motivated to investigate this from an seeing a Greg's Hurst answer for a different question. I was curious how to find out what the sheet would look like when flattened with proper size and all ...
4
votes
1
answer
181
views
Using mathematica to find the equation of curves, by providing images, providing constraints, or both
By "collaborate", I mean to give some instructions or constraints.
Consider the following curves: (as examples, only to illustrate my question in a better way):
Curve (I): Assume it is f ...
7
votes
1
answer
1k
views
How to animate an impossible image
Could someone help me generate movement for this image
This image is like an impossible figure, yet I have seen similar ones but I can't imagine how to give it movement.
thanks in advance
4
votes
1
answer
133
views
Finding centers and radii of multiple circles in a dense image
I'm trying to locate and write in a file the coordinates (X,Y) of the centres of multiple circles, and their radii, in a 2D dense image. The circles have two different radii (but, in general, they ...
4
votes
1
answer
114
views
How can I combine a selections of video frames into a composite using Mathematica?
I'd like to use Mathematica to be able to turn videos of my students dropping balls into a composit image of selected frames showing the path of the ball. Like a multiple exposure image.
So far, I've ...
3
votes
1
answer
124
views
MorphologicalGraph returning different graphs for visually indistinguishable images
I am using MorphologicalGraph on two images, which are visually indistinguishable, but the resulting graphs are different.
...
2
votes
0
answers
74
views
FindImageShapes for "Rectangles"?
I need to find affine projections of rectangular content in an image, e.g., paintings, postcards, posters, etc.
I was surprised that FindImageShapes only supports ...
5
votes
3
answers
359
views
How to obtain the list of outermost graph nodes
For the following image:
The attached code produces a graph.
...
10
votes
1
answer
550
views
How can I use GLSL shaders within Mathematica?
The function SurfaceAppearance provides a number of preset shaders for use in Graphics and ...
1
vote
0
answers
40
views
Image forward and backward transformations discrepency
Why are images transformed by ImageTransformation always a better quality than by ImageForwardTransformation?
Is it a bug or is ...
0
votes
0
answers
46
views
How to extract viewership data and what kind of distribution should describe youtube viewership for events in a video?
This is actually a 2-in-one question.
I am a big chess fan, and I have been following the FIDE candidates tournament closely. I was watching an older interview where IM Levi Rozman interviews GM Ian ...
8
votes
1
answer
193
views
Electronic Einstein - Reproducing Herbert W. Franke's dissolving images
Herbert W. Franke
Herbert W. Franke (1927 - 2022) was an Austrian scientist and writer. He was one of the important early computer artists, creating digital art since the early 1950s. Franke, a jack-...
0
votes
2
answers
130
views
How to find curved line in image? [closed]
What's the best way to find smooth curves in an image? I can use EdgeDetect[] to generate a binary image with what looks to my human eye like two distinct smooth curves, and I can get the coordinates ...
6
votes
2
answers
212
views
Crop images with two borders
I often download images with two borders (frame and mat). Here is an example downloaded from link:
...
1
vote
1
answer
303
views
How to solve and output the coloring problem in permutations and combinations?
Apply the four different colors red, yellow, green, and black to the areas in the figure shown below, with the requirement that adjacent areas cannot have the same color. How many different coloring ...
1
vote
0
answers
38
views
remove the text of the images [duplicate]
I want to remove the text of the image in Mathematica. Can someone help me remove the text from the image?
4
votes
1
answer
95
views
ImageData returns slightly different RGB values than specified when creating a graphic
Why does the following not return precisely {0.99,0.5,0.49}?
Is there a way to avoid the discrepancy?
...
8
votes
0
answers
289
views
How to Calculate Biharmonic Distance in MMA?
There are many kinds of distances. One of them is Biharmonic Distance where I got the the image below from:
The biharmonic examples are on the left, and the author kept his promise in the paper that ...
2
votes
1
answer
79
views
Is there a good way to shorten time to Export many pictures?
I want to export many PNG pictures using Mathematica. However, it takes too much time.
To make matters worse, sometimes it suddenly aborts. With any pictures, I have same problem.
For example, I ...
5
votes
1
answer
270
views
Making Adjacency Matrix from Maps
I want to make an adjacency matrix for the world/each country at a specified administrative level. This is very easy to do for countries in Mathematica, but is not straightforward for different ...
3
votes
1
answer
67
views
ImagePartition with offset. Something wrong with the number of images
I want to do ImagePartition with offset whose offset size is different with x(horizontal) and y(vertical).
Here I got Lena image from
https://en.wikipedia.org/wiki/Lenna#/media/File:Lenna_(test_image)....
5
votes
1
answer
314
views
How to paint a window in my house yellow? [image processing with Mathematica]
I first cut out the window from the image of the house, paint it yellow, and then overlay it on the image of the house.
I have two questions:
(1) Why did the yellow window and the house get misaligned ...
2
votes
1
answer
114
views
Problem when extracting data of a closed curve from a black and white image: how to find the correct transformation of coordinates?
I am trying to extract the data of the closed curve from a black and white image.
But the coordinates of the curve I extraced are wrong, as seen in my result .
For example, the x-coordinate of my ...
3
votes
2
answers
91
views
Why my trimmed image is blank and the imported image is so small?
This is the first time I use Mathematica to do image processing, and I just want to remove the coordinate axes from this image.
Initially, I obtained the coordinates of the bottom-left corner as ...
4
votes
1
answer
288
views
Recognizing a Higher Percentage of Multiple Barcodes from an Image
I would like a path or way to find barcodes in an image and read more of them and ideally quicker (It is very slow for an image).
So, BarcodeRecognize[] already ...
1
vote
1
answer
116
views
Determining Conformal Map from Conformal Factor
I am working on a project and need to apply a certain (Lorentzian) conformal transformation, $\psi:\mathbb{R}^2\mapsto \mathbb{R}^2$, to a figure which I have generated numerically in Mathematica. I ...
3
votes
1
answer
126
views
Reading Custom Barcodes
So, I have a function called sillyBarcodeMaker[]. It generates images like:
But when I use ...
2
votes
0
answers
53
views
Publishing image classifier as a website or to the cloud
I have made an image classifier by importing images and training my neural network, and I would like to share this classifier with my colleagues that don't have access to Mathematica.
However, if I ...
0
votes
0
answers
26
views
Geometric transformation of ImageAlign
Hi I am trying to find the geometric transformation following an image align. However I am getting I am not sure how to deal with the crop aspect.
For example:
Here are the 2 images I am trying to ...
6
votes
2
answers
1k
views
Estimating colored areas on an image
I have an image of a figure:
I want to estimate the areas of colored regions separately. If data are available, then one could apply ...
1
vote
0
answers
42
views
What is the definition of ImageCorrelate?
I do not understand how ImageCorrelate works. So I made a test below. Define
...
0
votes
0
answers
27
views
Overlaying and cropping following image alignment
Using the ImageAlign function and the surf algorithm I have aligned 2 images. In an attempt to overlay the new images I have used ColorCombine. From the resulting image I would like to crop the parts ...
10
votes
1
answer
565
views
Making a Scanimation
Scanimations are also known as a barrier grid animation. These work by overlaying a screen with black (or in the gif below, red) bars separated by transparent bars.
The red bar width is an integer ...
3
votes
1
answer
204
views
Convert black and white pictures into color images
I have a digital image of an old black and white picture. Is it possible, using Mathematica, to convert this old picture into a black and white image? For example:
This transformation was done using ...
1
vote
1
answer
229
views
Finding Contours in Photo to Create a Topographical Map
I am setting up a special table to simulate the scenario in this problem in this problem, but instead of finding the geodesics, I want to create a topographical map using the contours.
Here is a ...
3
votes
2
answers
205
views
Keys in the vicinity
What I want to do is to recognize keys in the image and create a list of keys around every key that fall within a pentagonal (or similar) region. These are the ones that can be accidentally pressed ...
0
votes
1
answer
58
views
Creating an If function for the probabilities of the classes of images after using NetTrain
So I have 3 Classes the model can output after veiwing an image, at the moment it has a 70% accuracy, however this is not an issue as the plan is unless it's 85%+ sure on the Probability of the class ...
19
votes
1
answer
2k
views
Efficiently Mowing Grass with Mathematica
Recently, I was mowing my yard and was thinking about how to use the least amount of time/fuel and how to simulate.
Mowing a yard that is shaped as a convex polygon is not difficult, you can just make ...
4
votes
2
answers
223
views
Gray level shading of image histogram bins
How to shade bins in an ImageHistogram to match the image GrayLevel?
Inputs
Import the following graphic:
...
13
votes
1
answer
337
views
Lens on a map. Realistic imitation of magnifying glass on images with text and other small features
UPDATE: Code from this post was used for video generation here:
Cinematically moving a lens over images: magnifying glass effect in videos
I am trying to create a magnifying glass effect for images ...
1
vote
0
answers
110
views
Morphing curves with ImagePeriodogram
Any idea how to achieve smooth transition from one image to another (so that the curves are morphing from one shape to another)?
I am aware that ImagePeriodogram ...
1
vote
2
answers
149
views
How to calculate the depth of the lake in mathematica?
I want to calculate mean depth of Goose lake (mean depth=4.6 m), I use bellow command for this operation, But this command is not automatic and we have to create the coordinates manually, and on the ...
8
votes
2
answers
199
views
Getting Area from GeoGraphics
I want to find the area covered by the reservoir of a dam using a satellite image.
This is what I have so far.
...