eye-boof.core.image-struct

BasicImageHandlers

protocol

members

as-seq

(as-seq img)
Returns the image's data as a Clojure sequence.

height

(height img)
Returns the image's height.

width

(width img)
Returns the image's width.

ColorImageHandlers

protocol

members

band!

(band! pimg n)
Returns a GrayU8 image as a color channel of a Planar image. IMPORTANT:
modifying the returned image has the side effect of modifying the given
image.

num-of-bands

(num-of-bands pimg)
Returns the number of color channels of a Planar image.