| Algorithm 1: Histogram modification in L*a*b* space |
| Input: —image in RGB space 1 convert into ; 2 divide into separate channels; 3 leave and channels without any changes; 4 transform channel to the [0 1] range; 5 perform certain histogram operation on channel; 6 transform back channel to the [0 100] range; 7 combine from separate channels; 8 convert into ; 9 return —modified image in RGB space; |