Skip to content

Node Reference

CvMat Slice

Filters channels in range.

CvMat Slice in Lightact's Layer Layouts visual scripting system.
Screenshot of CvMat Slice node.

Inputs

TypeNameDescription
CvMatOpencv mat class
InputA cv::Mat data structure
ColorValue represented by four channels - each ranging from 0 to 255
Low rangeA color data structure
ColorValue represented by four channels - each ranging from 0 to 255
High rangeA color data structure
BoolTruth value
Output maskA boolean value

Outputs

TypeNameDescription
CvMatOpencv mat class
OutputReturns a cv::Mat data structure