Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
-2
votes
1answer
105 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
88 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
225 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
126 views

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

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
75 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
78 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
115 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
277 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
601 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 ...
8
votes
2answers
415 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
130 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: ...
7
votes
1answer
118 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
107 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
69 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
503 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
54 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 ...
10
votes
2answers
210 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: ...
1
vote
1answer
127 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 ...
6
votes
1answer
69 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. ...
49
votes
5answers
14k 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
7k 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
944 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
212 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
98 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. ...
15
votes
3answers
461 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 ...
23
votes
3answers
1k 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
86 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
52 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
90 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: <...
2
votes
1answer
109 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
147 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
579 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 ...
14
votes
3answers
954 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
96 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 ...
3
votes
0answers
111 views

Image Processing: Detecting certain edge features over varying contrasts

Images and description- • The images are obtained from the frames of a video (>1000 images) • As shown, there are contrast variations between the images • The bubble shifts horizontally ...
0
votes
1answer
127 views

map cellular automaton to planar surface

Im exploring possibility to apply a CA to a portion of a region in an image. Think that I can process an image to identify a region, as an example, a green area. I would like to confine that area, ...
4
votes
2answers
361 views

How can I implement a region splitting and merging technique for image segmentation?

Consider an image (img) as There are six different textures in the image and I want to segment them using region splitting and merging. The property that I wish to ...
1
vote
2answers
90 views

Labeling detected objects in image with number of overexposed pixels

I have the following image: In here I want do detect all objects and label them according to their number of overexposed pixels. Here is my code: ...
1
vote
2answers
79 views

Overplot overexposed pixels on image

I have an image and want to mark each pixel which has a brightness of 1 with yellow color. The image is (png, 8bit): My code ...
13
votes
2answers
301 views

Detect black & white circles (frog oocytes) in image

I've been trying to count how many cells are in this dish. But I haven't found a successful way because of the presence of withe and black sides in every one. I have tried using ...
1
vote
1answer
42 views

Set out of the disk region to white?

The image is generated by the code below: img = ExampleData[{"TestImage", "House"}]; ImageTransformation[img, If[Norm[# - 0.5] < 0.5, #, {-0.1, -0.1}] &] ...
3
votes
1answer
126 views

Using ImageTransformation to implement relativistic aberration effect

****The desired effect should be images that look like something out of Star Wars like when you are boosting to high speeds in the Millennium Falcon.**** This problem was tackled by Daniel Weiskopf ...
1
vote
1answer
126 views

Numeric data from a color map

Importing the following image (without a scale): and knowing the extreme temperatures, is it possible to obtain the graduated scale? Also, it would be interesting to get the temperatures of all the ...
20
votes
2answers
477 views

Reconstruction of interrupted paths in images

I want to reconstruct paths in images and have already implemented a working method in Mathematica. On the left side you can see an image with interrupted paths and on the right side the reconstructed ...
6
votes
2answers
295 views

Manual implementation of the Sharpen function

does anyone know how to "manually" implement the built-in Sharpen function? I'll show you my problem below: Say I have a certain dataset, for example the one generated below: ...
2
votes
1answer
93 views

'Weighted' distance transform

A distance transform (as done by DistanceTransform[]) on a scattering of background pixels effectively creates a landscape of basins with conical morphology, each one starting from the same depth (...
16
votes
2answers
296 views

3D Thinning algorithm in Mathematica

as far as I understood Thinning[] only works on 2D images thus far. Is there a library/piece of code that performs 3D Thinning in Mathematica? Max edit: I want ...
1
vote
0answers
74 views

Convolution of an Image with Gaussian sigma = 1

I'm new to image processing and I've been testing out different Gaussian blur filters. Out of curiosity, I generated an object that is a 2D Gaussian with sigma = 1. I convolved this object with a ...
6
votes
2answers
313 views

How to find the mark centroid

This is my target img: I can binarize it and select the mark component: bin = Opening[ColorNegate[Binarize[img, 0.8]], 4] ...