Compare
Description
Performs comparison operations between two images or an image and a constant. An operation between an image and a constant occurs when Image Src B is not connected. Type : polymorphic.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). Image Src A : class, type accepted U8 and I16.
Documentation illustration (illustration unavailable in the archive). Image Src B : class, type accepted U8 and I16.
Documentation illustration (illustration unavailable in the archive). Operator : enum, specifies the comparison operator to use.
Documentation illustration (illustration unavailable in the archive). Constant : float, value used in comparison with Image Src A for image-constant operations.
Output parameters
Documentation illustration (illustration unavailable in the archive). Image Dst : class
Examples
All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Computer Vision library to run it).
