Stack Exchange Network

Stack Exchange network consists of 174 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.

7
votes
0answers
153 views
+200

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 ...
11
votes
3answers
245 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 ...
20
votes
3answers
913 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
62 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
27 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
52 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
30 views

Real-Time Image Processing [duplicate]

There is a code from wolfram Documentation Center ...
2
votes
1answer
81 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
117 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
563 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
414 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 ...
4
votes
1answer
74 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
66 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
77 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
274 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
70 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
69 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 ...
11
votes
1answer
643 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 ...
13
votes
2answers
243 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
35 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}] &] ...
4
votes
0answers
58 views

How to TextRecognize a screenshot of code?

Are there any specific tricks or options to help TextRecognize work on a screenshot of an InputCell or code in general? For example, here's a screenshot that mixed ...
3
votes
1answer
86 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 ...
2
votes
1answer
61 views

Memory consumption problem when reading png images with Image`ImportExportDump`ImageReadPNG

For importing png images I use often: image = First@Image`ImportExportDump`ImageReadPNG[fileName] (see: ?*`*PNG*) since this is faster than: ...
1
vote
1answer
87 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 ...
19
votes
2answers
459 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
203 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
51 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 (...
12
votes
2answers
213 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 ...
0
votes
0answers
46 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
243 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] ...
3
votes
2answers
171 views

Using image data to create a 3D Histogram

I have a black and white .tiff file of a beam spot: I am trying to characterize the source in a Monte Carlo program, to do this I want to convert the image into a 3D Histogram with controllable bin ...
4
votes
1answer
293 views

How can I add drop shadows to the text of non-input/output cells?

Inspired by simon woods's wonderful shadow function, I want to add drop shadows to all the text of non-input/output cells in a notebook, something like this: By using simon woods's shadow function, I ...
0
votes
0answers
42 views

Convert Chinese character into a list of lines

For a puzzle I want to list pairs of Chinese cities. Once a line is drawn between each pair of cities the resulting lines will spell out a phrase in Chinese which is the answer to the puzzle. I've ...
11
votes
1answer
473 views

How can I extract data from a diagram?

Below you will see a diagram containing three curves. How can I extract data points from the three colored curves? I need to use the original data.
1
vote
1answer
39 views

Plot number of overexposed pixels per column in grey scale image

I have a grey scale image (1600*480 pixels, 8 bit): https://i.imgur.com/BqgJRv7.png (update) I want to determine the number of overexposed pixels in each column. Then I want to plot the a combined ...
3
votes
1answer
76 views

How to control boundary markers for overlapping FEM meshes?

I am trying to create FE meshes from vector or bitmap images and have come across the following issue. This is best shown using the following simplified code. ...
4
votes
1answer
133 views

How to create meshes with multiple regions from 2D images?

I would like to import 2D images to Mathematica and to use them to create meshed regions which can then be used for FEM. I create the images in Adobe illustrator so can either import a vector based ...
32
votes
2answers
2k views

How to make a curve selectable from a scaned image and convert it to a list of coordinates

I have a scanned image (binary-ized): Is there any way to reduce one of these curved lines (full or dotted) to a series of its coordinates (e.g., sampling interval of 0.01 on x-axis)? I've read ...
5
votes
1answer
70 views

Import Integer images using Image`ImportExportDump`ImageReadTIFF

I can import 70000 x 2MB TIFF images (~140GB) using Image`ImportExportDump`ImageReadTIFF in about 3 minutes based on @Szabolcs solution to this question by @Kagaratsch which is fantastic. ...
9
votes
1answer
124 views
1
vote
1answer
60 views

Confusion in the position of image coordinates

I am struggling to work out how image coordinates are calculated and how to be consistent when finding particular points in an image using these coordinates for further analysis. I don't think it is ...
2
votes
1answer
82 views
7
votes
1answer
84 views

Kernel shut down when use FindFaces with LBP Cascades

I found Mathematica can use OpenCV to improve face recognition in FindFaces: how to improve the results of the face recognition feature. But I tried this way and the kernel crashed. ...
4
votes
0answers
84 views

How to combine multiple image processing steps into a GUI

I'm trying to combine several Manipulate objects into a single workflow, for semi-automating an image analysis. I have worked out how to do each individual part, ...
11
votes
2answers
280 views

How to define a PixelShuffle Layer?

PixelShuffleLayer come from Real-Time_Single_Image. Firstly, a $C\times H\times W$ image, after a convolution, now $f^2\cdot C \times H\times W$, then sub-pix, finally get a $ C \times fH\times fW$ ...
2
votes
0answers
36 views

issue with ImageEffect; EdgeStylization

I have a issue with ImageEffect/EdgeStylization. After importing a .jpg-file like test = Import["C:\\........\\DSCN0018_v1.jpg"] The result is: Then I take a ...
4
votes
1answer
74 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 ...
7
votes
1answer
129 views

Mean RGB value of a locator region?

i am working at a color deconvolution using Ruifrok and Johnston's method (as described here). To get a custom stain, I need to realize a vector with mean RGB values of a region in a given image. So ...