CFwhm:Bg CFwhm:Peak

CFwhm:X


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

Syntax

nX = CFwhm:X()

    nX is the centroid pixel coordinate for the x axis.

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

CFwhm, Y, Calc, Image Coordinate System, Subpixel Coordinate Definition