changed point detection to class InterestPoint