Workaround to not exclude the complete thesholding methods that do not work on few image types