Number of Points#

This returns the number of points (pixels) in the specified color range. The range is specified in HSV format.

Source Image[Text] The name and path to the file with the source image.
Color Range[Text] The color range is specified in HSV format "H1-H2;S1-S2;V1-V2". For example, for blue, you can specify a range like: "190-270;30-100;30-100". The color will be checked in the range HSV(190,30,30) to HSV(270,100,100).
Area

[Text] The area of the image to check. The area is specified in the following format: X;Y;Width;Height.

If the value is empty, the entire image will be used.

Result[Number] The number of points (pixels) in the specified color range.
Percentage[Number] The percentage of the found number from all points in the image.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - outputs main information;
  • "Detailed" - outputs detailed information.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.