cleandcs

From DavinciWiki
Revision as of 18:29, 20 February 2006 by Keith (Talk | contribs)

Jump to: navigation, search

Description

Removes unwanted saturated pixels in dcs images

Arguments and Return Values

Arguments: a byte color image and an option for level of cleanup.

Return Value: a byte color image with certain saturated pixels blacked-out.

Usage

Syntax: cleandcs(image, opt)

'image' a byte color picture resulting from a dcs operation 'opt' option for level of cleaning. Default = 2 opt=1 removes all pixels with 255 in one band and 0 in others opt=2 removes all pixels with 255 in two bands and 0 in other

Examples

 dv> b
 345x500x3 array of byte, bip format [517,500 bytes]

 dv> c=cleandcs(b,1)
 345x500x3 array of byte, bip format [517,500 bytes]

 dv> d=cleandcs(b,2)
 345x500x3 array of byte, bip format [517,500 bytes]

Images

clndcs1.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

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

All other topics

  • See navigation on the left


Recent Library Changes

Created On: 02-15-2006
Modified On: 01-17-2008

Personal tools