I'm used this code to measure intensity in a line using improfile tools . The plot show data intensity in 0-255 (8bit), my question how to change bit into 16bit?
I = imread('IMG_1737.JPG');x = [2032 2032];y = [0 size(I,1)];c = improfile(I,x,y);figuresubplot(2,1,1)imshow(I);hold onplot(x,y,'r')subplot(2,1,2)%plot(c(:,1,1),'r')
hold onplot(c(:,1,2),'g')%plot(c(:,1,3),'b')
Best Answer