PCL
|
|
inline |
|
inline |
Replaces a rectangular region of this bitmap with the bitwise AND operation between its current pixel values and the corresponding pixels of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be ANDed with this bitmap. |
Target pixels on this bitmap are replaced with the result of the bitwise AND operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
This function is equivalent to:
And( p, src, src.Bounds() );
void pcl::Bitmap::And | ( | const pcl::Point & | p, |
const Bitmap & | src, | ||
const pcl::Rect & | r | ||
) |
Replaces a rectangular region of this bitmap with the bitwise AND operation between its current pixel values and the pixels of a corresponding region of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be ANDed with this bitmap. |
r | Defines the rectangular area that will be operated, in source bitmap coordinates. |
Target pixels on this bitmap are replaced with the result of the bitwise AND operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
Replaces each pixel in a rectangular region of this bitmap with the result of the bitwise AND operation between its current value and a specified constant value.
rect | Rectangular region to be operated. |
andWith | Value to be ANDed with current pixel values. |
|
inline |
|
inline |
Copies all pixels from a source bitmap to this bitmap.
src | Source bitmap, whose pixels will be copied to this bitmap. |
Target pixels on this bitmap are replaced with pixels read from the source bitmap src. Pixels are copied at the upper left corner of this image (0,0). Source pixels falling outside the boundaries of this bitmap are ignored.
This function is equivalent to:
Copy( pcl::Point( 0, 0 ), src );
|
inline |
Copies all pixels from a source bitmap to the specified location on this bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap, whose pixels will be copied to this bitmap. |
Target pixels on this bitmap are replaced with pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
This function is equivalent to:
Copy( p, src, src.Bounds() );
Definition at line 917 of file Bitmap.h.
References pcl::Bitmap::Bounds().
void pcl::Bitmap::Copy | ( | const pcl::Point & | p, |
const Bitmap & | src, | ||
const pcl::Rect & | r | ||
) |
Copies a region of a source bitmap to the specified location on this bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap, whose pixels will be copied to this bitmap. |
r | Defines the rectangular area that will be copied, in source bitmap coordinates. |
Target pixels on this bitmap are replaced with pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
Fills a rectangular region of this bitmap with a constant value.
rect | Rectangular region to be filled. |
fillWith | Pixel value to fill with. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Replaces a rectangular region of this bitmap with the bitwise inclusive OR operation between its current pixel values and the corresponding pixels of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be ORed with this bitmap. |
Target pixels on this bitmap are replaced with the result of the bitwise OR operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
This function is equivalent to:
Or( p, src, src.Bounds() );
void pcl::Bitmap::Or | ( | const pcl::Point & | p, |
const Bitmap & | src, | ||
const pcl::Rect & | r | ||
) |
Replaces a rectangular region of this bitmap with the bitwise inclusive OR operation between its current pixel values and the pixels of a corresponding region of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be ORed with this bitmap. |
r | Defines the rectangular area that will be operated, in source bitmap coordinates. |
Target pixels on this bitmap are replaced with the result of the bitwise OR operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
Replaces each pixel in a rectangular region of this bitmap with the result of the bitwise inclusive OR operation between its current value and a specified constant value.
rect | Rectangular region to be operated. |
orWith | Value to be ORed with current pixel values. |
|
inline |
|
inline |
|
inline |
Replaces a rectangular region of this bitmap with the bitwise exclusive OR (XOR) operation between its current pixel values and the corresponding pixels of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be XORed with this bitmap. |
Target pixels on this bitmap are replaced with the result of the exclusive OR (XOR) operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
This function is equivalent to:
Xor( p, src, src.Bounds() );
void pcl::Bitmap::Xor | ( | const pcl::Point & | p, |
const Bitmap & | src, | ||
const pcl::Rect & | r | ||
) |
Replaces a rectangular region of this bitmap with the bitwise exclusive OR (XOR) operation between its current pixel values and the pixels of a corresponding region of a source bitmap.
p | Position of the upper left corner of the target rectangle on this bitmap. |
src | Source bitmap whose pixels will be XORed with this bitmap. |
r | Defines the rectangular area that will be operated, in source bitmap coordinates. |
Target pixels on this bitmap are replaced with the result of the XOR operation with the corresponding pixels read from the source bitmap src. Source pixels falling outside the boundaries of this bitmap are ignored.
Replaces each pixel in a rectangular region of this bitmap with the result of the bitwise exclusive OR (XOR) operation between its current value and a specified constant value.
rect | Rectangular region to be operated. |
xorWith | Value to be XORed with current pixel values. |
|
inline |
Replaces the pixels pertaining to a rectangle defined on this bitmap with the bitwise exclusive OR (XOR) operation between their current values and a specified constant value.
rect | Rectangle that will be operated. |
xorWith | Value to be XORed with current pixel values. |
This function does not operate on a rectangular region; only the sides of the specified rectangle are XORed: two one-pixel columns and two one-pixel rows.
|
inline |
Replaces the pixels pertaining to the bounding rectangle of this bitmap with the bitwise exclusive OR (XOR) operation between their current values and a specified constant value.
xorWith | Value to be XORed with current pixel values. |
This function is equivalent to:
XorRect( Bounds(), xorWith );