The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
0
votes
2answers
80 views

Reproduce orthogonal images from 2d consecutive image set

I have 3474 images (png, 8bit, gey scale, horizontal size x=3107 pixels, vertical size y=1200 pixels). The images can be downloaded here: https://drive.google.com/open?id=1rK7xlbFIGMG4O3Z-...
5
votes
1answer
93 views

Why would a symmetric image have an asymmetric PoolingLayer-Gradient Image?

I have a symmetric image img. For simplicity, I would use the below image as my example: ...
3
votes
2answers
182 views

How to extract graph from microscope image?

I have a microscope image of actin filaments and I'd like to extract the geometry of the bright lines into a Graph object: Here's what I have so far, using the ...
4
votes
1answer
76 views

Removing constant artifact/defect from several images

I have several images, each of which has the same artifact/defect. Does anybody have a suggestion to remove such an artifact? The images are disordered arrays of dots. The artifacts include the '...
5
votes
1answer
143 views

How to combine ListLogLogPlot and MatrixPlot?

Let's construct some data data = Exp@Sort@RandomReal[10, 100]; col = Transpose@MapIndexed[Exp[First@#2/20] + #1 &, RandomReal[10, {100, 99}]]; The ...
5
votes
1answer
117 views

How to use ComponentMeasurements with a matrix?

The function MorphologicalComponents works on both images and matrices, as in the following code: ...
6
votes
4answers
215 views

How to paste one image to another one, by forcing the former's background as transparent?

I have 2 images, imgBlackOnly and imgRedOnly as below, which already have the same ...
2
votes
5answers
748 views

How to force a specific region of an image to be totally white?

I have an image img, and a region iTrim as below:- ...
2
votes
0answers
58 views

Connect the nearest points in segmented image

I am trying computer vision for document analysis of datasheets.And quite new to mathematica My goal is to connect and segment out the part number with part in the drawing considerably something ...
0
votes
1answer
109 views

distance between nearest points [closed]

I have an image where i found the skeleton (red) and edges (blue). How can I calculate for each red points the distance to closest blue point? I though of something like this: ...
2
votes
1answer
159 views

Overlap two images and give movement and the result record it in an animated gif

I need to put the circular image 1 in the image with the hole 2 (and cover the gap) the idea is to create an animated gif that shows the image 1 turning to the right and image 2 to the left in a size ...
1
vote
1answer
79 views

How to plot image.mat in Wolfram

I have a picture that saved in ".mat" format. I am interested in plotting it with WL. But I get an empty image ...
13
votes
3answers
767 views

Convert QR code to a Nonogram puzzle

I remember there was a GCHQ puzzle where Nonogram was created to generate a QR code in 2015. It was a quite popular puzzle. I am wondering if MMA can be used to create a Nonogram from an existing QR ...
11
votes
2answers
238 views

Managing memory for video frames

I am trying to import a gif animation, which is about 80MB. The goal is to convert the image to grayscale, and then do some calculation on ImageData for each frame. ...
2
votes
1answer
933 views

Remove tourists from vacation photos

I just found this link: https://photoshoptrainingchannel.com/remove-tourists-stack-mode/ They used photoshop to remove the tourist from a series of photos. I was wondering if this is also possible in ...
3
votes
1answer
62 views

Reclassify and colorize a grayscale image in several regions according to given pixel value ranges

First of all, my apologies if this is a duplicate question, I did my best at trying to find a previous possible answers. I’m trying to find a more efficient way to reclass and colorize a single ...
1
vote
0answers
65 views

Grouping components to form a complete perimeter

This is a question relating to grouping of components picked out using ComponentMeasurements to make a complete perimeter of a shape. My goal is to measure the perimeter of each of these worm-like ...
12
votes
4answers
216 views

Set pixel aspect ratio?

Bug probably present through all versions of Mathematica [CASE:4081592] Does Mathematica have a feature to set the pixel aspect ratio of 2D images? For example, ...
2
votes
0answers
141 views

Is there any inbuilt Mathematica function that can be used as a steerable filter?

I need a steerable pyramid filter for images and volumes. Is there any built-in Mathematica function or package for that as there is in Matlab? Edit 1: Firstly, I didn't ask for an implementation of ...
2
votes
1answer
62 views

How to avoid margin when combining ListDensityPlot and an Image?

I have an image img1 and some data with a density plot plot1 to reflect the target position of the image. I tried to combine <...
5
votes
1answer
64 views

How to remove the undesired border of the GeoGraphics?

I have created an image of Europe as below:- ...
7
votes
1answer
103 views

How to ensure that MorphologicalGraph produces a planar graph?

MorphologicalGraph can produce a graph from an image. Such graphs should always be planar, but if the pixel structure has a certain unfortunate shape, then ...
10
votes
1answer
552 views

How to protrude a 2D image wrapped on a 3D surface

There are a few posts on this theme: How to make a 3D globe? How to render a 3D tubular graphics from a 2D image path How to extrude a 3D image from a binary 2D image However I can't quite piece ...
3
votes
3answers
187 views

Extracting image value along circle of an image

I want to extract the ImageValue (along yellow circle) of an given below image I try with the below code to find the ImageValue...
4
votes
1answer
75 views

Sort images by difference

I can use ImageDistance to get the Euclidean distance between two images. But, I have list of (~100) images, and I want to sort them such that the average ...
1
vote
0answers
52 views

How does the ImageExposureCombine function work? [closed]

Any ideas for how to find out how this function works? Combines differently exposed images of the same scene into a single image with overall good exposure. I'm writing a physics paper that ...
4
votes
1answer
252 views

Extract cells from image

How can I extract each cell (= patch that is not crossed by the contour) from an image such as I thought SelectComponents (e.g. ...
0
votes
0answers
95 views

Improve SEM sharpness image

Hello Mathematica experts :) I have some SEM images of the nano-particles. However, the technician can not get better results. With Mathematica image treatment, could we improve to get higher ...
12
votes
1answer
161 views

“Boundary” thickness in HighlightImage

Bug introduced in 11 or earlier and persisting through 11.3 CASE:4076121 I'm having a hard time to understand how I can use HighlightImage and only draw the ...
1
vote
1answer
115 views

Use slider to manipulate images?

Suppose that I have plotted many figures and have exported them as images. Now for the post-processing phase, I would like to import these figures and manipulate them in such a way that a slider ...
6
votes
3answers
134 views

How to find the boundary of a region from a dataset

I have a dataset which supposed to show some regions. For example ...
1
vote
0answers
85 views

Revert image fusion using discrete wavelet transform

How can I extract a hidden image using discrete wavelet transform? I have used the function ImageFusion from this site to hide an image inside another one. ...
5
votes
1answer
147 views

How to cluster a set of images?

I have a set of images (imgset) as Clearly, the classification list should be ...
3
votes
0answers
61 views

Always missing one component in Image Segmentation with SelectComponents-WatershedComponents-GradientFilter Method

I hope this is not a too specific issue and it is probably something very simple, but it is driving me insane. I am trying some image processing on microscopy images to perform cell isolation as ...
1
vote
1answer
62 views

Import two Gif files together and play them with just one button

I have two gif files and I want to import and play them at the same time with just one play button. The target is to compare them easily. Is there any way?
6
votes
1answer
235 views

Iconize a compressed image

I want to embed a compressed image in a notebook so that only an icon is visible (and not the whole image). The following procedure seems to work : ...
1
vote
1answer
148 views

Remove a specific color (black) within an image [closed]

I need the image to be totally blank, so the black must disappear
5
votes
0answers
134 views

How to efficiently apply PCA followed by SVD to extract the components of PCA?

I am working on segmenting a textured image using Gabor Filters. This is based on this paper. There exist a Matlab implementation of this as well. Earlier I managed to do up to this. With the help of ...
4
votes
2answers
381 views

Transform a black-and-white image into a list or a function

I met such an image in a paper: It represents an in-plane distribution of a light intensity, J=J(x,y). It is assumed that the white color intensity shows the light intensity. I would like to get this ...
5
votes
1answer
124 views

Finding radius when the hole is born and dead (persistence diagrams)

I have a list of vertices: ...
5
votes
1answer
142 views

Find centroids and average intensities of regions in an image

The image below shows an approximately triangular array of bright spots. The intensity falls off towards the edges (Gaussian decay). There are some defects (the elongated smudge and the sharper ...
5
votes
3answers
197 views

Performance of ImageApply

I would like to optimize this code fadeAndShine[old_, new_] := If[old == new, {1, 0.8, 0.2}, new]; ImageApply[fadeAndShine, {imageA, imageB}] Is it possible, and ...
4
votes
2answers
124 views

Count number of connected regions/meshes

I want to count number of connected region. For ex I have a region below which has 2 connected region. And also, How to check whether the function ...
1
vote
0answers
84 views

Contour of an splashing droplet

I have pictures of the evolution of a splashing droplet, and I would like to get the contour. It´s not difficult for early times (first figure) but I could not find the way for the later times. Any ...
1
vote
0answers
85 views

How to segment a textured image using Gabor Filters?

I am following a matlab implementation of texture segmentation using Gabor filters. My test image (img) is from Brodatz and as ...
10
votes
3answers
238 views

Measuring distances between image components

MorphologicalComponents can break an image into components. How can we measure the pairwise distance between these components efficiently? Performance is ...
2
votes
1answer
216 views

How to count the number of eggshells in the image

My goal for this is to simply count the number of eggshells in the image. Using color negate only leads to this ...
3
votes
1answer
254 views

How to compare histograms of two Images?

Is there any function in Mathematica that I can use for comparing the image histogram ? There is a built-in function in OpenCV cv2.compareHist for distance measures ...
1
vote
2answers
79 views

How to nicely label the colors in Colorize?

I have an image segmentation and I'd like to label with a SwatchLegend[]. Here's a MWE: ...
4
votes
2answers
180 views

Quality of ImageRestyle

There is an application of image restyle here. It is an example in following: But if I just use ImageRestyle of Mathematica <...