This function takes an Image object and modifies
its bit depth (e.g. from 16 bits to 8 bits).
changeBitDepth(image, bitdepth)| image | An |
|---|---|
| bitdepth | A scalar corresponding to the colorspace the image should be converted to. Options are 8 and 16, for 8 and 16 bits respectively. |
An Image object.
Simon Garnier, garnier@njit.edu
# TODO