Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
2
votes
1answer
59 views

How to make a video from png images

I have a set of about 100 .png images representing the evolution of the system I am studying: how do I create a video out of these images with Mathematica?
17
votes
1answer
632 views

Converting Image to full-length lines

I want to write a program in Mathematica that takes an image and converts it into a drawing made completely of straight full-length lines. The program should check all the lines of the image, then ...
4
votes
1answer
61 views

Detect sub figures and split automatically

I would like to take a large figure showing a sequence of individual plots and automatically split the into series of images showing the individual sub-plots (to be exported as animated GIF later). ...
4
votes
1answer
102 views

How to track a deformable rod in video?

I have a video of nanotubes in solution taken with a confocal laser microscope. I typically track these nanotubes with Fiesta or Fiji, but in this case, there is variation in brightness that is ...
13
votes
1answer
218 views
+250

Tracking cells as they move under a microscope

I have a video (tiff file) of cells under a microscope and I'd like to segment and track the location and sizes of them across time: It has a hundred frames: I've uploaded it here (now it is public):...
3
votes
1answer
79 views

Convert a point in the Radon Space to a line

I need a function point2line to convert a point in the Radon Transform Space to a straight line. But I don't know the algorithm inside mathematica, I don't know ...
0
votes
1answer
60 views

How to extract specified objects from a pdf?

Is it possible to extract some information from a pdf file? I am interested in extracting the words before the squared brackets and the following word (in the image, for example, I would like to ...
12
votes
1answer
1k views

How to make a spiroglyphic?

Some (older) members of this group might remember playing vinyl LP records. Recently, at the Abbey Road studio there was a spiroglyphics coloring book for sale. It looks like a nice programming ...
0
votes
1answer
49 views

Image matching and transformation

I hope this picture can help me to be clearer. The triangles represent some values of an image (EDITED: positions). The same for the circles, but from a different image. Some values matches, some ...
3
votes
1answer
40 views

Find the higher degree of similarity between images and report the points in common and the differences

I am trying to analyse due different images and find their similarities. In order to do this, I need to consider the coordinates of the pixels in both images, then select the points in common, i.e. ...
6
votes
4answers
641 views

MaxDetect speed

What's the fastest way to find the local maxima of a 2D list? E.g. ...
2
votes
2answers
69 views

Compare two plots by finding the minimum distance among points

I have a question about comparing the points within two plots. I would like to compare two plots and find the minimum distance among their points, in order to find the nearest/common points (i.e., ...
1
vote
0answers
36 views

Is it possible to select a number of points to highlight points in an image?

I would like to ask you how I can fix a number of points to show in a picture. In the previous post (Is it possible to get the coordinates only for the highlighted points from an image?), JimB ...
2
votes
1answer
51 views

Is it possible to keep only coloured parts in an image, removing all the rest (in greyscale)?

I would like to know if it is possible to keep only coloured parts (for example red eyes) from a b/w image, removing all the other parts not coloured (i.e. in grayscale or black and white). I was ...
1
vote
1answer
102 views

Is it possible to get the coordinates only for the highlighted points from an image?

I would like to ask you if it is possible to get the coordinates or a couple of numbers that can give me the positions of the highlights points (selected using HighlightImage function) in an image. I ...
1
vote
0answers
33 views

Can LearnDistribution Train and Generate Images Without Defaulting To 256x256?

In spite of anything I try it seems the ConformImages[] function nested in the LearnDistribution[] function resizes images to 256x256. If I convert an image into its "Data" representation before ...
5
votes
2answers
130 views

How to achieve faster performance on plotting complex valued functions

I'm very interested in visualizing complex valued functions $f:\mathbb{C} \rightarrow \mathbb{C}$. Especially interesting to me are Möbius transformations. I found a nice way of visualizing these ...
5
votes
0answers
81 views

Recognising people from photos

I have a large number (probably 10000) of personal photos taken over the last few years, a good proportion of which contain family members. I'd like to put together a photo book of one family member,...
14
votes
2answers
871 views

Precise cropping with ImageCrop

Bug introduced in 8 or earlier and persisting through 12.0 or later Reported to the support as [CASE:3968587]. Published on Wolfram Community. In the presence of alpha channel ...
18
votes
2answers
530 views

Creating graph out of particles images

I have recently started learning how to use Mathematica's brilliant image processing tools, and the image I've taken as first example is the following (source): So far I've tried to first use ...
1
vote
0answers
52 views

Understanding how ComponentMeasurements finds neighbors

I am trying to understand how the module ComponentMeasurements in Mathematica works when the property Neighbors is called in ...
5
votes
1answer
98 views

Is there a SubImageApply?

Given an image and a subimage (as a rectangle or pixel ranges): img = ExampleData[{"TestImage", "Lena"}]; f = FindFaces[img]; HighlightImage[img, f] How would ...
5
votes
3answers
136 views

Including the actual length scale of the image in processing microscopic images

Following the wonderful methodologies provided in this post, I have learned how to process microscopic images of the types shown below in order to analyze them. When it comes to analysing the size ...
6
votes
1answer
387 views

Get date and time when photo was taken

I am trying to rename few images by their date and time taken. Is there a way to get the date and time when photo was taken using Mathematica?
1
vote
1answer
42 views

Why ImportByteArray when generate image from bytes

I was trying to generate an image from a list of bytes so I only had to Import an Image once as I want to store a Base64Encoded ...
6
votes
4answers
149 views

How to count the overlapped disks in a picture?

I have several picture containing many small circles. I can manually count the circles in these pictures but it will be time-consuming and make me tired. How can I use mathematica to do this job? I ...
2
votes
1answer
99 views

Doing what ImageAdjust does for a group of images

img = Import["flower.png"]; ImageAdjust[img, 0, {.00000002, .00000009}]; I know how ImageAdjust works and it is perfect for ...
50
votes
4answers
4k views

Mollweide maps in Mathematica

Context In my field of research, many people use the following package: healpix (for Hierarchical Equal Area isoLatitude Pixelization) which has been ported to a few different languages (F90, C,C++, ...
0
votes
0answers
43 views

MorphologicalTransform: What is the difference between EndPoints and SkeletonEndPoints?

What is the difference between the "EndPoints" and "SkeletonEndPoints" functions of ...
0
votes
1answer
121 views

Creating a numerical table of values and using an interpolation of them to transform pixels in an image by the ImageTransformation command

I am trying to carry out point "Implementing Map" on this paper Interstellar wormholes however I am using my own equations not those given (only the same method). I have generated a list of values ...
5
votes
4answers
1k views

Creating a realistic, photo-like 3D effect from an image or document

Suppose I have an image or a document, provided in a high-quality PDF file. You can open and view it in a PDF viewer, but then it has a kind of static look: it's not something tangible, it's just an ...
1
vote
1answer
137 views

How to animate a cube with images on their faces?

From this code, how could I animate (speed given by the user) this cube at random so that each face shows me a different image. EDIT(The idea is that the cube rotates at random and shows different ...
16
votes
2answers
313 views

How to TextRecognize a screenshot of code?

Are there any specific tricks or options to help TextRecognize work on a screenshot of an Input Cell or code in general? For example, here's a screenshot that ...
2
votes
1answer
78 views

Segmenting cells from a stained image of cells from microscope

I have an image which has stained cells and I have to segment all the cells. But the problem is that the cell boundary is not very distinguished where there is staining done because of the stain. ...
2
votes
2answers
103 views

Find Probability that Image Is Text

I can find out whether an image is text: ImageInstanceQ[img,Entity["Concept", "TextualMatter::m7642"]] And if an image is most likely text, I can find out the ...
15
votes
1answer
312 views

Why does ImageFilter fail with radius 1, but works with radius 2?

Bug introduced in 9 and persists through 12.0.0 When thinking on a way to answer this question using ImageFilter I have found (with Jason B's help) that we can ...
2
votes
1answer
95 views

Plotting large scale image embeddings

I'm looking for help making publication-quality graphics for visualizing 2D embeddings of image datasets, so that they look like this: These two-dimensional embeddings of thumbnails (sometimes with ...
9
votes
3answers
722 views

Check if image has alpha channel

How can I check if an Image has an alpha channel? "What have you tried?" AlphaChannel and ...
2
votes
1answer
90 views

Calculate the surface area of different elements in a picture (micrograph)

This is a micrograph of a hybrid material that contains glass fiber (small white dots), carbon fibers (big grey dots) and a matrix that contains everything! I would like to calculate the surface area (...
0
votes
0answers
31 views

How to run image manipulation function to an array of images?

I have multiple images imported into an array. My issue begins with using this array for an image manipulation function such as Inpaint. Inpaint only accepts a single image at a time. Here's how I ...
4
votes
2answers
317 views

How to make a photo into a looped ken burn? [closed]

I have a website that supports video background, I've always used static pictures, but would like to change them into looping ken burns style videos where the image's crop slowly drifts along a vector ...
8
votes
2answers
200 views

Removing horizontal noise artefacts from a (SEM) image

I've been trying to analyse some SEM images to determine grain areas and sizes. Some of my images (I've attached an example below) appear to have horizontal bands that manifest as regions with ...
5
votes
1answer
1k views

Neural network: Line detection in Image

I am playing around with Mathematica's new Neural Network toolbox and am trying to teach a network to detect lines in quite noisy images. An example Input image would look like the following: The ...
22
votes
2answers
1k views

How to project 3d image in the planes xy, xz, yz?

Some idea of how to do something similar to the image, but with any 3d object
19
votes
0answers
612 views

How to ImageRestyle high-res images?

I’m running v12 now and ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x 500 or ...
12
votes
4answers
584 views

How to extract a specific element from EXIF photographic metadata?

It's now possible to import photographs into Mathematica and import the EXIF data at the same time: i = Import["ExampleData/coneflower.jpg", "ImageWithExif"] You ...
17
votes
1answer
258 views

Repairing a panorama

I was on a cruise and the panorama I took was warped due to the ship rocking: I'm hoping to correct this so that the horizon is level. Here's the full resolution image: ...
0
votes
0answers
43 views

How to assign an image to all the 12 faces of a Dodecahedron [duplicate]

How do i assign an image to all of the 12 faces of a Dodecahedron?
6
votes
2answers
280 views

Image processing: Removal of two spots in fundus images

I have many hundreds fundus images of the human eye. The yellow arrow points to two spots which I I want to remove. The final result should be a perfect circle. The removed area should be ...
1
vote
1answer
75 views

Clustering edge points of an image?

Consider the following image I would like to cluster the points obtained after edge detection and subsequently, would like to color the clustered edge points. My attempt: ...