|
SOLUTIONS
|
BUILT-IN MATHEMATICA SYMBOL
BorderDimensions[image]
gives the pixel width of uniform borders of image in the form
.
BorderDimensions[image, t]
finds borders whose pixels vary by an amount less than t.
Details and OptionsDetails and Options
- BorderDimensions works with binary, grayscale, and multichannel images.
- BorderDimensions[image] is equivalent to BorderDimensions[image, 0.02].
- ImagePad[image, -BorderDimensions[image]] effectively removes uniform image margins.
- BorderDimensions works with Image3D objects and returns the borders in the form
.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Find the pixel dimensions of the black margins:
| In[1]:= |
| Out[1]= |
New in 8 | Last modified in 9
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

