ccount
From DavinciWiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | {{DavinciWiki_Function}} | + | {{DavinciWiki_Function| |
− | [[category: | + | The ccount() function is used to count the number of pixels in a cluster overlay that have a value above the specified threshold. |
+ | | | ||
+ | Arguments: any numeric array and a threshold value | ||
+ | |||
+ | Return Value: a 3x1x1 float array | ||
+ | | | ||
+ | Syntax: ccount(object, threshold, ignore) | ||
+ | |||
+ | Ccount() returns a 3x1x1 array of FLOAT values representing: | ||
+ | #The ratio of the next two values, | ||
+ | #The number of pixels in the overlay with a value above threshold, | ||
+ | #The total number of pixels in the image with a value above ignore. | ||
+ | | | ||
+ | dv> a | ||
+ | 100x100x1 array of float, bsq format [40,000 bytes] | ||
+ | |||
+ | dv> ccount(a,10) | ||
+ | 3x1x1 array of float, bsq format [12 bytes] | ||
+ | 0.914009 8971.00 9815.00 | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | *[[cluster]] | ||
+ | | | ||
+ | | | ||
+ | }} | ||
+ | [[category:Davinci Core]] | ||
[[category:Functions]] | [[category:Functions]] |
Revision as of 17:53, 20 February 2006
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description The ccount() function is used to count the number of pixels in a cluster overlay that have a value above the specified threshold.
Arguments and Return Values Arguments: any numeric array and a threshold value Return Value: a 3x1x1 float array
Usage Syntax: ccount(object, threshold, ignore) Ccount() returns a 3x1x1 array of FLOAT values representing:
Examples dv> a 100x100x1 array of float, bsq format [40,000 bytes] dv> ccount(a,10) 3x1x1 array of float, bsq format [12 bytes] 0.914009 8971.00 9815.00 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 03-23-2006 |