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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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 user 12

Questions on the image processing capabilities implemented in Mathematica.

5
votes
Use the DataReversed option of ImageData. img = ExampleData[{"TestImage", "Sailboat"}]; Graphics[Raster@ImageData[img, DataReversed -> True]] This discrepancy between Image and Raster is due to …
answered Oct 28 '16 by Szabolcs
11
votes
ColorRules is more useful for binary images. Colorize[Binarize@Entity["Icon", "Camera"]["Image"], ColorRules -> {0 -> Gray, 1 -> Green}] With that, you lose antialiasing. For grayscale, use Co …
answered Apr 26 '17 by Szabolcs
15
votes
This happens because: The region is not completely black. It has a white margin. As I understand, EquivalentDiskRadius does not detect a disk. It takes every component, regardless of shape, and con …
answered Nov 18 '15 by Szabolcs
12
votes
img = ExampleData[{"TestImage", "Mandrill"}]; This "rotates" the image like you did: rot[img_] := Image@RotateLeft[ImageData[img], Round[Reverse@ImageDimensions[img]/2]] Let's make a mask ... …
answered Feb 28 '12 by Szabolcs
10
votes
1answer
Note: Wolfram Support confirmed that the behaviour of MedianFilter is as intended, but the description in the documentation in incorrect. M11.1 and earlier have the correct description: For multic …
asked Aug 27 '18 by Szabolcs
0
votes
0answers
What is the difference between the "EndPoints" and "SkeletonEndPoints" functions of MorphologicalTransform? Does anyone know the precise definitions of each?
asked Aug 6 by Szabolcs
5
votes
The article says to align photos and then take the median. Use ImageAlign to align, take the ImageData, use Median, convert back the data to an image using Image.
answered Jun 23 '18 by Szabolcs
5
votes
Do not use Rasterize for this! By default Rasterize will create a Graphics object that shows how some notebook element would display on-screen. This means that precision is bad and you risk introduc …
answered Jan 19 '16 by Szabolcs
2
votes
"Fisheye projection" can mean multiple different things. The most common projection used by lenses is the equal-area one, for which you were using a formula: $$ r = 2f\sin(\theta/2) $$ Here $\theta …
answered May 4 '16 by Szabolcs
4
votes
Yes! I have done this before with RAW files. Use the dcraw command line utility and convert the RAW file to a TIFF. You'll need to use appropriate command line options to prevent any processing of t …
answered Feb 11 '14 by Szabolcs
4
votes
If your images are the same size, a quick and dirty hack is using ImageAssemble in place of Grid. (I used that before several times.) You can generate "empty slots" for use with ImageAssemble like t …
answered Jan 26 '12 by Szabolcs
6
votes
Does also another possibility exists to get the same result, since the speed is relatively slow when I use many and large images (originals are 4K)? I suspect that Mathematica's performance is cl …
answered Oct 10 '16 by Szabolcs
4
votes
There are some stray lines in the image which may be difficult to handle. You can remove these using Pruning. Use MorphologicalGraph after this. Now your problem is reduced to finding the faces of …
answered Feb 16 '13 by Szabolcs
9
votes
What you are doing in (1) and (2) have nothing to do with each other. The fact that we can use the string "Byte" in both cases happens to be accidental (and I see how that can be confusing). The con …
answered Jul 15 '16 by Szabolcs
7
votes
1answer
MorphologicalGraph can produce a graph from an image. Such graphs should always be planar, but if the pixel structure has a certain unfortunate shape, then MorphologicalGraph will produce something th …
asked Jun 14 '18 by Szabolcs

15 30 50 per page