Similar mode needs a trained image.
Also output matched images in match mode.