spectral irregularity maps to pixel sorting

still need to update threshold