AKTIVE

Documentation
Login

Documentation

Project ↗ Documentation ↗ Tutorials ↗ How To's ↗ Explanations ↗ References
Entry ↗ Sections ↘ Permuted Sections ↘ Names ↘ Permuted Names ↘ Strict ↘ Implementations ↘

Documentation -- Reference Pages -- accessor values

Table Of Contents

Operators

Operators


aktive query value around

Syntax: aktive query value around src ?(param value)...? [→ definition]

Returns the input's pixel values for the region around the specified 2D point, within the manhattan radius.

The result is not an image.

Beware that the coordinate domain is 0..width|height, regardless of image location.

This operator is strict in its single input. The requested pixel region is materialized in memory.

Input Description
src Source image
Parameter Type Default Description
x int Physical x-coordinate of the pixel to query
y int Physical y-coordinate of the pixel to query
radius uint 1 Region radius, defaults to 1, i.e. a 3x3 region.

aktive query value at

Syntax: aktive query value at src (param value)... [→ definition]

Returns the input's pixel value(s) at the given 2D point.

The result is not an image. It is a list of floating point numbers for a multi-band input, and a single floating point number otherwise.

Beware that the coordinate domain is 0..width|height, regardless of image location.

This operator is strict in its single input. The requested pixel is materialized in memory.

Input Description
src Source image
Parameter Type Default Description
x int Physical x-coordinate of the pixel to query
y int Physical y-coordinate of the pixel to query

Examples

@1
 
aktive query value at @1 x 0 y 1
 
times 16@1
geometry(0 0 32 32 1)
 0.6666666666666666


aktive query values

Syntax: aktive query values src [→ definition]

Returns a list containing the input's pixel values.

The values are provided in row-major order.

The list has length "aktive query size <src>".

This operator is strict in its single input. The image is materialized in memory.

Input Description
src Source image

Examples

@1
 
aktive query values @1
 
times 16@1
geometry(0 0 32 32 1)
 0.0 0.3333333333333333 0.6666666666666666 1.0