PCL
Image Scalar Operators

Functions

template<class P , typename T >
GenericImage< P > pcl::operator* (const GenericImage< P > &image, T scalar)
 
template<class P , typename T >
GenericImage< P > pcl::operator* (T scalar, const GenericImage< P > &image)
 
template<class P , typename T >
GenericImage< P > pcl::operator+ (const GenericImage< P > &image, T scalar)
 
template<class P , typename T >
GenericImage< P > pcl::operator+ (T scalar, const GenericImage< P > &image)
 
template<class P , typename T >
GenericImage< P > pcl::operator- (const GenericImage< P > &image, T scalar)
 
template<class P , typename T >
GenericImage< P > pcl::operator/ (const GenericImage< P > &image, T scalar)
 
template<class P , typename T >
GenericImage< P > pcl::operator^ (const GenericImage< P > &image, T scalar)
 

Detailed Description

Function Documentation

◆ operator*() [1/2]

template<class P , typename T >
GenericImage<P> pcl::operator* ( const GenericImage< P > &  image,
scalar 
)
inline

Returns the product of an image by a scalar. The operation is performed on the current selection of the specified image.

Definition at line 17727 of file Image.h.

◆ operator*() [2/2]

template<class P , typename T >
GenericImage<P> pcl::operator* ( scalar,
const GenericImage< P > &  image 
)
inline

Returns the product of a scalar by an image. The operation is performed on the current selection of the specified image.

This operator implements the commutative property of image scalar multiplication.

Definition at line 17744 of file Image.h.

◆ operator+() [1/2]

template<class P , typename T >
GenericImage<P> pcl::operator+ ( const GenericImage< P > &  image,
scalar 
)
inline

Returns the sum of an image and a scalar. The operation is performed on the current selection of the specified image.

Definition at line 17687 of file Image.h.

◆ operator+() [2/2]

template<class P , typename T >
GenericImage<P> pcl::operator+ ( scalar,
const GenericImage< P > &  image 
)
inline

Returns the sum of a scalar and an image. The operation is performed on the current selection of the specified image.

This operator implements the commutative property of image scalar addition.

Definition at line 17703 of file Image.h.

◆ operator-()

template<class P , typename T >
GenericImage<P> pcl::operator- ( const GenericImage< P > &  image,
scalar 
)
inline

Returns the subtraction of a scalar from an image. The operation is performed on the current selection of the specified image.

Definition at line 17714 of file Image.h.

◆ operator/()

template<class P , typename T >
GenericImage<P> pcl::operator/ ( const GenericImage< P > &  image,
scalar 
)
inline

Returns the result of dividing an image by a scalar. The operation is performed on the current selection of the specified image.

Definition at line 17755 of file Image.h.

◆ operator^()

template<class P , typename T >
GenericImage<P> pcl::operator^ ( const GenericImage< P > &  image,
scalar 
)
inline

Returns the result of raising an image to a scalar. The operation is performed on the current selection of the specified image.

Definition at line 17768 of file Image.h.