Skip to main content

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
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 ...
Erfan's user avatar
  • 155
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. ...
csn899's user avatar
  • 4,832
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 ...
Erfan's user avatar
  • 155
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 ...
Teg Louis's user avatar
  • 114
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 ...
Stuart Poss's user avatar
  • 1,943
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 ...
user11881's user avatar
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 ...
Hussain-Alqatari's user avatar
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 ...
Teg Louis's user avatar
  • 114
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 ...
Hussain-Alqatari's user avatar
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
zeros's user avatar
  • 2,345
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 ...
koy's user avatar
  • 43
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 ...
David Elm's user avatar
  • 425
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. ...
csn899's user avatar
  • 4,832
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 ...
user5601's user avatar
  • 3,780
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. ...
csn899's user avatar
  • 4,832
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 ...
flinty's user avatar
  • 25.6k
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 ...
azerbajdzan's user avatar
  • 20.9k
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 ...
ydd's user avatar
  • 5,042
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-...
eldo's user avatar
  • 82.4k
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 ...
David's user avatar
  • 101
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: ...
eldo's user avatar
  • 82.4k
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 ...
csn899's user avatar
  • 4,832
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?
aynaz's user avatar
  • 11
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? ...
Joshua's user avatar
  • 41
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 ...
Teg Louis's user avatar
  • 114
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 ...
rani's user avatar
  • 365
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 ...
Teg Louis's user avatar
  • 114
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)....
rani's user avatar
  • 365
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 ...
xinxin guo's user avatar
  • 1,467
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 ...
xinxin guo's user avatar
  • 1,467
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 ...
xinxin guo's user avatar
  • 1,467
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 ...
Teg Louis's user avatar
  • 114
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 ...
Daniel Grimmer's user avatar
3 votes
1 answer
126 views

Reading Custom Barcodes

So, I have a function called sillyBarcodeMaker[]. It generates images like: But when I use ...
Teg Louis's user avatar
  • 114
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 ...
Lewis Ryan MH's user avatar
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 ...
mdansfo's user avatar
  • 21
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 ...
Tugrul Temel's user avatar
  • 6,263
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 ...
matheorem's user avatar
  • 17.3k
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 ...
mdansfo's user avatar
  • 21
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 ...
Tomi's user avatar
  • 4,594
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 ...
Michiel van Mens's user avatar
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 ...
Teg Louis's user avatar
  • 114
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 ...
Syed's user avatar
  • 56.1k
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 ...
Lewis Ryan MH's user avatar
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 ...
Teg Louis's user avatar
  • 114
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: ...
dantopa's user avatar
  • 1,092
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 ...
Vitaliy Kaurov's user avatar
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 ...
azerbajdzan's user avatar
  • 20.9k
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 ...
Erfan's user avatar
  • 155
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. ...
Navvye's user avatar
  • 171

1
2 3 4 5
34