|
| ExternalFunction | _color_convert_kernel (str func_name, str filename, int in_size, int out_size, bool use_chess=False) |
| |
| ExternalFunction | _bitwise_kernel (str op, int line_width, dtype, bool use_chess=False) |
| |
| ExternalFunction | rgba2hue (int line_width=1920, bool use_chess=False) |
| |
| ExternalFunction | threshold (int line_width=1920, dtype=np.uint8, bool use_chess=False) |
| |
| ExternalFunction | bitwise_or (int line_width=1920, dtype=np.uint8, bool use_chess=False) |
| |
| ExternalFunction | bitwise_and (int line_width=1920, dtype=np.uint8, bool use_chess=False) |
| |
| ExternalFunction | gray2rgba (int line_width=1920, bool use_chess=False) |
| |
| ExternalFunction | rgba2gray (int line_width=1920, bool use_chess=False) |
| |
| ExternalFunction | filter2d (int line_width=1920, bool use_chess=False) |
| |
| ExternalFunction | add_weighted (int line_width=1920, dtype=np.uint8, bool use_chess=False) |
| |
Vision kernel factories: color conversion, threshold, filter2d, add_weighted.
| ExternalFunction iron.kernels.vision.add_weighted |
( |
int |
line_width = 1920, |
|
|
|
dtype = np.uint8, |
|
|
bool |
use_chess = False |
|
) |
| |
Weighted addition of two lines with a gamma offset.
Args:
line_width: Number of elements per line.
dtype: Element data type (``np.uint8``, ``np.int16``, or ``np.int32``).
use_chess: When ``True``, build the .o with ``xchesscc_wrapper``
instead of Peano.
Raises:
ValueError: When ``dtype`` is not ``np.uint8``, ``np.int16``, or ``np.int32``.
| ExternalFunction iron.kernels.vision.threshold |
( |
int |
line_width = 1920, |
|
|
|
dtype = np.uint8, |
|
|
bool |
use_chess = False |
|
) |
| |
Applies a threshold operation to a line of pixels.
Args:
line_width: Number of elements per line.
dtype: Element data type (``np.uint8``, ``np.int16``, or ``np.int32``).
use_chess: When ``True``, build the .o with ``xchesscc_wrapper``
instead of Peano.
Raises:
ValueError: When ``dtype`` is not ``np.uint8``, ``np.int16``, or ``np.int32``.