cleandcs
m (Removed 1.69 Version) |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | Removes unwanted saturated pixels in dcs images | + | Removes unwanted saturated pixels in dcs images. |
| | | | ||
Arguments: a byte color image and an option for level of cleanup. | Arguments: a byte color image and an option for level of cleanup. | ||
Line 6: | Line 6: | ||
Return Value: a byte color image with certain saturated pixels blacked-out. | Return Value: a byte color image with certain saturated pixels blacked-out. | ||
| | | | ||
− | Syntax: cleandcs(image, opt) | + | [[Syntax]]: cleandcs(image [, opt = INT]) |
'image' a byte color picture resulting from a dcs operation | 'image' a byte color picture resulting from a dcs operation | ||
+ | |||
'opt' option for level of cleaning. Default = 2 | 'opt' option for level of cleaning. Default = 2 | ||
+ | |||
opt=1 removes all pixels with 255 in one band and 0 in others | opt=1 removes all pixels with 255 in one band and 0 in others | ||
− | opt=2 removes all pixels with 255 in two bands | + | |
+ | opt=2 removes all pixels with 255 in two bands | ||
| | | | ||
dv> b | dv> b | ||
Line 25: | Line 28: | ||
| | | | ||
| | | | ||
+ | *[[dcs]] | ||
+ | *[[do_dcs]] | ||
+ | | | ||
+ | *image_stretch.dvrc | ||
| | | | ||
| | | | ||
}} | }} | ||
− | |||
[[category:Functions]] | [[category:Functions]] | ||
+ | [[category:User Defined Functions]] | ||
[[category:Image Stretching]] | [[category:Image Stretching]] |
Latest revision as of 15:56, 17 January 2008
Contents: Description, Arguments, Usage, Examples, Images, Related Functions, Source Supported Under Version: >1.00
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 = INT]) '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
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]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 02-15-2006 |