[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Transform Image
From: |
Pantxo |
Subject: |
Re: Transform Image |
Date: |
Thu, 11 Oct 2018 07:10:59 -0500 (CDT) |
Nebullus wrote
> 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
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