A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
4
votes
1answer
50 views

Using TotalVariationFilter on dataset with missing data

TotalVariationFilter does not work on a dataset with missing data. Does anybody has a good idea to make it work? I don't know if first splitting the dataset into ...
0
votes
2answers
1k views

Peak Signal to Noise Ratio of Images

I am filtering a blurred image, and want to evaluate the performance of Peak Signal to Noise Ratio (PSNR) in Mathematica version 9.0. But I am facing the problem of evaluating the PSNR. Could anyone ...
13
votes
1answer
615 views

How to align a poster?

I'd like to crop and transform out the magazine cover so that it is rectangular. I read the docs for ImagePerspectiveTransformation, and here's where I got to. ...
2
votes
0answers
90 views

How to achieve this fractal image transformation?

The app MirrorLab on Android has a very interesting Julia Effect, and I'd like to recreate this effect in Mathematica. Here are some examples of input images and their outputs: ...
3
votes
2answers
85 views

Visualizing Color Values On Original Image

I have an image and I would like to retrieve all color values of pixels which are located along stribes: So what I do, is the following: I import the image from the web I get the image dimensions (w,...
2
votes
2answers
340 views

How can I separate the dress from the background?

img=Import["https://i.stack.imgur.com/NjyIK.jpg"] The dress is closely similar with the color of the background stair rail. How can I binarize the image to get ...
1
vote
2answers
177 views

ImageAlign keeps breaking down

I have posted the same question on the community (http://community.wolfram.com/groups/-/m/t/1394441?p_p_auth=YV2a4wzw). I tried to register the movie posted below (compressed version here) using ...
2
votes
0answers
81 views

Use List convolve for aligning images

I am trying to align images of point spread functions using a convolution. Before doing it on real data, I wanted to try on simulated data. I have no problem with the 1-D case where I create 2 ...
7
votes
3answers
284 views

How to change the color of the background of an image?

I have an image, and I want to change the color of its background. For example, I want to change the color of the sky from blue to green (or just to pure-white, for simplicity). I have already get the ...
1
vote
1answer
348 views

How to build a linear scale from a set of RGB color data obtained from a raster image with ImageData?

I'm trying to reconstruct a density plot from a raster image. The idea is to assign the uppermost value of the scale (an arbitrary linear scale) to the "most red" points of the image, and the lowest ...
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
97 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: ...
4
votes
1answer
79 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
159 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 ...
36
votes
3answers
12k views

How to find circular objects in an image?

How could I use morphological processing to find circular objects in an image? More specifically, I need to detect road signs. I need to get the "80 speed limit" sign from this image:
13
votes
1answer
1k views

How to make a Nebulabrot?

A Nebulabrot is a generalization of the Buddhabrot, a fractal rendering technique related to the Mandelbrot set that sort of looks like a meditating buddha. The Buddhabrot rendering technique was ...
5
votes
1answer
124 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
219 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
757 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
61 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
112 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: ...
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 ...
11
votes
2answers
245 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
155 views

How to refocus camera?

I'm trying to read a barcode though my computer's webcam but it fails because the ImageCapture won't refocus the camera when I put the code close to it, and this it is blurry: Is there anyway to ...
3
votes
1answer
64 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 ...
3
votes
1answer
946 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 ...
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 ...
1
vote
0answers
68 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 ...
10
votes
1answer
605 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 ...
2
votes
1answer
72 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 <...
11
votes
6answers
1k views

Remove static objects from an image sequence

Is it possible to remove static objects/pixels from a sequence of images? Lets say I have a black square in the middle of my white picture (white background) and a black circle is orbiting around it. ...
0
votes
1answer
127 views

How to segment an image based on MeanEuclideanDistance?

Consider an image (img) as Now I have partitioned the image using the following command parts = ImagePartition[img, 32]; ...
5
votes
1answer
67 views

How to remove the undesired border of the GeoGraphics?

I have created an image of Europe as below:- ...
7
votes
1answer
112 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 ...
3
votes
3answers
198 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
2answers
376 views

How to improve the recognition quality when TextRecognize work on single character

Bug introduced in 11.0 and persisting through 11.3 From this answer, I doubt the capability to work on single character. So I give some test to verify this possibility. You can get my test ...
12
votes
1answer
163 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 ...
4
votes
1answer
81 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
54 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 ...
2
votes
1answer
116 views

Smoothing EdgeDetect - image processing

I have to make a program that analyzes the image of saw tooth and later find the function that can describe it (or just part of it). Now I have a problem with smoothing the edges detected with ...
4
votes
1answer
257 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
102 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 ...
6
votes
3answers
146 views

How to find the boundary of a region from a dataset

I have a dataset which supposed to show some regions. For example ...
7
votes
1answer
220 views

How to create a MorphologicalGraph from MorphologicalBranchPoints

I want to select the morphological branch points of a thinned image to create a MorphologicalGraph like the one obtained by ...
1
vote
1answer
134 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 ...
1
vote
0answers
86 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. ...
1
vote
2answers
117 views

Try to find the number of points near the black color ؟

Given this RGB image I want to find the number of points that are, or almost, black ؟
5
votes
1answer
166 views

How to cluster a set of images?

I have a set of images (imgset) as Clearly, the classification list should be ...
17
votes
4answers
11k views

Saving high-quality graphics through commands

Say I make and display a graph in a Mathematica notebook: graph = CompleteGraph[100] If I drag the corner of the graph to increase its size, and then save it to ...
4
votes
2answers
192 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 <...