EC FILTER - Extract Connected Clusters - Filter

(7/15/03)

PURPOSE

Reads a SPIDER document file containing cluster number (index) and number of voxels (register:1) in the cluster. If the number of voxels < solicited minimum number or > solicited maximum number, then the voxels belonging to this cluster are set to value zero.   Example.

SEE ALSO

EC SELECT [Extract Connected Clusters - Selection]
EC CLOSE [Extract Connected Clusters - merge close clusters]
EC CL [Extract Connected Clusters]
EC STAT [Extract Connected Clusters - Statistics]

USAGE

.OPERATION: EC FILTER

.CLUSTER DOC FILE: DOC001
[Name of document file. This document file may be edited output from the "EC STAT" operation. The document file contains at least 1 register column:
Col. Role Contents
1 Key 1+Cluster number
2 # of Regs. 1
3 Reg. Number of voxels in cluster

.CLUSTER INPUT FILE: VVV001
[Name of input file. This is typically output image/volume from operation 'EC CL'.]

.CLUSTER OUTPUT FILE: VVV002
[Name for output image/volume file.]

.STARTING & ENDING CLUSTER SIZES RETAINED: 300, 100000
[Voxels in clusters having number of voxels less than or greater than this range will be set to background.]

NOTES

  1. Document files should have 'number of cluster + 1' as key. The first register should contain number of voxels in the cluster. (The cluster number is incremented by one because zero key is not allowed and it is usefull to have a measure of the background which has value zero in the file).

SUBROUTINES

MAPFILT, MAPIM

CALLER

UTIL6

© Copyright Notice /       Enquiries: spider@wadsworth.org