PlanetCentroid:

Path: SpacecraftEstimation/OpticalNavigation

% Compute the centroid for a planet

 It uses CannyEnhancer, then creates and binary image and finally does
 a circle fit.

 Type PlanetCentroid for a demo.
--------------------------------------------------------------------------
   Form:
   [c,e] = PlanetCentroid(i,thresh,rF)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   i       (:.:) uint8 Image
   thresh	(1,1) Threshold for binary conversion
   rF      (1,1) Use simplex for the ellipse fit 

   -------
   Outputs
   -------
   x     (1,1) Center x, pixels
   y     (1,1) Center y, pixels
   r     (1,1) Radius, pixels

------------------------------------------------------------------------

Children:

SpacecraftEstimation: EstimationData/GibbousMoon
Common: CommonData/ImageSCBus
Common: CommonData/SwooshWatermark
Common: General/CellToMat
Common: General/MatToCell
Common: General/Watermark
Common: Graphics/ColorMapGrayScale
Common: Graphics/NewFig
Common: Graphics/Plot2D
Common: Graphics/PltStyle
Common: Graphics/ShowThreeImages
Imaging: ImageData/Mug
Imaging: ImageData/SCImage
Imaging: ImageMatching/CannyEnhancer
Imaging: ImageMatching/CircleFit
Imaging: ImageMatching/GaussianDerivative
Imaging: ImageProcessing/GaussianKernal
Imaging: ImageProcessing/Imager
Imaging: Utilities/ReadImage

Back to the SpacecraftEstimation Module page