pnmcrop

From DavinciWiki
Jump to: navigation, search


Description

Removes borders that are the background color.

Arguments and Return Values

Arguments: The image array

Return Value: A cropped image

Usage

Syntax: pnmcrop(object = VAL)

The background color has a value of 0.

Examples

dv> a
1441x2141x3 array of byte, bip format [9,255,543 bytes]

dv> b=pnmcrop(a)
1000x1701x3 array of byte, bip format [5,103,000 bytes]


Images

pnmcrop1.png pnmcrop2.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-27-2006

Personal tools