Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Image Processing & Analysis > Basic Image Manipulation > BorderDimensions >

BorderDimensions

BorderDimensions[image]
gives the pixel width of uniform borders of image in the form .
BorderDimensions
finds borders whose pixels vary by an amount less than t.
  • ImagePad effectively removes uniform image margins.
Find the pixel dimensions of the black margins:
Find the pixel dimensions of the black margins:
In[1]:=
Click for copyable input
Out[1]=
Border dimensions of a grayscale image:
Specify a higher tolerance to detect a noisy image border:
Remove blue borders of a color image:
Extract the text part of a scanned book:
Extract the foreground objects over a smoothly shaded background:
Border dimensions of a uniform image are considered zero:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF