Function nvcv::MaxSize

Function Documentation

constexpr Size2D nvcv::MaxSize(const Size2D &a, const Size2D &b)

Computes the maximum size in each dimension.

Parameters:
  • a – First size to compare.

  • b – Second size to compare.

Returns:

The size with w and h computed as a maximum of the respective fields in a and b.