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 17530 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 17547 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 17490 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 17506 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 17517 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 17558 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 17571 of file Image.h.