cluster

From DavinciWiki
(Redirected from Cluster)
Jump to: navigation, search


Description

Windowing cluster detection

Arguments and Return Values

Arguments: A numeric array, a radius value and a threshold value

Return Value: A byte array

Usage

Syntax: cluster(object = VAL [,radius = INT] [,threshold = INT])

The cluster() function generates a 'windowed cluster overlay', from a source image. Each pixel of the overlay represents the number of neighboring pixels in the source image. A pixel is considered to be a neighbor if it is within radius pixels, and has a value above threshold.

The source image must be a BYTE, SHORT or INT image, with a depth of 1.

Examples

 dv> a
 100x100x1 array of byte, bsq format [10,000 bytes]

 dv> c1=cluster(a,radius=1)
 100x100x1 array of byte, bsq format [10,000 bytes]

 dv> c5=cluster(b,radius=5)
 100x100x1 array of byte, bsq format [10,000 bytes]

 dv> c9=cluster(a,radius=9)
 100x100x1 array of byte, bsq format [10,000 bytes]

Images

clusterpic1.png clusterpic2.png clusterpic3.png clusterpic4.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: 07-06-2009

Personal tools