i have displayed a rgb histogram of my byte image .
i m trying to do linear stretching by using a input max and min values from the histogram as the user asks and output min, max as 0 & 255. Then m loading a color table…the default color table works fine…i m using byte buffer for the color tables…
However i m not getting the desired output
When i m printing the color table it prints -ve values as the java interprets byte as -127 to 127
moreover only changes in the blue histogram are reflected
it seems dat instead of enhancement the image is deteorating…
what can be wrong…is it something to do wid de byte stuff…or need to check my logic again???