Questions tagged [image-processing]
Questions on the image processing capabilities implemented in Mathematica.
1,591
questions
0
votes
1
answer
26
views
Adding unit square axes to an array plot
I want to take the image created by ArrayPlot of a matrix A and add axes with the origin at the top left so that the image looks like the density plot of a function on [0,1]^2.
...
0
votes
0
answers
30
views
How would I convert AircraftData[] to an Entity[] that could be used with ImageIdentify[]?
I am working on a Design of Experiments to determine the image adjustment settings for a given collection of aircraft images to maximize the probabilities of correctly identifying the aircraft types ...
0
votes
0
answers
39
views
How could I draw a picture by connecting stars between them?
My idea is to try to make a program which would be able to trace a given picture in the sky, by simply connecting stars. Therefore, I have two questions.
Is it possible to convert the product of an ...
0
votes
1
answer
40
views
3
votes
1
answer
62
views
Is it possible to ask Mathematica to crop only the red area in the given code?
I am using this code
...
1
vote
1
answer
30
views
Why does ImageRecognition recognise some concepts in a list of concepts but not others?
Why can I successfully use an option list of the dog and cat entities with the ImageRecognition function but not use a similar option list for two aircraft entities
1
vote
2
answers
70
views
How to set the width of grid elements in cm?
As a 'painter', I use photos. To get a good projection of a photo on the canvas I use a grid. I draw this grid both on the canvas and on the photo. It is an easy way to get the proportions right that ...
0
votes
1
answer
39
views
What's the expression of Transformation T in area-based Image operations such as ImageFilter and ImageConvolve?
in the “tutorial/ImageProcessing”, as the following picture shows
I just wonder what's the expression of the T in the area-based image operations such as ...
3
votes
1
answer
60
views
Detecting lines in a 3D dataset
Premise
I have a 3D dataset of a system responding to different frequencies
https://pastebin.com/9MyQ6S74
(x: imposed frequency (f1)
y: response frequency
z: response amplitude)
I know that the system ...
8
votes
1
answer
168
views
Automatic image recognition of Lissajous figures on oscilloscope
I have thousands of oscilloscope images showing Lissajous figures for example like below 4x5 image collection
Define a function that can generate various Lissajous figures
...
1
vote
0
answers
42
views
Why CUDAImageMultiply so slow in such cases? How can I speed up it
When I'm doing Image composition task, I want to use CUDAImageMultiply to speedup my performance, however, After trying it, CUDA is very slow, I've tested the ...
1
vote
1
answer
52
views
How to compare two ParametriPlots for different problems?
I have solved the following problem for these two situations and created their plots. Now I want to contrast the same axis system in the two plots. I used ...
2
votes
0
answers
29
views
Generalise ImageLines to Image3DPlanes?
Context
I am interested in detecting (multiple) planes in a cube.
Test case
Let me first define a test case:
...
0
votes
0
answers
50
views
How to read .vtu files?
I see the Import function can import .vtk files. But how about .vtu files? Is there an ...
2
votes
1
answer
65
views
2
votes
1
answer
217
views
How to digitize and edit a plot in Mathematica, which is produced by another software?
For my thesis, I have produced all my plots with Mathematica. Now, I need to incorporate two plots, which are produced by another software and I don't have the source code anymore. Here is one of the ...
0
votes
0
answers
28
views
Bilinear method in ImageResize
In old versions of Wolfram Mathematica, we have Method option in ImageResize, now we have ...
4
votes
2
answers
302
views
How to detect the cross in the center?
No matter how I rotate this image, it has a cross in its spectrum. Is there a good way to detect the cross in the center?
...
3
votes
3
answers
220
views
Why does FillingTransform not fill the enclosed areas on the edges in image
FillingTransform
And this is what the result becomes:
I want to fill the squares in the edges as well, how can I do that?
4
votes
1
answer
123
views
Image Segmentation for Grid and fence of cage in Frequency Domain
I want to analysis the pattern of this kind of grid of cage, and remove them in frequency domain.
The goal image is like that shown by imgFinal, it's not an ...
0
votes
1
answer
96
views
Getting the real coordinates of a point by using the "Get Coordinates"
I had previously asked a question here, how to get the real coordinates of the points in the following figure by Mathematica:
Two answers were provided, which by using them, I could get almost all ...
0
votes
0
answers
37
views
Image Processing [duplicate]
How do I go about applying localized histogram equalization to the image below to a neighbourhood of size 5x5 of each pixel of the image?? Please help.
0
votes
1
answer
116
views
Digital Image Processing
I want to apply do some transformations to the attached image below to enhance quality, please help
2
votes
2
answers
352
views
How to reproduce such a plot in Mathematica?
Is there any possibility to reproduce the following in Mathematica:
Based on my previous question here, I can obtain the real coordinates of some of the points, in particular those whose their $x$ ...
8
votes
3
answers
276
views
Fast Segmentation
Imagine I have an image of a segmented tissue as follows
what is the fastest way of converting such an image into a mesh-type object in Mathematica? I am familiar with ...
2
votes
1
answer
151
views
What are all the ways to remove noise from an image and how to choose the right method?
I am learning how to use image processing and I am a bit overwhelmed by all the options to remove speckle noise in an image. Here is a list of functions that I learned about:
...
0
votes
0
answers
54
views
How to repair possible origin problem in png files?
i tell you, my daughter uses a figure cutting program called Silhouette Studio and loads and traces png files so that later a machine cuts them, recently she acquired some png files that behave in a ...
3
votes
1
answer
180
views
Image distance between noisy and clean images
This is what I am trying to do:
Download MNIST images:
...
2
votes
2
answers
144
views
Reading heights of bars in a published figure
I have the following image:
I want to draw ten horizontal lines (per 5% interval shown) stretching across the image and starting at the y-axis. The intention is to read the exact height of each bar. ...
12
votes
4
answers
1k
views
Text recognition - extracting table of text from image
I want to extract table from the image bellow as a list of strings. I tried the following but it does not work.
...
0
votes
0
answers
69
views
Motion blurring in the frequency domain
My task is to implement a motion blurring filter via the frequency domain. The transfer function for this is as follows:
I previously consulted this answer for starter code. My function is shown below:...
1
vote
1
answer
135
views
Recovering data points and reproducing a figure
Yesterday, I asked a question here, that how can one read off the coordinates of the points and reproduce a published plot. Daniel Huber provided an immensely helpful answer and I could reproduce the ...
0
votes
1
answer
144
views
How to reproduce a figure of a paper in Mathematica? [duplicate]
I have the following figure:
I'd like to reproduce it in Mathematica. It's doable to read the positions of the points by eye and then plot them; but, is there a more precise way of doing it?
2
votes
1
answer
88
views
Why do two images of same ImageDimensions display very differently in notebook?
I've downloaded two images from the internet. They are identical sizes, yet they are displayed quite differently in the notebook.
Why?
Here's the example:
...
0
votes
0
answers
30
views
Is it possible to block the random Effect of Gaussian Noise in several channels of a RGB image
Consider a RGB image, Lena sample image. We've added an GaussianNoise.
Actually, I think, the ...
1
vote
1
answer
70
views
How to Generate an 3 channels image like that done by Exporting as PNG with ColorMapLength option
data=Uncompress[FromCharacterCode[
Flatten[ImageData[Import["https://i.stack.imgur.com/67lQS.png"],"Byte"]]]];
img=Image[data]
This is the ...
5
votes
1
answer
174
views
Sort symbols or characters by image complexity
As an example, I would like to sort the following characters by some sort of complexity measure:
...
2
votes
1
answer
198
views
How to obtain a crisp maybe vector graphics format image from a symbollic expression
[EDIT : The image should stay within Mathematica so I can not use Export["file.svg", expression] as Import does not ...
8
votes
1
answer
137
views
Detecting Hexagonal Components in Images
I am trying to detect and characterize the size, orientation, and centroid of nearly perfect hexagonal features in images. The built-in MorphologicalComponents ...
0
votes
0
answers
60
views
How to restore a photo by using two photos
I have same two photos. They are both in need of restoration. How can I sort of combine them such that I get the best of both worlds?
Image#1
Image#2
3
votes
1
answer
78
views
How to make a drop-shadow for a Graphics3D lines and curves?
I have a plane a one line parallel to the plane and I want to make a drop-shadow for this line onto the plane. I try Blur but I had have no succes and I did it ...
1
vote
0
answers
69
views
How to remove the background from a bokeh photo?
Is there a way to remove the bokeh background from photos using Mathematica? An example photo is given below.
I tried the methods answered here and here but they don't seem to work.
2
votes
0
answers
60
views
Parallel image comparison function keeps increasing memory
I have written the following code to align two arbitrary images:
...
8
votes
3
answers
290
views
How to get the width of the largest-area rectangle that contains only black pixels in a binarized image
The following image is only for illustration and I am not sure if that is really the largest-area rectangle with only black pixels.
So the largest-area rectangle is possibly this (in Red):
The ...
2
votes
0
answers
47
views
Is it possible to extract geometric transforms from ImageStitch (Mathematica 13)?
Is there a way to extract the Method settings and/or geometric transforms that ImageStitch[] (Mathematica 13) uses to compose a list of images? I have ~40 digital microscope image frames along with ...
3
votes
1
answer
193
views
Different image brightness when exporting same plot to PDF and PNG
I noticed that exporting a plot to PDF results in increased brightness relative to exporting the same plot to PNG.
Here are screenshots of a PDF and a PNG obtained from the same plot. As you can see, ...
5
votes
2
answers
475
views
2D Projection of a 3D plot on the three walls using three different colours
I was plotting Lorenz Attractor in 3D. Now, I wanted to take three projections of it on three different planes(XY, YZ, ZX) with four different colours. I mean I want my 3D attractor in one colour and ...
4
votes
1
answer
239
views
How to get the cross sectional area of a wine bottle picture/photo by doing an appropiate image processing on it?
We are working on a PDE Acoustic model in which the geometry of analysis
is the cross-sectional area of a wine bottle. We want to get the
geometry from a wine bottle image by doing an appropriate ...
2
votes
1
answer
169
views
Apparent bug in ImageHistogram
When building a simple image with only red
Rred = Image[Table[{r, 0, 0}, {r, 0, 255}, {g, 0, 255}], "Byte"],
the corresponding histogram displays badly:
each channel has a wrong colour
...
1
vote
0
answers
27
views
How can I get a BarLegend for ImageDisplacements?
I'm trying to compute Optical flow using ImageDisplacements.In the example given in the documentation, there is a figure showing the levels of displacement. How can I get a Barlegend or something ...