Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

3
votes
3answers
111 views
+50

Another difficult background subtraction

I'm trying to remove the background but it is removing part of the bag in the foreground (because it is white too): Here's what I've tried: ...
0
votes
1answer
59 views

Join grayscale image with matrix plot

I have a 200x200 grayscale map map = Image[data, "Byte"] together with a matrix plot ...
5
votes
0answers
45 views

GaussianMatrix algorithm details

GaussianMatrix[] supports a Method -> "Bessel" option which the documentation describes (in the Details section) as: With ...
0
votes
0answers
49 views

Pixel-wise image manipulation

I downloaded an image from a website and imported it to Mathematica ...
16
votes
4answers
1k views
+200

Can Mathematica be used to create an Artistic 3D extrusion from a 2D image and wrap a line pattern around it?

So here's somewhat of the general goal first: Here's an example of image-based line patterns Here is an example of an artists work in creating imagery using only lines bent as though distorted by an ...
0
votes
0answers
28 views

How to resize an input image to make its dimensions [closed]

When using the ImageTransformation command I would like for the input image to be of equal dimensions (as if the image is a square), how could I do this if the ...
3
votes
1answer
36 views

Extract plot from an image with diffused lines

I found an amazing question on how to obtain a data set from an existing plot, which detailed the process very nicely. Recreated the same steps on my end but it's not working, I am assuming because ...
0
votes
2answers
92 views

Detection of regions in image

I have this image: I would like to separate qualitatively 4 different regions into approximately such an image: The colors or gray shadings of the regions do not matter. How can this be achieved ...
0
votes
1answer
94 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 ...
0
votes
0answers
26 views

Changing the origin of the coordinate system aligned on an image when using the ImageFowardTransformation function

When using the image transformation command ImageFowardTransformation[image, function] the pixels of the image you input are in cartesian coordinates that by ...
4
votes
1answer
102 views

Why does Fourier give me a different picture than ImagePeriodogram?

I want to take a 2D fourier transform of some data, but when I try this I get unexpected results. When I use ImagePeriodogram I get something that looks like I ...
-3
votes
1answer
86 views

How is that distance between images calculated?

The command ImageDistance[Plot[x^2, {x, 0, 1}, PlotRange -> {0, 1.01}], Plot[x^2 + 0.01, {x, 0, 1}, PlotRange -> {0, 1.01}]] produces ...
2
votes
0answers
80 views

Using Image Transformation to create image sky view of what its like to be near black hole (Not a wormhole) [duplicate]

Question : I am trying to carry out point 3. "Implementing map" on page 13 in the paper Interstellar wormholes using my own equations not those in the paper. however am not 100% sure on how to go ...
0
votes
1answer
96 views

Adding white noise to a signal of two variables

When a signal depends on two variables, e.g., f[k1_, k2_] := Exp[I 0.75 (k1 + 0.3 k2)] + 1.5 Exp[I (0.2 k1 + 0.3 k2)] + Exp[I (0.2 k1 + 0.4 k2)]; where ...
0
votes
1answer
80 views

Creating a numerical table of values from an interpolating function resulting from NDSolve

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). Part 1 I am trying to create a ...
1
vote
0answers
65 views

ImageRestyle yielding low-level errors even in example cases

the title covers it. I'm on v11.3.0.0 on a MacBook Pro running Mojave 10.14.2, and trying to run ImageRestyle seems to immediately throw a bunch of errors that aren't related to the input in an ...
3
votes
1answer
67 views

Automated calculation of tree branches radius from thinned image

I am progressing in the branching problem described here. After having extracted my tree structure and done a lot of manipulations on it (very interesting, but not described here), I would like to ...
0
votes
0answers
61 views

Robust face detection

FindFaces doesn't work when people are far away from the camera. I'm looking for a single accurate method of detecting one or more people in an images, at all ...
0
votes
0answers
97 views

Remove background image and redraw lines in black

I do not know if the title is correct. The image that I upload has liked me a lot because of the characteristic that no matter the angle it seems that it is looking at you, you could indicate me how ...
6
votes
3answers
152 views

How to create this doge fractal zoom?

I would like to learn how to recreate this fractal in Mathematica and make others in the same style: https://m.imgur.com/r/FractalGifs/lYEK8Cd
1
vote
1answer
482 views

Image Filtering in the frequency domain

Here is a good starting to fiter image in the frequency domain lena = ColorSeparate[ImageResize[ExampleData[{"TestImage", "Lena"}],{121,121}]][[1]]; (Create a ...
7
votes
2answers
364 views

Branching points detection in processed image

I want to get the branching coordinates from a computer-generated image like this one: After SkeletonTransform and Pruning, I ...
7
votes
2answers
107 views

Coloring a binary mask image

My answer to this question involved changing the white in a binary mask to a different color. I came up with a few ways to do this: ...
2
votes
1answer
182 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 build-in function in OpenCV cv2.compareHist for distance measure like Chi-sqr, Correlation, ...
7
votes
1answer
92 views

Captcha text morphing effect

There have been many posts about generating and cracking Captchas. However, I have never seen a post or answer concerning one the more recent versions of re-captcha images - a "word morphing effect" ...
0
votes
1answer
70 views

Logarithmic brightness enhancement of an image [closed]

I have the following 8bit grey scale png image: Two examples for brigthness enhancement are: ImageAdjust[image, {0, 5}] ...
2
votes
1answer
55 views

How to Invert MorphologicalComponents?

It's actually the same question as here: Identify circles in Image and make list of all diameters ...but I cannot get it to work properly for this specific case, so I would be pleased for some help. ...
5
votes
4answers
470 views

Fill in an incomplete outline of an image

I have an outline which I have extracted from an image, which may well not entirely closed, for instance: I now want to fill the inside of this, as another image, using the convex hull if it is not ...
1
vote
0answers
44 views

Image to coordinate system

May I kindly ask you to teach me how to align the symmetry axis (in blue) of the attached picture along the Ox and/or Oy axis. The axis of symmetry is slightly off (rotated to the right). In other ...
9
votes
2answers
193 views

Efficient multicolor search

I'm hoping someone can help me improve the following fun code-snippet, which takes a target color and searches through a set of images to find the ones that most closely match: ...
0
votes
1answer
42 views

Savitzky–Golay method to find the first derivative [closed]

I have a list of positions as a function of time data and want to apply the Savitzky–Golay method to find the first derivative. What is the approach I should take. I already know how to apply the ...
9
votes
3answers
861 views

Detecting the outer edge

I am trying to extract the outer edge of the attached image. Could you please advice me how to do it?
6
votes
1answer
61 views

How to prevent or clear the cache used by ComponentMeasurements

Let's restart the kernel and take the first example from ref/ComponentMeasurements: Timings indicate some kind of caching mechanism. It seems useful in many cases. ...
50
votes
5answers
13k views

How to ask Mathematica to imitate Andy Warhol's pop-art painting?

I tried to ask Mathematica to imitate Andy Warhol, let it convert a Marilyn Monroe's portrait so that it looks like Warhol's world famous pop-art painting. However, the result shown below is far from ...
14
votes
1answer
6k views

Image Processing: Finding Orientation and Position of Symmetry Axes

Background I'm currently toying with Principles of Design by Charlotte Jirousek in order to learn some basics of image processing. As main principals she suggests Balance, Proportion, Rhythm, ...
8
votes
2answers
415 views

How to convert a 4-channel image to 3-channel image in an elegant way?

I have a 4-channel image (RGBA). I want to reduce its channel count from 4 to 3. The method I am using currently is to Right click and Save as a .png file. After ...
10
votes
0answers
205 views

How to segment rectangular photographs on a table?

Given an image of a table with photographs (take from any angle), I'm trying to extract the photographs and correctly align them into perfect rectangles. There are four steps to the algorithm: Detect ...
3
votes
2answers
94 views

Is it possible or how to extract message string from binarized list?

Given message copied from Silvia's profile page, a binarized list could be found bellow. ...
13
votes
3answers
299 views

Deleting noisy data from a plot (manually) and export the best remaining data

I have the following temperature time-series. As you can see it contains very very noisy points in some periods (Fig.A). I tried to approach the best data(the black one in the center) based on the ...
22
votes
3answers
978 views

How can I make a graph network from image of granular packing?

I have an image from experimental data of granular packing. I need to characterize the packing as a network. The network consist of node (center of granular particle) and edge. Two node are connected ...
3
votes
2answers
74 views

Manipulation of 2d images, position, alignment and scale

I'm new to Mathematica and I am trying to generate an array of rectangles which stays perfectly aligned and scaled correctly and able to control the opacity of each one. Could anyone point me on to ...
0
votes
0answers
31 views

Extract data (digitise) from graph with various line formats

I am attempting to extract the data points from the graph below: -axis titles and axis lines are removed for digitising simplicity- I have tried using a range of graph digtisers (i.e. datathief, ...
3
votes
0answers
59 views

Roulette Ball Tracking with Mathematica

There is an image from roulette spin video, and I have a code to track the ball position on the image (*Mask is a visible ball track on the rim*) ...
11
votes
1answer
2k views

detecting the radius of an incomplete circle

I need your help to detect the radius of the blue circle in images like this: . Reading these questions: 1, 2, 3, I figured that this code taken from @halirutan answer to question n°3 could help: <...
0
votes
0answers
32 views

Real-Time Image Processing [duplicate]

There is a code from wolfram Documentation Center ...
2
votes
1answer
95 views

How can one get the axis of symmetry of the following egg profile [closed]

This is the binary version of the profile of an egg. Would you be so kind and let me know how to get the axis of symmetry of this profile. Thank you!
2
votes
2answers
127 views

How to find the rectangle with those text

In this image: I want to find this rectangle with all contents(without those grid's lines) I think the total of the pixels can help a little like: ...
6
votes
2answers
564 views

How do I transform a rasterized graphic's coordinates back to its original ListPlot data coordinates?

From this question I successfully made an elliptical fit for my data. However, when I try and collect the datapoints within the ellipse via this question the coordinates of my ellipse correspond to an ...
13
votes
3answers
477 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 ...
5
votes
1answer
80 views

Blend modes for composing images?

I'm looking for a way to combine two images with standard image blending methods like Darken, Color Burn, Color Dodge, Soft Light. Is there a way to achieve these with ...