Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
-3
votes
2answers
62 views

Color-slicing transformations that detect green wood sorrel leaves within an RGB cube [closed]

Color-slicing transformations that detect green wood sorrel leaves within an RGB cube.
3
votes
1answer
74 views

Code to rebuild a patchwork image

I'm trying to rebuild an image which has been cut into strips vertically and horizontally then the ordering of the strips has been rearranged. For example: So far I've only been able to come up with ...
4
votes
2answers
88 views

How can I import an image, retrieve vertex point values from the shape, and turn that into a list?

I'm using a github repo about turning point data into an array to then create a mirror. The author used a point picker in mathematica, but I want to automate the process. How can I import my image and ...
1
vote
2answers
107 views

Drawing Axes on top of a Grid of plots

I have a grid of density plots, for example like this toy example ...
0
votes
0answers
76 views

Semantic Image Segment of grayscale Text Image

How to extract text and pictures from an image file Consider this grayscale image, how to segment the handwriting part without using Color Information。 Q0:BoundingBox of different patterns: text, &...
2
votes
2answers
195 views

Why does GaussianFilter not have a periodic option?

Let us say I have a table: tab = RandomReal[{-1, 1}, {128, 128}]; I can filter it using GaussianFilter as follows ...
1
vote
0answers
63 views

How to separate overlapping portraits in an image?

Assume that I have an image with overlapping portraits. Here is an example of mandala-portraits arranged in a random star-graph: I want to separate the overlapping portraits and, say, estimate their ...
0
votes
0answers
34 views

`ImageMultiply`, `ImageSubtract` and `ImageAdd` in "LAB" space

...
1
vote
0answers
108 views

Separate colours of an image

Since LAB colour space is based on opponent color theory, an image in 'LABColor' is made up of red/green, yellow blue separations. I am trying to separate an image into its distinct colour components (...
2
votes
1answer
90 views

How to separate these circle based on their pixels mean intensity?

I have this image I want to separate green circles from yellow circle in two different images whiteout changing the pixel intensity information. I used the mean intensity ...
3
votes
1answer
83 views

Image Collage with equal-sized labels

I've been trying to make an image collage, where each image in the collage has a text label in the lower-right corner (or wherever really), where the text is all the same size. Can't seem to make it ...
4
votes
2answers
125 views

How to get ComponentMeasurements[] from colorized image?

I'm using a software to segment images. Long story short, the output given is an array of integers (range 0-255), which I show here colorized: I'm supposing that the software avoids representing two ...
5
votes
0answers
87 views

Getting the area of the gaps in this image of a spider web?

I'm trying to find a way to calculate the area of the gaps in a sample of spider web in a ring. The web strands are very thin and difficult to segment, since there appear to be breaks in the line ...
1
vote
1answer
84 views

Adjusting highlights, midtones and shadows in an image

I can adjust the highlights in an image with ...
0
votes
1answer
69 views

Extract ROIs - Machine learning - References

I want to try to extract ROIs from certain images using machine learning and neural networks , granted I know nothing about this field and it may not be the best way to do this, but the goal is to ...
0
votes
1answer
51 views

Extracting an array from an image [closed]

Consider the following array: array = Partition[Mod[Range[96^2], 250], 96]; We can make an image out of this. ...
1
vote
1answer
50 views

ImageAdd with specific position

Consider the following code : ...
5
votes
1answer
182 views

Noisy and vague shape recognition

Consider the following image: Imagine I have several images (let's say 40), that look like this one but with slightly different cloud shapes, pixel count intensities and distances between the clouds. ...
1
vote
0answers
34 views

Image processing channels in LAB space

I am trying to adjust the curves in LAB space as per screenshot of photoshop command below: I am using this method: ...
11
votes
1answer
321 views

Wolfram Neural Net Repository Questions

I am a developer in the machine learning team, and mostly involved with the neural net repository. One of the discussions with my group raised these question in my mind, and these might be stupid ...
10
votes
3answers
341 views

Color regions defined by many lines

Consider the following code: ...
-1
votes
2answers
105 views

Sampling a jpg image at a grid of points

I have a 1920x1440 jpg image. It has been binarized. I want to sample the values at an nxm grid of points say 50 points x 40 points. What is the most computationally efficient way to do this? Thanks.
6
votes
2answers
435 views

How to extract text and pictures from an image file?

Let us consider the following image file. Is there a way to use Mathematica in order to "read-scan" the image file and then obtain three new images, one containing the computer text, one ...
8
votes
3answers
264 views

Smoother boundaries between components of segmented image

I'd like to use boundaries between components of a segmented image to create a mesh for finite elements, as described in Mesh for Images for three materials and meshes with multiple regions from 2D ...
7
votes
2answers
508 views

How to calculate the areas of cells in an image with Mathematica?

Below is an image of cells (adapted from here, Figure 1): where the scale bar is $20 \mu m$. Is there any way to calculate the areas of cells with Mathematica?
0
votes
1answer
73 views

Partitioning Images containing sub images of slightly different dimension

I have a PDF file that contains 3 pages of microphotographs that are subdivided into subimages of several individual micrographs. For the first two pages the individual photomicrographs are arranged ...
3
votes
0answers
57 views

Displacing / warping an image using a pre-existing optical flow image

ImageDisplacements provides a way to calculate the displacements between two images (e.g for optical flow purposes) and return a two channel image containing the dx,...
10
votes
1answer
213 views

Animating Curl noise applied to an image

I'm trying to produce turbulent swirling effects in an image using Curl Noise. The idea is you start off with some random field (usually Perlin noise) and use the curl of this field to displace the ...
2
votes
0answers
60 views

family photo album,how to optimize its realization?

I am Beezy, the eldest daughter of the couple. I have a lot of photos on paper and I want to make a photo album for my parents, but the task is titanic. First I use a scanner, to scan the photos that ...
0
votes
0answers
39 views

How to map the outputs to different output lines?

I have the following code GraphIt[n, n2, IR, #] &/@ vanishpts where the function GraphIt print something, and returns a graph. I don't want my outputs to be ...
1
vote
1answer
91 views

robust method to find vertical lines in image

Consider the following images with vertical grid lines. They can be loaded in mathematica by the following code: ...
1
vote
0answers
36 views

Trim image-border connected white regions [closed]

I have this image: img = Import["https://i.stack.imgur.com/RtmAK.png"]: What is an elegant way to automatically trim the border-connected white regions ...
2
votes
0answers
72 views

Detect pentagon in image

Problem: Given a UK Energy Performance Certificate (EPC) image, detect the pentagons containing integers between 1 and 100. (these are isosceles right pentagons) Example EPC image 1: ...
14
votes
0answers
321 views

FunctionCompile examples for Computer Vision

I'm looking for some good examples of FunctionCompile applied to image processing code since there doesn't seem to be anything on this in the documentation. So here's a first attempt at a hello world ...
0
votes
0answers
42 views

How to creat a high-quality graph image for MorphologicalGraph to convert to graphs (it can't detect some edges in mine)?

I'm using MorphologicalGraph to convert images to graph. This is my source image: Following this and this, I tried ...
0
votes
2answers
71 views

How to show/merge multiple Image3D[] graphics?

Suppose I have 2 (or more) Image3D graphics: redCubes = Image3D[RandomInteger[1, {3, 3, 3}], ColorFunction -> (If[# == 1, Red, Transparent] &)] ...
5
votes
4answers
171 views

How to separate n colors from image into n binary images?

I have some images in which I expect to have some red, green, blue, or yellow areas. Like this image: myImage = Now, I'd like to get 4 binary images, representing ...
5
votes
1answer
195 views

Why does ImageDeconvolve not restore this image?

The ImageDeconvolve documentation page has many examples where ImageDeconvolve restores blurred images almost perfectly. I ...
1
vote
0answers
55 views

Manipulating Images

I would like to get information from an Imagen. Specifically, I have this image of cells in a tissue (you can identify a cell because it is border by a lighter purple). What kind of Mathematica's ...
3
votes
2answers
70 views

adding bar legend of an morphological image (Atomic force microscopy image)

I want to analysis a topography of the following image. I want to add a bar legend in this image associated with the appropriate colour of the image. Following is the image: For your reference Here I ...
1
vote
1answer
81 views

ColorReplace with thresholds and connected components

I would like to replace the colors in this drawing (called img) with colors of my choice. (For simplicity, we can assume my desired colors are ...
3
votes
0answers
66 views

How to digitize a vector field?

Is there some way that I can digitize both the direction and the magnitude of a vector field accessible in JPEG format? To clarify what I mean, I want to have the numerical value of: 1)magnitude and 2)...
3
votes
1answer
99 views

Hiding a message in a photo using Mathematica

So, this is a problem that me and my friends are facing while doing a project for school. Our idea is the following. Given a certain photo we want to be able to hide a message behind it. Our approach ...
0
votes
1answer
105 views

Plotting a complete graph with a given image as vertices [closed]

I am trying to plot a complete graph using a png image for the vertices. I tried a "drag and drop" approach with VertexShape, but the software gets ...
0
votes
0answers
45 views

Erase parts of image or overlay with different color

Is there a way of erasing part of an image? I have been looking for a tool that would enable me to do this. Is there one? Here is a simple minimum working example. I make an image that has some ...
8
votes
1answer
226 views

Digitise curves from an existing plot image

I'm trying to digitalise the solid lines in the plot below and find the approach here doesn't work for my case. If the solid lines can be well highlighted into simpler format, I think this ...
1
vote
1answer
62 views

What is the default loss function used by the GradientBoostedTrees classifier?

I've used Classify[...] for a two class image classification problem which has yielded pretty good results. I let Mathematica select an algorithm for me and it picked a GBT model, everything looked ...
0
votes
1answer
61 views

Defining elements of matrix as a function of two variables (the position $(i,j)$ ) [closed]

I have the following array, which generated from grayscale image data,: $$ \left( \begin{array}{cccccccc} 162 & 162 & 162 & 161 & 162 & 157 & 163 & 161 \\ 162 & 162 &...
2
votes
2answers
100 views

Changing graphics coordinates to the image coordinate frame

The graphics libraries I'm used to using with images, all use image coordinate frames. That is, the origin is in the upper left hand corner. I'm relatively new to using Mathematica for image ...

1
2 3 4 5
31