2 Croceted a fwe tpyos :))
source | link

There is no perfect solution to the problem you face. You must make a choice and every choice has pros and cons. For example you can apply saturation thresholding. Or you can use normalization. Saturation threshold clipping is very simple to realize and provide excellent performance provided that intermediate processing stages will not overflowmagnify the intensities too much fromabove 255 (or below 0). OtehrwiseOtherwise, it will severely distort the image. Normazlation guarantieesNormalization guarantees a loss free output but mymay severely degrade the algorthmalgorithm quality. Besides it requires you to know in advance the perfect normalization scale, which may not be possible always.

There is no perfect solution to the problem you face. You must make a choice and every choice has pros and cons. For example you can apply saturation thresholding. Or you can use normalization. Saturation clipping is very simple to realize and provide excellent performance provided that processing stages will not overflow the intensities too much from 255 (or 0). Otehrwise, it will severely distort the image. Normazlation guarantiees a loss free output but my severely degrade the algorthm quality. Besides it requires you to know in advance the perfect normalization scale, which may not be possible always.

There is no perfect solution to the problem you face. You must make a choice and every choice has pros and cons. For example you can apply saturation thresholding. Or you can use normalization. Saturation threshold clipping is very simple to realize and provide excellent performance provided that intermediate processing stages will not magnify the intensities too much above 255 (or below 0). Otherwise, it will severely distort the image. Normalization guarantees a loss free output but may severely degrade the algorithm quality. Besides it requires you to know in advance the normalization scale, which may not be possible always.

1
source | link

There is no perfect solution to the problem you face. You must make a choice and every choice has pros and cons. For example you can apply saturation thresholding. Or you can use normalization. Saturation clipping is very simple to realize and provide excellent performance provided that processing stages will not overflow the intensities too much from 255 (or 0). Otehrwise, it will severely distort the image. Normazlation guarantiees a loss free output but my severely degrade the algorthm quality. Besides it requires you to know in advance the perfect normalization scale, which may not be possible always.