Discussion:
Transform Image
Nebullus
2018-10-10 20:12:43 UTC
Permalink
How can I transform a grayscale image to use only 8 bits per pixel, with the
size 640x480 ?



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Pantxo
2018-10-11 12:10:59 UTC
Permalink
Post by Nebullus
How can I transform a grayscale image to use only 8 bits per pixel, with the
size 640x480 ?
--
http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Hi,

It is hard to say without knowing the kind "grayscale" image you want to
convert to uint8. A grayscale images can be an m-by-n-by-3 RGB image (of
type double, single uint8 or uint16) with R = G = B, or an m-by-n image (of
type double, single, ...) indexed into the "gray" colormap.

Can you give more details ?

Pantxo



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
Loading...