ApplyThreshold:

Path: SpacecraftEstimation/StarProcessing

% APPLYTHRESHOLD Apply a threshold to a pixelmap

 Applies a threshold and substracts the noise. If the threshold is not
 entered it will be computed from the pixel histogram using FitHist. 
 The threshold will be 4 sigma above the mean.
--------------------------------------------------------------------------
  Form:
  [p,b,T] = ApplyThreshold( pixels, b, T )
--------------------------------------------------------------------------
  ------
  Inputs
  ------
  p	(m,n)   Modified pixelmap
  b	(1,1)   Center of noise Gaussian
  T	(1,1)   Threshold
 
  -------
  Outputs
  -------
  p	(m,n)   Thresholded pixelmap
  b	(1,1)   Noise
  T	(1,1)   Threshold

--------------------------------------------------------------------------
  See also FitHist
--------------------------------------------------------------------------

Children:

SpacecraftEstimation: StarProcessing/FitHist

Back to the SpacecraftEstimation Module page