  Two parameters are developed to analyze the CCD images from ground-based
and/or space telescopes. The first parameter, deduced from the intensity
profile of the object sharp, is useful to resolve stars and hot pixels. The
second parameter shape distinguishes the stars from the background cosmic-ray
events using geometric characteristics defined by its shapes. The parameters
are applied to a simulated OMC/INTEGRAL image and a HST image.
