How to create a SSIM Filter that is not case sensitive