CFwhm:X


The X method returns the centroid x position obtained when the FWHM is computed by the Calc method.

Syntax

nX = CFwhm:X()

where

    nX is the centroid pixel coordinate for the x axis estimated by, but not returned by, the Calc method.

Example

 

F = CFwhm:new()

-- create a new CFwhm object

F:Calc( 290, 484 )

-- calculate the FWHM near pixel 290,484

Printf("X=%.3lf", F:X() )

-- result: X = 483.442

Related Topics

Y

Calc

CFwhm Class

Image Coordinate System

Subpixel Coordinate Definition