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 17030 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 17047 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 16990 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 17006 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 17017 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 17058 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 17071 of file Image.h.