Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 4539

Questions on the image processing capabilities implemented in Mathematica.

11 votes

How to blend two photos in Mathematica?

ImageAdd does the job. Blend allows you to adjust the blending level. ImageAdd[tiger, background]
paw's user avatar
  • 5,690
7 votes
Accepted

How to make a cleaner copy out of a blurry text image before OCR?

Level adjustments can be done with Mathematica using the ImageAdjust function. But I think Binarizeis good enough for the case you presented. The results are pretty close. img = Import["https://i.ss …
paw's user avatar
  • 5,690
7 votes

How to track objects in video

Here is an example how to get the rectangle coordinates First we extract the rectangles that don't touch the borders with img = frames[[1]]; rec = SelectComponents[ColorNegate@img, "AdjacentBorde …
paw's user avatar
  • 5,690
5 votes

Why ColorReplace does not follow the rules specified?

What you want to do can be done way easier: i = Binarize@Import["https://i.sstatic.net/ZDeYq.jpg"]; Colorize[MorphologicalComponents@i, ColorRules -> {1 -> Red, 2 -> Blue, 3 -> Green, 4 -> Yellow}] …
paw's user avatar
  • 5,690
13 votes
1 answer
3k views

ImageTransformation: polar to cartesian

I am working on something that requires the polar transformation of some images. I implemented this transformation with ImageTransformation: img = Import["https://i.sstatic.net/9cV4T.jpg"] {cente …
paw's user avatar
  • 5,690
20 votes
1 answer
632 views

Segmentation of sunspots

I recently went for a walk with my camera and snapped a few pictures of the sun. The pictures didn't turn out too well, but this was to be expected without a telescope. I thought it might be a nice ex …
paw's user avatar
  • 5,690
7 votes
2 answers
426 views

Efficient Lloyd Sampling of Images

I want to sample a grayscale image so that every voronoi cell contains approximately the same total intensity using lloyd sampling. My current code is kind of slow and I was hoping for some advice to …
paw's user avatar
  • 5,690
11 votes

Programmatic approach to HDR photography

Exposure fusion is often a powerful alternative to the reconstruction of HDR images if we are only interested in the tone mapped result. HDR reconstructions are often not possible because exposure tim …
paw's user avatar
  • 5,690