code cleanup
changed projection to use mask/processed instead of raw image