Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

Compare Operations

This section describes functions that compare images. Each compare function writes its results to a one-channel
Ipp8u
output image. The output pixel is set to a non-zero value if the corresponding input pixel(s) satisfy the compare condition; otherwise, the output pixel is set to 0. You can compare either two images, or an image and a constant value, using the following compare conditions: “greater”, “greater or equal”, “less”, “less or equal”, “equal”. Compare condition is specified as a function argument of
IppCmpOp
type (see Structures and Enumerators for more information). Images containing floating-point data can also be compared for being equal within a given tolerance
eps
.
For images with multi-channel data, the compare condition for a given pixel is true only when each color channel value of that pixel satisfies this condition.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804