7.3.14. Miscellaneous Image Macros and Conversions
|
(lsh/libimage/img-util.lsh) |
basic macros and functions to manipulate dimensions and internal formats
of images
7.3.14.0. (rgbaim2rgbafim in)
|
(lsh/libimage/img-util.lsh) |
convert RGBA image of ubytes into RGBA image of floats.
7.3.14.1. (rgbafim2rgbaim in)
|
(lsh/libimage/img-util.lsh) |
convert RGBA image of floats into RGBA image of ubytes.
7.3.14.2. (pixel2rgbim in)
|
(lsh/libimage/img-util.lsh) |
converts an integer matrix of pixel values into a RGB image
7.3.14.3. img-dim-C
|
(lsh/libimage/img-util.lsh) |
class that holds the two dimensions of an image d0: height d1: width
7.3.14.3.0. (new img-dim-C d0 d1)
|
[CLASS] (lsh/libimage/img-util.lsh) |
7.3.14.3.1. (equal-dim dimA dimB)
|
(lsh/libimage/img-util.lsh) |
((-obj- (img-dim-C)) dimA dimB):
CREATED: Oct 97
DESCRIPTION:
t if dimA and dimB are equal
7.3.14.3.2. (align-dimensions img-dim align-block)
|
(lsh/libimage/img-util.lsh) |
((-obj- (img-dim-C)) img-dim):
(-int- align-block):
CREATED: Oct 97
DESCRIPTION:
return new dimension object
- dimensions larger than img-dim
- multiple of align-block