Skip to main content

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
3 votes
1 answer
114 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,315
0 votes
0 answers
25 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,625
5 votes
3 answers
337 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,315
9 votes
1 answer
512 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.5k
1 vote
0 answers
35 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
  • 18.6k
0 votes
0 answers
32 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
  • 3,810
8 votes
1 answer
175 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
  • 74.1k
0 votes
2 answers
119 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
210 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
  • 74.1k
1 vote
1 answer
286 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,315
1 vote
0 answers
36 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
92 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
270 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
2 votes
1 answer
76 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
  • 321
5 votes
1 answer
249 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
3 votes
1 answer
66 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
  • 321
5 votes
1 answer
310 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,335
2 votes
1 answer
112 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,335
3 votes
2 answers
86 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,335
4 votes
1 answer
272 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
1 vote
1 answer
111 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
124 views

Reading Custom Barcodes

So, I have a function called sillyBarcodeMaker[]. It generates images like: But when I use ...
Teg Louis's user avatar
2 votes
0 answers
52 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
23 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,223
1 vote
0 answers
37 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.2k
0 votes
0 answers
25 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
461 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,376
3 votes
1 answer
184 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
0 votes
1 answer
199 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
3 votes
2 answers
200 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
  • 55.3k
0 votes
1 answer
54 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
4 votes
2 answers
212 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,070
13 votes
1 answer
327 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
102 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
  • 18.6k
1 vote
2 answers
144 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
  • 169
8 votes
2 answers
191 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
8 votes
2 answers
373 views

Reverse the rotation of an animated gif and create a mirror image of it

I need Mathematica code to reverse the rotation direction and viewpoint of an animated GIF named "wheel." The current rotation is counterclockwise, and I need it to rotate clockwise while ...
Pamela's user avatar
  • 309
3 votes
0 answers
130 views

How to estimate Lake area and volume in Mathematica?

I have a satellite image of the lake and I want to estimate its area and volume. Actual volume:1.49*10e8 m^3 Actual Area:36.9 km^2 I did the following command to find the volume, but it is not very ...
Erfan's user avatar
  • 169
1 vote
0 answers
45 views

Finding and manually weeding out images in ClusteringComponents clusters

I have processed images using the following code, where list1 and list 2 are x and y axes, sample of images: ...
atomic-muclei's user avatar
0 votes
0 answers
73 views

How to extract shape from image in the Mathematica?

I have some satellite images for the lakes. How to extract the shape of the lake with maximum accuracy from the image?
Erfan's user avatar
  • 169
1 vote
0 answers
76 views

Finding how far an image has moved a very small x distance

I am trying to process 200+ images (10 datasets, each set contains ~20 images) and see how much each image changes or moves compared to a starting position for a dataset. The problem is, I expect a ...
atomic-muclei's user avatar
1 vote
2 answers
155 views

How to do edge detection in Mathematica?

I have some pictures of water level and I want to do edge detection, I used the following command, but this command is vertical edge detection and I want horizontal edge detection and water level. ...
Erfan's user avatar
  • 169
3 votes
1 answer
59 views

Obtaining the numerical value of barcharts from a plot in an image

I am struggling to obtain the numerical values {x,y} of the barcharts in this plot. Ideally with an automated routine. Time ago, I developed a routine to do it in ...
Luigi's user avatar
  • 1,301
7 votes
4 answers
1k views

Converting an Unicode's image into polygon data for an SVG

So, I have the the Chinese character 熙, which I can easily turn into an image: img=Rasterize[Text[Style[FromCharacterCode[{29081}], FontSize -> 300]]] which ...
Teg Louis's user avatar
0 votes
0 answers
32 views

What is the network structure of Ademxapp Model A1 Trained on Cityscapes Data in the Mathematica?

I want to implement the model (Ademxapp Model A1 Trained on Cityscapes Data) on my data for segmentation, so I need the partial structure of this model, can anyone help?
Erfan's user avatar
  • 169
2 votes
3 answers
171 views

How to design a mountain logo

I want to create mountain logos similar to this one: I started accumalating random integer sequences looking for a solution with the Filling-option of ...
eldo's user avatar
  • 74.1k
0 votes
1 answer
99 views

How to take a satellite image in Mathematica at different times?

I want to see the satellite image of the same area at different times. But by entering the following code, also shows the same picture with changing times. ...
Erfan's user avatar
  • 169
3 votes
0 answers
133 views

How to get satellite image directly from Mathematica?

First, I get the image of the bands of the desired area from the site https://earthexplorer.usgs.gov/, then I import the images into Mathmatica by addressing them as below: Select dataset directory: <...
Erfan's user avatar
  • 169

1
2 3 4 5
34