This is the imago Reference Manual, version 0.11.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 15 06:27:39 2024 GMT+0.
imago/imago.asd
imago/package.lisp
imago/conditions.lisp
imago/utilities.lisp
imago/color.lisp
imago/image.lisp
imago/image-utilities.lisp
imago/crc32.lisp
imago/drawing.lisp
imago/convert.lisp
imago/convolve.lisp
imago/compose.lisp
imago/contrast.lisp
imago/morphology.lisp
imago/interpolate.lisp
imago/rotate.lisp
imago/operations.lisp
imago/downscale.lisp
imago/file.lisp
imago/file-png.lisp
imago/file-pnm.lisp
imago/file-tga.lisp
imago/file-jpg.lisp
The main system appears first, followed by any subsystem dependency.
imago
Image manipulation library
Matthieu Villeneuve <matthieu.villeneuve@free.fr>
LLGPL
0.11.0
zlib
(system).
cl-jpeg
(system).
alexandria
(system).
serapeum
(system).
array-operations
(system).
imago/bit-io
(system).
flexi-streams
(system).
package.lisp
(file).
conditions.lisp
(file).
utilities.lisp
(file).
color.lisp
(file).
image.lisp
(file).
image-utilities.lisp
(file).
crc32.lisp
(file).
drawing.lisp
(file).
convert.lisp
(file).
convolve.lisp
(file).
compose.lisp
(file).
contrast.lisp
(file).
morphology.lisp
(file).
interpolate.lisp
(file).
rotate.lisp
(file).
operations.lisp
(file).
downscale.lisp
(file).
file.lisp
(file).
file-png.lisp
(file).
file-pnm.lisp
(file).
file-tga.lisp
(file).
file-jpg.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
imago/imago.asd
imago/package.lisp
imago/conditions.lisp
imago/utilities.lisp
imago/color.lisp
imago/image.lisp
imago/image-utilities.lisp
imago/crc32.lisp
imago/drawing.lisp
imago/convert.lisp
imago/convolve.lisp
imago/compose.lisp
imago/contrast.lisp
imago/morphology.lisp
imago/interpolate.lisp
imago/rotate.lisp
imago/operations.lisp
imago/downscale.lisp
imago/file.lisp
imago/file-png.lisp
imago/file-pnm.lisp
imago/file-tga.lisp
imago/file-jpg.lisp
imago/conditions.lisp
package.lisp
(file).
imago
(system).
decode-error
(condition).
encode-error
(condition).
imago-condition
(condition).
imago-error
(condition).
not-implemented
(condition).
operation-error
(condition).
unknown-format
(condition).
unknown-format-pathname
(reader method).
imago/utilities.lisp
package.lisp
(file).
imago
(system).
best-in-array
(function).
clamp
(function).
image-dimension
(type).
image-index
(type).
read-array-element
(macro).
read-byte-array
(function).
read-lsb-integer
(function).
read-msb-integer
(function).
skip-bytes
(function).
skip-comments
(function).
skip-line
(function).
square
(function).
write-lsb-integer
(function).
write-msb-integer
(function).
imago/color.lisp
package.lisp
(file).
imago
(system).
+black+
(constant).
+blue+
(constant).
+cyan+
(constant).
+green+
(constant).
+magenta+
(constant).
+red+
(constant).
+white+
(constant).
+yellow+
(constant).
color-alpha
(function).
color-argb
(function).
color-blue
(function).
color-green
(function).
color-intensity
(function).
color-red
(function).
color-rgb
(function).
convert-color-to-imago-format
(function).
gray-alpha
(function).
gray-intensity
(function).
grayscale-pixel
(type).
indexed-pixel
(type).
invert-color
(function).
invert-gray
(function).
make-color
(function).
make-gray
(function).
planar-pixel
(type).
rgb-pixel
(type).
+default-bit+
(constant).
+default-gray+
(constant).
+default-rgb+
(constant).
binary-pixel
(type).
closest-colortable-entry
(function).
make-simple-gray-colormap
(function).
imago/image.lisp
package.lisp
(file).
imago
(system).
binary-image
(class).
grayscale-image
(class).
image
(class).
image-colormap
(reader method).
image-colormap
(reader method).
(setf image-colormap)
(writer method).
(setf image-colormap)
(writer method).
image-dimensions
(function).
image-height
(function).
image-pixel
(generic function).
(setf image-pixel)
(generic function).
image-pixels
(reader method).
image-pixels
(reader method).
image-pixels
(reader method).
image-pixels
(reader method).
image-pixels
(reader method).
(setf image-pixels)
(writer method).
(setf image-pixels)
(writer method).
(setf image-pixels)
(writer method).
(setf image-pixels)
(writer method).
(setf image-pixels)
(writer method).
image-plane-count
(reader method).
(setf image-plane-count)
(writer method).
image-width
(function).
indexed-image
(class).
initialize-instance
(method).
initialize-instance
(method).
initialize-instance
(method).
initialize-instance
(method).
initialize-instance
(method).
make-binary-image
(function).
make-binary-image-from-pixels
(function).
make-grayscale-image
(function).
make-grayscale-image-from-pixels
(function).
make-rgb-image
(function).
make-rgb-image-from-pixels
(function).
planar-image
(class).
print-object
(method).
rgb-image
(class).
add-generic-initializer
(macro).
pixel-size
(generic function).
imago/image-utilities.lisp
image.lisp
(file).
color.lisp
(file).
utilities.lisp
(file).
imago
(system).
do-image-pixels
(macro).
do-line-pixels
(macro).
do-region-pixels
(macro).
set-alpha
(generic function).
with-image-definition
(macro).
do-rectangle
(macro).
images-same-dimensions-p
(function).
images-same-type-p
(function).
in-image-p
(function).
in-region-p
(function).
make-similar-image
(generic function).
imago/crc32.lisp
package.lisp
(file).
imago
(system).
+crc32-table+
(special variable).
crc32
(function).
update-crc32
(function).
imago/drawing.lisp
image-utilities.lisp
(file).
color.lisp
(file).
imago
(system).
draw-bezier-curve
(function).
draw-circle
(function).
draw-line
(function).
draw-point
(function).
draw-polygon
(function).
draw-rectangle
(function).
imago/convert.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
convert-to-binary
(generic function).
convert-to-grayscale
(generic function).
convert-to-indexed
(generic function).
convert-to-planar
(generic function).
convert-to-rgb
(generic function).
imago/convolve.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
blur
(function).
convolve
(generic function).
edge-detect
(function).
emboss
(function).
sharpen
(function).
+emboss-matrix-cell-angles+
(special variable).
imago/compose.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
compose
(generic function).
default-compose-operator
(generic function).
imago/contrast.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
enhance-contrast
(generic function).
cdt->equalization-table
(function).
do-image-pixels*
(macro).
histogram
(type).
histogram->cdt
(function).
make-histogram
(function).
imago/morphology.lisp
image.lisp
(file).
imago
(system).
*structuring-element*
(special variable).
+cross-pattern+
(constant).
+square-pattern+
(constant).
component-boxes
(function).
dilate
(function).
distance-transform
(function).
erode
(function).
label-components
(function).
thin
(function).
add-indices
(function).
choose-pass2
(function).
distance-cdt
(function).
distance-edt
(function).
dropwhile
(function).
dt-helper
(type).
kernel-some
(function).
pass1!
(function).
pass2!
(function).
sep-cdt
(function).
sep-edt
(function).
thinning-pass
(function).
thinning-pass-guo
(function).
thinning-pass-zhang
(function).
thinning-type
(type).
transpose
(function).
imago/interpolate.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
*default-interpolation*
(special variable).
+resize-offsets+
(constant).
cubic-interpolator
(function).
interpolator
(generic function).
linear-interpolation
(function).
linear-interpolator
(function).
imago/rotate.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
rotate
(function).
make-default-background-color
(generic function).
make-rotator
(function).
rotate-dimensions
(function).
imago/operations.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
%resize
(generic function).
resize-pixels
(function).
imago/downscale.lisp
image.lisp
(file).
color.lisp
(file).
imago
(system).
downscale
(generic function).
downscale-channel
(function).
downscale-pixels
(function).
pixels-in-box
(function).
imago/file.lisp
conditions.lisp
(file).
imago
(system).
def-reader-from-file
(macro).
def-writer-to-file
(macro).
read-image
(function).
register-image-io-functions
(function).
register-image-reader
(function).
register-image-writer
(function).
write-image
(function).
*image-file-readers*
(special variable).
*image-file-writers*
(special variable).
register-image-io-function
(function).
imago/file-png.lisp
image.lisp
(file).
color.lisp
(file).
crc32.lisp
(file).
file.lisp
(file).
imago
(system).
read-png
(function).
read-png-from-stream
(function).
write-png
(function).
write-png-to-stream
(function).
+png-idat-chunk-type+
(special variable).
+png-iend-chunk-type+
(special variable).
+png-ihdr-chunk-type+
(special variable).
+png-plte-chunk-type+
(special variable).
+png-signature+
(special variable).
copy-png-descriptor
(function).
decode-png-colormap
(function).
decode-png-descriptor
(function).
decode-png-image
(function).
image-png-color-type
(generic function).
make-png-descriptor
(function).
png-descriptor
(structure).
png-descriptor-color-type
(reader).
(setf png-descriptor-color-type)
(writer).
png-descriptor-compression-method
(reader).
(setf png-descriptor-compression-method)
(writer).
png-descriptor-depth
(reader).
(setf png-descriptor-depth)
(writer).
png-descriptor-filter-method
(reader).
(setf png-descriptor-filter-method)
(writer).
png-descriptor-height
(reader).
(setf png-descriptor-height)
(writer).
png-descriptor-interlace-method
(reader).
(setf png-descriptor-interlace-method)
(writer).
png-descriptor-p
(function).
png-descriptor-width
(reader).
(setf png-descriptor-width)
(writer).
png-paeth
(function).
png-samples-per-pixel
(function).
read-png-chunk
(function).
read-png-sample
(function).
read-png-signature
(function).
write-png-chunk
(function).
write-png-colormap-chunk
(generic function).
write-png-data-chunk
(function).
write-png-end-chunk
(function).
write-png-header-chunk
(function).
write-png-pixel-bytes
(generic function).
write-png-signature
(function).
imago/file-pnm.lisp
image.lisp
(file).
color.lisp
(file).
file.lisp
(file).
imago
(system).
read-pnm
(function).
read-pnm-from-stream
(function).
write-pnm
(function).
write-pnm-to-stream
(function).
image-type+format=>magic
(function).
magic=>image-type+format
(function).
pnm-output-max-value-p
(generic function).
pnm-transform-input-stream
(function).
pnm-write-pixel
(generic function).
read-pnm-info
(function).
read-pnm-pixel
(generic function).
imago/file-tga.lisp
image.lisp
(file).
color.lisp
(file).
file.lisp
(file).
imago
(system).
read-tga
(function).
read-tga-from-stream
(function).
write-tga
(function).
write-tga-to-stream
(generic function).
read-tga-color
(function).
read-tga-color-index
(function).
read-tga-colormap
(function).
read-tga-data
(function).
write-tga-data
(function).
imago/file-jpg.lisp
image.lisp
(file).
color.lisp
(file).
file.lisp
(file).
imago
(system).
read-jpg
(function).
read-jpg-from-stream
(function).
write-jpg
(function).
write-jpg-to-stream
(function).
read-jpg-pixel
(generic function).
write-jpg-pixel
(generic function).
Packages are listed by definition order.
imago
common-lisp
.
*default-interpolation*
(special variable).
*structuring-element*
(special variable).
+black+
(constant).
+blue+
(constant).
+cross-pattern+
(constant).
+cyan+
(constant).
+green+
(constant).
+magenta+
(constant).
+red+
(constant).
+square-pattern+
(constant).
+white+
(constant).
+yellow+
(constant).
binary-image
(class).
blur
(function).
color-alpha
(function).
color-argb
(function).
color-blue
(function).
color-green
(function).
color-intensity
(function).
color-red
(function).
color-rgb
(function).
component-boxes
(function).
compose
(generic function).
convert-color-to-imago-format
(function).
convert-to-binary
(generic function).
convert-to-grayscale
(generic function).
convert-to-indexed
(generic function).
convert-to-planar
(generic function).
convert-to-rgb
(generic function).
convolve
(generic function).
copy
(generic function).
crop
(function).
decode-error
(condition).
def-reader-from-file
(macro).
def-writer-to-file
(macro).
dilate
(function).
distance-transform
(function).
do-image-pixels
(macro).
do-line-pixels
(macro).
do-region-pixels
(macro).
downscale
(generic function).
draw-bezier-curve
(function).
draw-circle
(function).
draw-line
(function).
draw-point
(function).
draw-polygon
(function).
draw-rectangle
(function).
edge-detect
(function).
emboss
(function).
encode-error
(condition).
enhance-contrast
(generic function).
erode
(function).
flip
(generic function).
gray-alpha
(function).
gray-intensity
(function).
grayscale-image
(class).
grayscale-pixel
(type).
image
(class).
image-colormap
(generic reader).
(setf image-colormap)
(generic writer).
image-dimensions
(function).
image-height
(function).
image-pixel
(generic function).
(setf image-pixel)
(generic function).
image-pixels
(generic reader).
(setf image-pixels)
(generic writer).
image-plane-count
(generic reader).
(setf image-plane-count)
(generic writer).
image-width
(function).
imago-condition
(condition).
imago-error
(condition).
indexed-image
(class).
indexed-pixel
(type).
invert
(generic function).
invert-color
(function).
invert-gray
(function).
label-components
(function).
make-binary-image
(function).
make-binary-image-from-pixels
(function).
make-color
(function).
make-gray
(function).
make-grayscale-image
(function).
make-grayscale-image-from-pixels
(function).
make-rgb-image
(function).
make-rgb-image-from-pixels
(function).
not-implemented
(condition).
operation-error
(condition).
planar-image
(class).
planar-pixel
(type).
read-image
(function).
read-jpg
(function).
read-jpg-from-stream
(function).
read-png
(function).
read-png-from-stream
(function).
read-pnm
(function).
read-pnm-from-stream
(function).
read-tga
(function).
read-tga-from-stream
(function).
register-image-io-functions
(function).
register-image-reader
(function).
register-image-writer
(function).
resize
(function).
rgb-image
(class).
rgb-pixel
(type).
rotate
(function).
scale
(function).
set-alpha
(generic function).
sharpen
(function).
thin
(function).
unknown-format
(condition).
with-image-definition
(macro).
write-image
(function).
write-jpg
(function).
write-jpg-to-stream
(function).
write-png
(function).
write-png-to-stream
(function).
write-pnm
(function).
write-pnm-to-stream
(function).
write-tga
(function).
write-tga-to-stream
(generic function).
%resize
(generic function).
*image-file-readers*
(special variable).
*image-file-writers*
(special variable).
+crc32-table+
(special variable).
+default-bit+
(constant).
+default-gray+
(constant).
+default-rgb+
(constant).
+emboss-matrix-cell-angles+
(special variable).
+png-idat-chunk-type+
(special variable).
+png-iend-chunk-type+
(special variable).
+png-ihdr-chunk-type+
(special variable).
+png-plte-chunk-type+
(special variable).
+png-signature+
(special variable).
+resize-offsets+
(constant).
add-generic-initializer
(macro).
add-indices
(function).
best-in-array
(function).
binary-pixel
(type).
cdt->equalization-table
(function).
choose-pass2
(function).
clamp
(function).
closest-colortable-entry
(function).
copy-png-descriptor
(function).
crc32
(function).
cubic-interpolator
(function).
decode-png-colormap
(function).
decode-png-descriptor
(function).
decode-png-image
(function).
default-compose-operator
(generic function).
distance-cdt
(function).
distance-edt
(function).
do-image-pixels*
(macro).
do-rectangle
(macro).
downscale-channel
(function).
downscale-pixels
(function).
dropwhile
(function).
dt-helper
(type).
histogram
(type).
histogram->cdt
(function).
image-dimension
(type).
image-index
(type).
image-png-color-type
(generic function).
image-type+format=>magic
(function).
images-same-dimensions-p
(function).
images-same-type-p
(function).
in-image-p
(function).
in-region-p
(function).
interpolator
(generic function).
kernel-some
(function).
linear-interpolation
(function).
linear-interpolator
(function).
magic=>image-type+format
(function).
make-default-background-color
(generic function).
make-histogram
(function).
make-png-descriptor
(function).
make-rotator
(function).
make-similar-image
(generic function).
make-simple-gray-colormap
(function).
pass1!
(function).
pass2!
(function).
pixel-size
(generic function).
pixels-in-box
(function).
png-descriptor
(structure).
png-descriptor-color-type
(reader).
(setf png-descriptor-color-type)
(writer).
png-descriptor-compression-method
(reader).
(setf png-descriptor-compression-method)
(writer).
png-descriptor-depth
(reader).
(setf png-descriptor-depth)
(writer).
png-descriptor-filter-method
(reader).
(setf png-descriptor-filter-method)
(writer).
png-descriptor-height
(reader).
(setf png-descriptor-height)
(writer).
png-descriptor-interlace-method
(reader).
(setf png-descriptor-interlace-method)
(writer).
png-descriptor-p
(function).
png-descriptor-width
(reader).
(setf png-descriptor-width)
(writer).
png-paeth
(function).
png-samples-per-pixel
(function).
pnm-output-max-value-p
(generic function).
pnm-transform-input-stream
(function).
pnm-write-pixel
(generic function).
read-array-element
(macro).
read-byte-array
(function).
read-jpg-pixel
(generic function).
read-lsb-integer
(function).
read-msb-integer
(function).
read-png-chunk
(function).
read-png-sample
(function).
read-png-signature
(function).
read-pnm-info
(function).
read-pnm-pixel
(generic function).
read-tga-color
(function).
read-tga-color-index
(function).
read-tga-colormap
(function).
read-tga-data
(function).
register-image-io-function
(function).
resize-pixels
(function).
rotate-dimensions
(function).
sep-cdt
(function).
sep-edt
(function).
skip-bytes
(function).
skip-comments
(function).
skip-line
(function).
square
(function).
thinning-pass
(function).
thinning-pass-guo
(function).
thinning-pass-zhang
(function).
thinning-type
(type).
transpose
(function).
unknown-format-pathname
(generic reader).
update-crc32
(function).
write-jpg-pixel
(generic function).
write-lsb-integer
(function).
write-msb-integer
(function).
write-png-chunk
(function).
write-png-colormap-chunk
(generic function).
write-png-data-chunk
(function).
write-png-end-chunk
(function).
write-png-header-chunk
(function).
write-png-pixel-bytes
(generic function).
write-png-signature
(function).
write-tga-data
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Neighborhood pattern for Manhattan distance. Two
pixels are considered neighbors if Manhattan distance between them is
1
Neighborhood pattern for Chebyshev distance. Two
pixels are considered neighbors if Chebyshev distance between them is
1
Default interpolation method. See RESIZE for details.
Default structuring element for erosion and dilation
Iterates through all pixels of an image. For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a generalized variable corresponding to the pixel color.
Iterates through all pixels of a line segment in an image, corresponding to the X1, Y1, X2 and Y2 parameters. For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a generalized variable corresponding to the pixel color.
Iterates through all pixels of a rectangular region in an image.
For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a
generalized variable corresponding to the pixel color.
Binds the WIDTH, HEIGHT and PIXELS variables to the values corresponding to IMAGE, then evaluates the body.
Return bounding boxes ((XMIN YMIN) (XMAX YMAX)) for connected components of an image. COMPONENTS is an array returned by LABEL-COMPONENTS
Crops an image. The resulting image is WIDTHxHEIGHT
and its top left corner has coordinates (X, Y) in the original image
space. If crop rectangle is exceeding dimensions of the original image,
OPERATION-ERROR is signalled.
Dilate binary image. STRUCTURING-ELEMENT is an optional 2D simple array of bits which serves as a structuring element and defaults to *STRUCTURING-ELEMENT*.
Perform distance transform on a binary image. A distance to the
closest pixels with the value FEATURE is calculate for each pixels
in the image.
TYPE can be either :MDT (Manhattan distance transform), :CDT (Chessboard distance transform) or :EDT (squared Euclidean distance).
Draws a cublic Bezier curve defined by a starting point, two control points, and an end point, in an image.
Draws a circle in an image.
Draws a line between two points in an image.
Draws a point in an image.
Draws a polygon in an image.
Draws a rectangle in an image.
Erode binary image. STRUCTURING-ELEMENT is an optional 2D simple array of bits which serves as a structuring element and defaults to *STRUCTURING-ELEMENT*.
Perform connected components labeling on binary image. Pixels with value zero are considered background. Each cluster gets a unique integer label. The result is returned in an array of fixnums with the same dimenions as image.
Create BINARY-IMAGE with dimensions WxH and fill it with INITIAL-COLOR or a suitable default if INITIAL-COLOR is not specified.
Create BINARY-IMAGE from two dimensional simple array of pixels of type BINARY-PIXEL
Create GRAYSCALE-IMAGE with dimensions WxH and fill it with INITIAL-COLOR or a suitable default if INITIAL-COLOR is not specified.
Create GRAYSCALE-IMAGE from two dimensional simple array of pixels of type GRAYSCALE-PIXEL
Create RGB-IMAGE with dimensions WxH and fill it with INITIAL-COLOR or a suitable default if INITIAL-COLOR is not specified.
Create RGB-IMAGE from two dimensional simple array of pixels of type RGB-PIXEL
Reads an image from a file. If the file format is not recognized, depending on the value of :ERRORP, either throws an error or returns NIL.
Read grayscale or colorful jpeg image using cl-jpeg. Colorful images are converted to RGB colorspace.
Read grayscale or colorful jpeg image using cl-jpeg. Colorful images are converted to RGB colorspace. Stream must be a stream of unsigned octets.
Read png image from a stream of unsigned octets.
Reads data for an image in PNM format from a file, and returns a newly created image correponding to those data.
Read PNM image from an octet stream STREAM.
This function is just a shorthand for REGISTER-IMAGE-READER and REGISTER-IMAGE-WRITER. Whenever READER and WRITER are not NIL, imago registers that I/O handler for the specified EXTENSIONS.
Register a reader function for some file extensions. The FUNCTION must take a FILESPEC as argument, and return an IMAGE.
Register a writer function for some file extensions. The FUNCTION must take an IMAGE and FILESPEC as arguments. To gain full control of writing options use specific WRITE-* functions.
Returns an newly created image corresponding to the
IMAGE image, with given dimensions. Currently supported
INTERPOLATION methods are :NEAREST-NEIGHBOR, :BILINEAR,
:BICUBIC and :BOX-SAMPLING. When :BOX-SAMPLING is passed RESIZE just
calls DOWNSCALE function which uses box sampling to downscale
images. This last method can only be used for downscaling.
Rotate an image by DEGREE degrees counterclockwise (negative DEGREE gives clockwise rotation).
Returns an newly created image corresponding to the
IMAGE image, with its dimensions multiplied by the given
factors. INTERPOLATION is pixel interpolation method, see RESIZE for
more details.
Perform thinning (extracting topological skeleton) of binary image.
Writes an image IMAGE to a file. If the file format is not recognized, depending on the value of :ERRORP, either throws an error or returns NIL.
Write imago image to jpeg file. QUALITY is an integer from 1 to 64 where 64 is default and the best quality.
Write jpeg image IMAGE to an octet stream STREAM. QUALITY is an integer from 1 to 64 where 64 is default and the best quality.
Writes the image data to a file in PNM format. OUTPUT-FORMAT can be either :ASCII or :BINARY.
Write IMAGE to an octet stream STREAM. FORMAT can be either :BINARY or :ASCII.
Composes IMAGE1 and IMAGE2 at offset (X, Y), using
OPERATOR to compose each pixel. OPERATOR must be a function of two colors,
returning a color.
Convert to binary image by thresholding pixels of the image
grayscale-image
) (threshold integer
)) ¶binary-image
)) ¶indexed-image
)) ¶grayscale-image
)) ¶grayscale-image
)) ¶indexed-image
)) ¶planar-image
)) ¶binary-image
)) ¶grayscale-image
)) ¶indexed-image
)) ¶Applies a 5x5 convolution kernel (a 5x5 real number matrix) to an image. Returns the resulting image.
grayscale-image
) matrix divisor offset) ¶Copies a rectangular region from image SRC to image DEST.
Both images must be large enough to contain the specified region at
the given positions. Both images must be of same type.
(eql nil)
) (src planar-image
) &key dest-x dest-y src-x src-y width height) ¶(eql nil)
) (src indexed-image
) &key dest-x dest-y src-x src-y width height) ¶Downscale an image using box sampling. This
function provides better results than RESIZE, but is slower.
grayscale-image
) width height) ¶Enhance the contrast of an image
grayscale-image
)) ¶Enhance the contrast of an IMAGE using a general histogram equalization algorithm
Flips an image. AXIS may be either :HORIZONTAL or
:VERTICAL. DEST must be either an image of same type and dimensions as
IMAGE, or NIL. Returns the resulting image.
planar-image
)) ¶automatically generated reader method
indexed-image
)) ¶automatically generated reader method
planar-image
)) ¶automatically generated writer method
indexed-image
)) ¶automatically generated writer method
Returns the color of the pixel at specified coordinates in the image.
Sets the color of the pixel at specified coordinates in the image.
binary-image
)) ¶automatically generated reader method
planar-image
)) ¶automatically generated reader method
indexed-image
)) ¶automatically generated reader method
grayscale-image
)) ¶automatically generated reader method
binary-image
)) ¶automatically generated writer method
planar-image
)) ¶automatically generated writer method
indexed-image
)) ¶automatically generated writer method
grayscale-image
)) ¶automatically generated writer method
planar-image
)) ¶automatically generated reader method
planar-image
)) ¶automatically generated writer method
Create a new image with colors of the supplied image being inverted.
binary-image
)) ¶grayscale-image
)) ¶Sets the alpha channel value for all pixels/colors in an image.
indexed-image
) alpha) ¶grayscale-image
) alpha) ¶indexed-image
) stream &key top-down-p) ¶binary-image
) &rest initargs &key width height pixels initial-color) ¶grayscale-image
) &rest initargs &key width height pixels initial-color) ¶planar-image
) &rest initargs &key width height plane-count pixels colormap) ¶indexed-image
) &rest initargs &key width height pixels colormap color-count) ¶rgb-image
) &rest initargs &key width height pixels initial-color) ¶Signaled when decoding process has errored
imago-error
.
simple-condition
.
Signaled when encoding process has errored
imago-error
.
simple-condition
.
Generic imago condition
condition
.
Generic imago error
error
.
imago-condition
.
Signaled when the performed action is not implemented
Signaled when operation cannot be performed
imago-error
.
simple-condition
.
Signaled when trying to write to or read from an image with unknown format
common-lisp
.
:pathname
This slot is read-only.
The class for binary images whose pixels are just 0
or 1. Image dimensions must be provided to MAKE-INSTANCE, through
the :WIDTH and :HEIGHT keyword parameters.
(simple-array bit (* *))
The class for grayscale images. Image dimensions must be provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword parameters.
%resize
.
convert-to-binary
.
convert-to-grayscale
.
convert-to-indexed
.
convert-to-rgb
.
convolve
.
downscale
.
enhance-contrast
.
(setf image-pixels)
.
image-pixels
.
image-png-color-type
.
initialize-instance
.
interpolator
.
interpolator
.
invert
.
make-default-background-color
.
pixel-size
.
pnm-write-pixel
.
pnm-write-pixel
.
read-jpg-pixel
.
read-pnm-pixel
.
read-pnm-pixel
.
set-alpha
.
write-jpg-pixel
.
write-png-pixel-bytes
.
(simple-array imago:grayscale-pixel (* *))
The protocol class for images.
The class for indexed images. Image dimensions must be
provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword
parameters. Also accepts a :COLOR-COUNT keyword parameter, to specify
the image color count (256 by default).
The class for planar images. Image dimensions and
plane count must be provided to MAKE-INSTANCE, through the :WIDTH,
:HEIGHT, and :PLANE-COUNT keyword parameters, respectively.
The class for RGB images. Image dimensions must be
provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword
parameters.
%resize
.
convert-to-binary
.
convert-to-grayscale
.
convert-to-rgb
.
convolve
.
default-compose-operator
.
downscale
.
(setf image-pixels)
.
image-pixels
.
image-png-color-type
.
initialize-instance
.
interpolator
.
interpolator
.
invert
.
make-default-background-color
.
pixel-size
.
pnm-write-pixel
.
pnm-write-pixel
.
read-jpg-pixel
.
read-pnm-pixel
.
read-pnm-pixel
.
set-alpha
.
write-jpg-pixel
.
write-png-pixel-bytes
.
write-tga-to-stream
.
(simple-array imago:rgb-pixel (* *))
Default color for a newly created binary image
Default grayscale color for a newly created grayscale image
Default RGB color for a newly created RGB image
Destructive function that mutates a distribution table into a equalization table
Destructive function that mutates a histogram into a cumulative distribution table
Checks that the point with coordinates (X, Y) is inside IMAGE.
Checks that the point with coordinates (X, Y) is inside the given region.
Writes SIZE bytes of the integer NUMBER to STREAM, in least-significant bit order.
Writes SIZE bytes of the integer NUMBER to STREAM, in most-significant bit order.
(eql :nearest-neighbor)
) (image indexed-image
) new-width new-height) ¶binary-image
) new-width new-height) ¶grayscale-image
) new-width new-height) ¶Returns a compose operator that can be applied to
images of the same type as IMAGE. The default operator mixes colors
according to their respective alpha component.
indexed-image
)) ¶grayscale-image
)) ¶Return a function which accepts to single float
values X and Y in the range [0, 1) and returns a pixel at those
coordinates
grayscale-image
) (method (eql :bicubic)
)) ¶grayscale-image
) (method (eql :bilinear)
)) ¶grayscale-image
)) ¶binary-image
)) ¶Returns a new image, with same type and dimensions as IMAGE.
Returns the number of bytes used to represent a pixel.
planar-image
)) ¶indexed-image
)) ¶grayscale-image
)) ¶binary-image
)) ¶grayscale-image
) (format (eql :binary)
) stream pixel) ¶binary-image
) (format (eql :ascii)
) stream pixel) ¶grayscale-image
) (format (eql :ascii)
) stream pixel) ¶Read a pixel from an array with jpeg data
grayscale-image
) array idx) ¶grayscale-image
) (format (eql :binary)
) stream new-row-p) ¶binary-image
) (format (eql :binary)
) stream new-row-p) ¶grayscale-image
) (format (eql :ascii)
) stream new-row-p) ¶binary-image
) (format (eql :ascii)
) stream new-row-p) ¶unknown-format
)) ¶Write a pixel at row-major index IDX to the one dimensional array
grayscale-image
) array idx) ¶indexed-image
)) ¶indexed-image
) x y index) ¶grayscale-image
) x y index) ¶structure-object
.
Jump to: | %
(
A B C D E F G H I K L M P R S T U W |
---|
Jump to: | %
(
A B C D E F G H I K L M P R S T U W |
---|
Jump to: | *
+
C D F H I P S W |
---|
Jump to: | *
+
C D F H I P S W |
---|
Jump to: | B C D E F G H I M N O P R S T U |
---|
Jump to: | B C D E F G H I M N O P R S T U |
---|