dcv.io.image

Module for image I/O.

Members

Functions

imread
Image imread(in string path, ReadParams params = ReadParams(ImageFormat.IF_UNASSIGNED, BitDepth.BD_UNASSIGNED))

Read image from the file system.

imwrite
bool imwrite(in string path, size_t width, size_t height, ImageFormat format, BitDepth depth, ubyte[] data)

Write image to the given path on the filesystem.

imwrite
bool imwrite(in Image image, in string path)

Convenience wrapper for imwrite with Image.

imwrite
bool imwrite(Slice!(kind, packs, T*) slice, ImageFormat format, in string path)

Convenience wrapper for imwrite with Slice type.

Structs

ReadParams
struct ReadParams

Image reading parameter package type.

Meta

Authors

Relja Ljubobratovic

License

$(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).