ccount

From DavinciWiki
Jump to: navigation, search


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 = INT] [, ignore = INT])

Ccount() returns a 3x1x1 array of FLOAT values representing:

  1. The ratio of the next two values,
  2. The number of pixels in the overlay with a value above threshold,
  3. The total number of pixels in the image with a value above ignore.

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

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

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 03-23-2006

Personal tools