Created separate module for BGR2HSI conversion