Image database queries based on interest points