powered by
secondary function for invariant_hash
switch_invariant(method, gray_image, MODE, hash_size, highfreq_factor, resize)