Strip the final newline character from a string or Uint8Array
Return the shape of a provided ndarray.
Test if an input value is a supported ndarray data type.
Reads the pixels of an image as an ndarray
Return the data type string associated with a supported ndarray data type value.
A set of helpers to develop and run Slice Machine plugins
Return the data type string associated with an ndarray data type enumeration constant.
Return the enumeration constant associated with a supported ndarray data type value.
Manage all aspects of a Slice Machine project.
Return the strides of a provided ndarray.
General purpose level set extraction
List of ndarray data types.
Return the strides of a provided ndarray.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast.
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast or cast within the same kind.
Return the index offset specifying the underlying buffer index of the first iterated ndarray element.
Return the alignment (in bytes) for an underlying array data type.
Return the single letter character abbreviation for an underlying array data type.
List of ndarray orders.
Determine if an ndarray data type can be safely cast to another ndarray data type.
Return a list of ndarray data types to which a provided ndarray data type can be safely cast and, for floating-point data types, can be downcast.
Start Slice Machine from within a project.
Return the layout order of a provided ndarray.