Matching Dissimilar Images: Model and Algorithm