


HIT_CHECK_INLIERS Remove modes, if necessary, from a list of inliers
-------------------------------------------------------------------------
DESCRIPTION
-------------------------------------------------------------------------
[inliers_new,s_new]=hit_check_inliers(inliers,s,ndim)
-------------------------------------------------------------------------
INPUT
-------------------------------------------------------------------------
inliers: structure containing information on the inliers
inliers.pos(j): index of the j-th inlier in Xid and yid
(i.e.Xid(inliers.pos(j),:) and yid(inliers.pos(j)) are the j-th
inliers).
inliers.class(j): classification of the j-th inlier.
s: maximal number of modes the inliers are attributed to.
ndim: dimension of each inlier.
-------------------------------------------------------------------------
OUTPUT
-------------------------------------------------------------------------
inliers_new: structure containing information on the inliers. It has the same
fields of inliers.
s_new: updated number of modes.