I have an image in matlab and I am trying to get

1 view (last 30 days)
How many bits are being used to represent each pixel? The range of pixel value?

Answers (1)

Star Strider
Star Strider on 10 Dec 2014
The values are 8-bit unsigned integers (type uint8) from 0 to 255. If the image is grayscale, each pixel as one uint8 value, if colour, one uint8 value for each of the three colour channels.

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!