Adding a colorMap function to easily update pixels
Fixing all missing case in image Conversion