[][src]Module imaged::sys

Raw imaged bindings

Structs

Image

Stores image data with associated metadata

ImageMeta

ImageMeta is used to store image metadata with information about the image shape and type

Imaged

Image database

ImagedHandle

A handle is used to refer to an imgd image in an Imaged database

ImagedIter

Iterator over imgd files in an Imaged database

Pixel

4-channel floating point pixel

__dirstream
dirent
halide_buffer_t

Enums

ImageColor

Image colors, specifies the image color type

ImageKind

Image kinds, specifies the image data base type

ImagedStatus

Status types: IMAGED_OK implies the function executed successfully, while any other response signifies failure

Functions

imageAdjustGamma

Adjust image gamma

imageAlloc

Create a new image and copy data if provided

imageAt

Get a pointer to the data at the position (x, y)

imageClone

Duplicate an existing image

imageColorName

Get name of color

imageColorNumChannels

Get number of channels in a color

imageConsume
imageConvert

Convert source image to the specified type, returning the new converted image

imageConvertACES0
imageConvertACES0ToXYZ
imageConvertACES1
imageConvertACES1ToXYZ
imageConvertInPlace

Convert source image to the specified type

imageConvertTo

Convert source image to the format specified by the destination image

imageDataNumBytes

Get the number of bytes contained in an image's data component

imageEachPixel
imageEachPixel2
imageFree

Free allocated image

imageFreeHalideBuffer
imageGetPixel

Get pixel at position (x, y)

imageIndex

Get the data offset at the position (x, y)

imageIsValidType

Returns true if the kind/bits create a valid image type

imageMetaInit
imageMetaNumPixels

Get the number of pixels in an image

imageMetaTotalBytes

Get the number of bytes in an image

imageNew

Create a new image with the given metadata

imageNewHalideBuffer
imageNewWithData

Create a new image from an existing buffer

imageParseColorAndType

Parse color and type names

imagePixelBytes

Get the number of bytes in a pixel for the given image

imageRAWUseAutoBrightness
imageRAWUseCameraWhiteBalance
imageRead

Read an image from disk, the resulting image will be converted to match color/kind/bits if needed

imageReadDefault

Read an image from disk, using the default format

imageResize

Resize image to the given size, returns a new image

imageResizeTo

Resize source image to size specified by destination image

imageScale

Scale an image using the given factors, returns a new image

imageSetPixel

Set pixel at position (x, y)

imageTypeName

Get name of type

imageWrite

Write an image to disk

imagedClose

Close an imaged context

imagedDestroy

Destroy an imaged store, removing all contents from disk

imagedError

Convert ImagedStatus to an error message

imagedGet

Get a key

imagedHandleClose

Release ImagedHandle resources including all memory and file descriptors

imagedHandleInit

Initialize an new handle

imagedHasKey

Returns true when there is a value associated with the given key

imagedIsValidFile

Returns true when the specified file is an valid imgd file

imagedIterFree

Free iterator

imagedIterNew

Create a new iterator

imagedIterNext

Get next image

imagedIterNextKey

Get next key

imagedIterReset
imagedKeyIsLocked

Returns true when an image is locked

imagedOpen

Open a new imaged context

imagedPrintError

Dump ImagedStatus error message to stderr

imagedRemove

&Remove the value associated with the provided key

imagedResetLocks

Remove all image locks

imagedSet

Set a key

imagedStringPrintf

Utility for creating new strings

pixelAdd

Pixel addition

pixelClamp

Ensures pixel values are between 0 and 1

pixelDiv

Pixel division

pixelEmpty

Create a new empty pixel

pixelEq

Pixel equality

pixelEqAll

Pixel equality against a single value

pixelGray

Create a new gray pixel

pixelMul

Pixel multiplication

pixelRGB

Create a new RGB pixel

pixelRGBA

Create a new RGBA pixel

pixelSub

Pixel subtraction

pixelSum

Sun of all pixel channels

Type Definitions

DIR
__ino_t
__off_t
__ssize_t
__uint8_t
__uint64_t
imageParallelFn
size_t
ssize_t