Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
3
votes
2answers
132 views

Importing an image and getting the real size between circles

I have taken this picture from a scientific paper: The paper says that the size of picture is 92.3 microns. By importing the picture in Mathematica and right-clicking on it and using Get Coordinates, ...
0
votes
0answers
20 views

How to make eplilog text visible while exporting plot as pdf?

I am having this problem that if I add some epilog text in a plot by rotating it, then while I export the plot as pdf, the text becomes invisible. It works fine if I export it as jpeg or png. What ...
4
votes
2answers
201 views

Speed up posterize image function

I have a list of colours that I would like to "posterize" an image into. I am using the following code, which converts the hues to points in an hsb colour space, then uses the replace rule: <...
0
votes
0answers
46 views

Can you manipulate and colorize this image to show more detail than the original grayscale image?

I've run out of ideas. Nothing seems to bring out detail. It's a rather interesting image ... ...
4
votes
1answer
189 views

How to Extract (Magnetic) XYZ Data Points from Color (Airborne Magnetic Survey) Image and Legend

I've been trying to work my way through this by working through search results like: Data extraction from a picture of a graph Numeric data from a color map Extract bathymetry data from a map I can't ...
1
vote
1answer
62 views

How to align a network graph to an image?

An arbitrary example: Create a random image Image[RandomReal[{0, 1}, {10, 10}], ImageSize -> Medium] Define some points and a graph to align ...
1
vote
3answers
99 views

ImagePad up to AspectRatio

I cannot come up with idiomatic Mathematica code to solve this simple problem: take: image and desired aspect ratio get image dimensions upsize the dimensions to desired aspect ratio return...
9
votes
1answer
182 views

Digitizing a geometrical sensor

I want to quantify the flow from photos taken from a sensor such as this one: For a limited number of readings, I can use a plot digitization method. However, I need to do this many times for ...
2
votes
1answer
72 views

Obtaining contours of the image

I would like to obtain contours(outline) of the image (black and white thin curve version of the original image). Outline that would just look nice. First attempt I first try using ...
1
vote
0answers
34 views

Image Perspective Transformations

I'm trying to detect the license plate in these types of images which may be captured from various perspectives and lighting I've found it easiest to detect these two points corresponding to the ...
1
vote
1answer
101 views

map distortions in colour wheel as a function

It appears that Adobe have distorted their colour distribution screenshot of image from Adobe Color: evenly distributed colour wheel: How can I use mathematica to map the colours and plot the ...
5
votes
2answers
237 views

Fit ellipse to a arbitrary 2D image to extract centroid, orientation, major, minor axis

I am wondering if there is an easy way to fit an ellipse into an arbitrary 2D image quickly, so its centroid, orientation, major, and minor axis length can directly be extracted. In MATLAB, this can ...
5
votes
1answer
104 views

Counting dots/circles in an image

I'm testing to see if I can count/draw circles around dots I drew on a piece of paper, this research is for my thesis as I want to count the amount of pinholes in a composite laminate. I tried several ...
2
votes
0answers
70 views

Seeming hard-limit on image resolution?

I am trying to generate some very large images of the basins of attraction of a dynamical system. However, the resolution of the images seems to cap out at 10001 x 10001 pixels, and no arrangement of ...
1
vote
1answer
66 views

Detect and correct sheared squares in image

I have the image I want to detect the plots and warp them into perfect squares. My workflow so far: corners=ImageCorners[img,10]; This returns a lot of corners, ...
1
vote
1answer
55 views

ClassifierMeasurements returns strange errors

I am following the example listed on this page ResNet 50 to train a custom classifier and inspect the outcome with ClassifierMeasurements. My training set has 443 images from more than 30 classes. The ...
10
votes
2answers
269 views

How to fit a curve in a picture with an equation?

For a curve taken from a picture, is there any method to fit it with an equation if it appears to be some standard curve? For example, in the following picture, the curve looks like an ellipse or a ...
3
votes
1answer
58 views

How to crop image using Rectangle?

I use ImageBoundingBoxes to get the bounding boxes of objects in an image. I then want to crop out each object and I tried directly passing the Rectangle objects ...
3
votes
0answers
31 views

extract dynamic values from video frames [duplicate]

I have a video recording the time and temperature during the experiment. I would like to ask whether it is possible for MMA to extract the above two values (highlighted in red boxes) from the frames ...
4
votes
3answers
250 views

Remove some of the background noise to get clear microscopic image

I have a microscopic image (img1). I need to analyse it to be like the following image (img2): But how do I do it in Mathematica (I am using Mathematica 9)? I am not much familiar with the ...
2
votes
1answer
161 views

How to dilate binary image from outside-to-inside?

I have a binary image of a line, like this one: What I'd like to do is to dilate the line, but only towards the 'inside' of the line. That is, to add white pixels towards the center of the image, ...
4
votes
3answers
142 views

How to do a “random” image partition based on seeding points?

I'm new to image analysis with Mathematica, so far it looks it has great capabilities. I'm trying to do an image partition, similar to ImagePartition[], but "random". Suppose I have the ...
1
vote
3answers
118 views

How to make a 3D plot of light intensity for an image of a rectangular diffraction pattern?

A point source of light passing through a rectangular aperture causes a diffraction pattern that is a extension of a single single diffraction pattern (In that the pattern appears in 2 axes). The ...
4
votes
1answer
45 views

How to transform an image into a panning video?

NASA released a panorama image of Mars taken by the Perseverance Navcams 360-Degree Panorama Camera on February 22, 2021. I would like to have that image as an animated background for my Zoom meetings,...
2
votes
1answer
105 views

ImageData of an image section

How can I take the image data of the area around a max? ...
6
votes
1answer
178 views

How to add hexagon mosaic to a photo?

I want to put a hexagon mosaic on the area of the picture (the effect is similar to the figure below): ...
1
vote
3answers
74 views

Obtaining Pixel Values, from an image, while being able to zoom

I've built a small manipulate widget to extract a pixel value from an image whereever the mouse is clicked: ...
2
votes
1answer
81 views

Problem with tracing a marker in an image

My problem seems simple: I try to follow a marker across a number of images. All work fine, but when I update the marker from image to image, I observe a weird oscillatory behavior. I isolated the ...
2
votes
2answers
54 views

Number of similar pixels on a loop arround some pixel

I defined a command ŠtejTakePiksleOkol, that counts the number of pixels on a square loop arround some pixel, that have similar normalized RGB. If the square loop would go over the edge of the picture ...
0
votes
1answer
30 views

Derivatives not holding their definition when generated with a function

I'm trying to create a method to generate the function and the partial derivatives of an image. The problem is that, when executed, the derivatives won't hold their definitions. As I see it, dI1x, ...
1
vote
1answer
47 views

Speeding Up ImageApply / Binarize?

I have a 5Kx4K image. I'm wanting to binarize it. At the moment, I have a simple binarization function, but it's taking 6 seconds or 8 seconds to binarize. ...
3
votes
1answer
122 views

Distance between two points in a picture

I have this picture: I'de like to obtain the distance between two of these points. The black scale bar is 3$\mu m$. To do so, I import the image to Mathematica and call it pic. Then by finding ...
0
votes
0answers
17 views

CloudExport results in a blank file

I'm trying to convert a 2d image to a 3d object that can be digested by 3d slicing software, specifically the algorithm contained here http://archive.bridgesmathart.org/2013/bridges2013-311.pdf I had ...
4
votes
1answer
143 views

Points in a given image file

I have scattered points of red, blue, and green in an image as follows: Is there anyway to convert this image to Mathematica, and assign, for example, coordinates to points?
1
vote
0answers
27 views

ImageCorrespondingPoints[] using my own lists of unmatched points

ImageCorrespondingPoints[] finds a set of matching interest points in two images and returns their pixel coordinates. The doc says it "uses ...
1
vote
0answers
78 views

NonlinearModelFit with two-dimensional input to two-dimensional output

I want to estimate a nonlinear mapping from two-dimensional input positions to two-dimensional output positions. (Think of this as a nonlinear distortion of an image. Once I get the estimated ...
4
votes
1answer
52 views

Grid shows next to image, not on actual image, and ImageDimensions are wrong. What can I do?

I am still using Mathematica 10.3 and I have the following problem: My code is as follows (based on what I found in a related post, see below), but I used another example image. So here is my code: <...
5
votes
0answers
151 views

convert image of mathematical form to mathematical form (OCR)

I wish to convert images of mathematical form to mathematical form(and not the opposite). I've found this tool which does a great job but I wondered if it's possible to enter an image directly to ...
11
votes
2answers
387 views

Distorting image to ensure consistent vanishing point

Here's Giorgio de Chirico's painting, Ariadne: The Surrealist artist deliberately broke the rules of geometric perspective, giving the work his characteristic sense of mystery and unease. What would ...
4
votes
1answer
127 views

Mathematica GPU occupancy is too high when the current page has high quality images

When Mathematica's current page contains a high-quality picture, the GPU occupancy rate will increase and the current page delay of Mathematica will increase( the software is slow to respond to my ...
9
votes
2answers
198 views

Replace a color in image with hatchfilling

Is it possible to identify a color (say grey in a 3 color Black, Gray and White image) and ...
6
votes
1answer
74 views

neighbouring pixels : next smaller and bigger perimeter

I have a list of pixels centers, for example : ...
4
votes
2answers
264 views

How to create a smooth black and white texture without jaggies?

The following code creates a random black and white texture with ugly jaggies (pixelized "stairs") all around the shapes, because of the Binarize command. ...
2
votes
1answer
58 views

How to make a smooth highly contrasted image from a Blur, without affecting the sides?

I'm generating a random texture using the code above, by blurring random tiles: ...
3
votes
1answer
79 views

Extracting information and adding more details to an imported image of a plot

I have the following image that has been created using another program. Is there a way for Mathematica to load this image, "understand" the limits of the frame (horizontal axis between -1 ...
12
votes
0answers
227 views

Trying to build a code to translate handwritten formulas using ML

I'm lazy writing equations in Latex so I want a code to translate handwritten equations. This question is related to an old experiment I'm reviewing during vacations, here. I'm trying to use ...
6
votes
0answers
82 views

Computing correspondences between two images

A classic problem in computer vision is computing correspondences between keypoints in two similar images, despite modest variations in size, lightness, orientation, etc., of the images, as ...
4
votes
0answers
91 views

Separating boundaries from WatershedComponents

I am trying to look for local minimum on the boundaries between watershed regions. Typically the boundaries are not connected and spanning across the whole image so it is possible to do it through <...
2
votes
2answers
101 views

how to implement training for UNET implementation on Wolfram Neural Net Repository?

My question is with reference to the U-NET implementation present on the Wolfram Neural Net Repository The construction notebook present on the page (link: http://...
3
votes
1answer
79 views

Automatic region of interests for 2D images

I have a picture displaying certain remarkable features (high intensity peaks). Is there a function that allows me to automatically draw a (Region Of Interests) ROI around the features and crop the ...

1
2 3 4 5
30