User Tools

Site Tools


jvs:fscan:manual:chapter2:expression:peak

fScan Reference Manual, Chapter 2 (CmdLineOptions:Expr): Peak

Peak -- find local maxima/minima

usage: -e peak minval flag

The PEAK command compares the intensity value of each voxel with the intensities of its 26 immediate neighbors. It results in a map image, in which each new voxel is a flag (see below).

FLAG:
1 - only local extreme values
2 - consider negative peaks as well
4 - save peak locs as ROI points

Return values (combined as bitflag):
1 - has lower neighbor (or higher if neg) 2 - has equal neighbor 4 - has higher neighbor (but not if FLAG&1)

See Also:
Gradient, Segment, Descend

fScan Home, fScan Manual, CmdLineOptions, Expression Command, Manual Help

jvs/fscan/manual/chapter2/expression/peak.txt · Last modified: 2023/02/23 18:43 (external edit)