Questions tagged [image-processing]

Questions on the image processing capabilities implemented in Mathematica.

Filter by
Sorted by
Tagged with
34 votes
5 answers
15k views

How to create effect like Van Gogh's stroke brush?

I need to apply Van Gogh's stroke brush effect to a random image Take the following image as an example: Thank you so much if you could help!
user10495's user avatar
  • 515
27 votes
2 answers
3k views

How to stitch two images together

I have talk about how to catenate two images whose have same part totally in my this post. But in this case two images have similar information, not totally same. ...
yode's user avatar
  • 26.7k
27 votes
1 answer
9k views

Is there a way to convert an image into a Graph?

I'm trying to convert an image with several overlapping dots into a Graph. The goal is to be able to derive the Kirchhoff matrix for the randomly created "network ...
Dj Rager's user avatar
  • 297
26 votes
7 answers
3k views

Is there a way to recreate the typical Red/Blue-Postereffect using Mathematica?

I think nearly all of us have at least once seen an image like this: So I wondered whether it is possible to recreate this effect using Mathematica because it seems like it wouldn't need that many ...
TetstName123's user avatar
25 votes
3 answers
2k views

Convert binary voxel image to geometric region

I have a binary voxel image which described a contiguous region in space. Example: ...
Szabolcs's user avatar
  • 235k
23 votes
1 answer
2k views

Using ImageCapture to access a USB webcam in linux

Is it possible to access a USB webcam through Mathmatica on Linux? When I run ImageCapture[] I get the following output ...
Ram's user avatar
  • 231
23 votes
1 answer
933 views

How to ImageRestyle high-res images?

I’m running v12 now and ImageRestyle[] crashes for me on an image of size 1600 x 1200 pixels. All the examples in the documentation use images around 500 x 500 or ...
M.R.'s user avatar
  • 31.5k
22 votes
2 answers
920 views

Reconstruct a graph from an image (curved edges and edge crossings)

Actually, I posted a very similar question before this.How to generate a Graph from a picture of a graph Dr. belisarius's answer have answered that question, but I find a limitation in that method: ...
yode's user avatar
  • 26.7k
21 votes
4 answers
552 views

Find best region to put text onto image

Given an image upon which you want to inset text, the question arises: What is the best sub-region to place text? For example, given a background image I want to find the rectangle in the image (...
M.R.'s user avatar
  • 31.5k
21 votes
1 answer
3k views

Rotating perspective of an image in the z axis

A purely recreational question, but one I hoped the community would find interesting enough to suggest a way to approach it. Let me preface this question with the admission that I have done nothing ...
Jagra's user avatar
  • 14.3k
21 votes
1 answer
1k views

Extracting road curves from an image

I have taken several gps readings while driving around town. ...
Zviovich's user avatar
  • 9,308
21 votes
2 answers
572 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 ...
Kardashev3's user avatar
  • 1,354
20 votes
1 answer
324 views

How to count proportion of two phase in a electron microscope picture

I have a picture: The sunk area is a phase,and the bulged area in another phase.I want count the proportion of this two area.this is my method.First I get the mask ...
yode's user avatar
  • 26.7k
19 votes
3 answers
2k views

Monospaced fonts are not monospaced

Bug introduced in 8 or earlier and persisting through 11.2.0 I'm using Linux-x86-64 as operating system. Can someone explain this behaviour and maybe give a hint how to resolve it? Here are two lines ...
halirutan's user avatar
  • 113k
19 votes
1 answer
2k 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 ...
M.R.'s user avatar
  • 31.5k
18 votes
1 answer
685 views

Making a graph or network interactively over an image

Given an image, is it possible to manually draw a graph over it? For example, taking the following image: I want to manually pick the vertices and draw the edges in a "Paint-like" manner to get, for ...
sam wolfe's user avatar
  • 4,693
18 votes
2 answers
2k views

How to measure segment length and branch angle

I am trying to measure segment length and branch angle or bifurcation angle between each pair of segments. My image after thinning looks like this: ...
user avatar
18 votes
2 answers
1k views

Smoother jelly / water effect on an image

I'm trying to achieve a jelly / water surface effect. I'd like it to be a bit smoother. Here I am taking a triangulated rectangle and perturbing all points by a little random noise for each frame. ...
flinty's user avatar
  • 25.3k
18 votes
1 answer
2k views

Can I OCR Mathematica code on an image?

There's no doubt that one should always post the Mathematica code text rather than its screenshot when asking questions in this site, but every time I saw someone posting a screenshot, I can't help ...
xzczd's user avatar
  • 66.2k
18 votes
3 answers
2k views

Detecting and correcting gradational brightness variations in a grayscale image

I am trying to quantify the proportions of various components in a greyscale image (backscattered electron image of a polished rock sample). Here is the original image: ...
geordie's user avatar
  • 3,693
18 votes
2 answers
1k views

Efficient way to compare animated images to tell if they are the same

I have a Student license for Mathematica, and felt like I wasn't making full use of the wonderful toolkit that it is; so I looked into things like its image processing capabilities. Now, I made and ...
Austin Burk's user avatar
18 votes
5 answers
2k views

Measure perimeter of black edge in Mathematica

I have a pattern like the one below. How could I measure the total length of the perimeter of the black/white edge? This would give me a measure of spatial frequency. Any tips would be great! Thanks!
Levi's user avatar
  • 425
18 votes
4 answers
2k views

How to fill in an irregular border of an image

I have the following code which draws a graphic, and colors the regions in it in different colors: ...
Brett Champion's user avatar
18 votes
2 answers
980 views

How to TextRecognize a screenshot of code?

Are there any specific tricks or options to help TextRecognize work on a screenshot of an Input Cell or code in general? For example, here's a screenshot that ...
M.R.'s user avatar
  • 31.5k
17 votes
2 answers
630 views

Counting number of tubes in an image

The task is to recognize the tubes on the ceiling in the following image Get the binary image ...
yode's user avatar
  • 26.7k
17 votes
2 answers
2k views

How to efficiently mask an image?

I want to extract/cut out a part of an image. Since my mask is not rectangular I want to set pixels that are not masked to zero (black). My current approach is something like this: ...
dotcs's user avatar
  • 587
16 votes
1 answer
663 views

Automatic edX Pdf Handout creator

I am trying to make an automatic handout creator for my courses on edX. It took me a long time to do it... (If you don't know edX: https://www.edx.org/) I wrote a program that adds to each slide ...
james's user avatar
  • 3,083
16 votes
2 answers
650 views

Cluster a signal into areas of equal intensity

Introduction I have a greyscale photograph that I want to partition into areas of equal intensity. This means, that the integral over each partition should be (roughly) equal. There is no unique ...
kejace's user avatar
  • 341
16 votes
1 answer
501 views

Wrong Graphics coordinate system after Image to Graphics conversion

Bug introduced in 12.3 or earlier and persisting through 13.3.1 [CASE:4896512] If I upload this image (originally this img was generated by ...
yode's user avatar
  • 26.7k
16 votes
3 answers
915 views

Measure a DensityHistogram[] pair similarity

I study human vision and more specifically eye-movements. "If we display 2 symmetrical patterns (20 min one after the other), will our gaze distribution be symmetric is my research question." The 2 ...
500's user avatar
  • 5,569
16 votes
1 answer
1k views

Ellipse counting from image

I have hundreds of images similar to this image: I'm looking to count the number of ellipses as well as their major and minor diameters. The ellipses are touching, hence, ...
Andrew Stewart's user avatar
16 votes
4 answers
563 views

How to separate paths from the output of EdgeDetect?

I have been trying to find a way to separate the various closed paths that can be output by EdgeDetect. For example, taking the output of: ...
F'x's user avatar
  • 10.8k
16 votes
1 answer
1k views

Converting image into graphics

I have a black-white image, but it is rather blurry so I was thinking of converting it into vector graphics so I could do some coloring. This is the image: ...
t-smart's user avatar
  • 2,031
16 votes
4 answers
997 views

Poor results with ImageLines function

I'm trying to get my mind wrapped around Mathematica's image feature recognition functions. I'm intrigued by the ImageLines function for a couple future ideas I ...
kale's user avatar
  • 10.9k
16 votes
2 answers
2k views

Data extraction from a picture of a graph

How can I extract data from this picture of a graph? i = Import["https://i.stack.imgur.com/Ac8m0.png"]; The caption of the picture reads: " Two-dimensional ...
sra's user avatar
  • 717
16 votes
1 answer
657 views

Quickly importing several thousands of jpg files?

I have several thousands of small .jpg files (30kb each) which I need to import into Mathematica. (I plan to use ImageDistance ...
Kagaratsch's user avatar
15 votes
2 answers
2k views

Symmetrical image transformation for a kaleidoscope-type image

I've been trying to write a little kaleidoscope-type manipulate, using images rather than graphics, and using ImageTransformation as a way in. However, I'm starting ...
cormullion's user avatar
  • 24.2k
15 votes
3 answers
691 views

How to speed up Colorize

I have a list of about 500 images similar to the following: A = Import["https://i.stack.imgur.com/1bV4O.png"] ...
DarrenM's user avatar
  • 207
15 votes
1 answer
587 views

Proving (self) similarity with Mathematica - Reccurrence Plots, Similarity Plots etc

I posted this question in math.se but given the sheer tumultuous number of questions that keep appearing on math.se and also given that I am trying to accomplish this in Mathematica, I thought I'd ...
dearN's user avatar
  • 5,341
15 votes
3 answers
1k views

Rotate a grid, made up of lines, so that it aligns with the xy axes

While working on an answer for another problem I hit upon one of my own. I took the image given in that question and cleaned it up so that I could detect the grid lines: ...
C. E.'s user avatar
  • 70.6k
15 votes
2 answers
785 views

Extract bathymetry data from a map

Thanks everybody for edit and recommend. Here is a clearer version of my question. I have a map that shows bathymetry of a lake with legend showing depth relative to a range of color. The map ...
backorion's user avatar
  • 153
14 votes
1 answer
750 views

ImageAlign doesn't always work correctly

I've been working with ImageAlign in Mathematica 8 and I'm having trouble getting it working reliably. Perhaps there are some subtleties that I'm not yet aware of? ...
cormullion's user avatar
  • 24.2k
14 votes
5 answers
460 views

What is the idiomatic way to operate on the components of an image separately?

Suppose I have an image containing several morphological components and I wish to extract them as individual images (with sizes equal to their bounding boxes; these individual images shouldn't contain ...
Alexey Popkov's user avatar
14 votes
2 answers
3k views

Push-pin Art – Convert image to R-Y-B-W-Blk color space

After seeing an example of what is called “Push-pin Art”, I assumed that Mathematica would be able to handle the kind of image processing required to convert an image to this format. I am not well ...
Steve's user avatar
  • 193
14 votes
2 answers
614 views

Extracting data from analog screen photograph

I'm using an analog profilometer from the 1970s and need a way to digitize the data and the only way is through a photograph. I've searched but all I could find was how to extract data from computer ...
dVilhena's user avatar
  • 143
14 votes
2 answers
820 views

Is it possible to extract vertices and lines from this image?

I have the following image Is it possible to extract the lines from this image and then convert those lines to a graph representation? I tried using ImagesLines[] ...
AccidentalTaylorExpansion's user avatar
14 votes
2 answers
697 views

Analyze touching particles with holes in a microscopic image

I am looking for an easy method to count individual particles in a microscopic image. It is quite difficult for Mathematica to detect them, because they are touching each other. I am quite a beginner ...
Niki's user avatar
  • 960
13 votes
1 answer
921 views

Can I split an image into subparts automatically?

I want to extract subimages from an image like below. There are 6 components in the image, I want to crop this image into 6 images in a way each individual image contain only 1 component. Can I ...
Hayashi Yoshiaki's user avatar
13 votes
1 answer
2k views

Fitting Vogel's formula for phyllotaxis to the image of a flower

After having read this question I was inspired to investigate how we could take an image of a plant displaying phyllotaxis and fit Vogel's model of phyllotaxis to the image. The theory is very simple. ...
C. E.'s user avatar
  • 70.6k
13 votes
4 answers
1k views

Segmentation of a microscopy image with uneven illumination

I am trying to do a little image segmentation on some cells taken from microscopy images that have uneven illumination. I am having trouble getting the background of the image cleaned up after ...
user13999's user avatar
  • 907

1
3 4
5
6 7
9