creating a new image intensity metric in my own way