PCL
pcl::ImageOp Namespace Reference

Arithmetic, bitwise logical and pixel composition operations. More...

Functions

String Id (value_type operation)
 
bool IsArithmeticOperator (int op) noexcept
 
bool IsBitwiseLogicalOperator (int op) noexcept
 
bool IsMoveOperator (int op) noexcept
 
bool IsPixelCompositionOperator (int op) noexcept
 

Detailed Description

Supported operations:

ImageOp::Nop No operation
ImageOp::Mov Copy pixels
ImageOp::Add Add
ImageOp::Sub Subtract
ImageOp::Mul Multiply
ImageOp::Div Divide
ImageOp::Pow Raise
ImageOp::Dif Absolute difference
ImageOp::Min Minimum value
ImageOp::Max Maximum value
ImageOp::Or Bitwise OR (inclusive OR)
ImageOp::And Bitwise AND
ImageOp::Xor Bitwise XOR (exclusive OR)
ImageOp::Not Bitwise NOT
ImageOp::Nor Bitwise NOR (inclusive NOR)
ImageOp::Nand Bitwise NAND
ImageOp::Xnor Bitwise XNOR (exclusive NOR)
ImageOp::ColorBurn Color burn pixel composition operator
ImageOp::LinearBurn Linear burn pixel composition operator
ImageOp::Screen Screen pixel composition operator
ImageOp::ColorDodge Color dodge pixel composition operator
ImageOp::Overlay Overlay pixel composition operator
ImageOp::SoftLight Soft light pixel composition operator
ImageOp::HardLight Hard light pixel composition operator
ImageOp::VividLight Vivid light pixel composition operator
ImageOp::LinearLight Linear light pixel composition operator
ImageOp::PinLight Pin light pixel composition operator
ImageOp::Exclusion Exclusion pixel composition operator

Function Documentation

◆ Id()

String pcl::ImageOp::Id ( value_type  operation)

Returns a string with the name of a pixel operation.

◆ IsArithmeticOperator()

bool pcl::ImageOp::IsArithmeticOperator ( int  op)
inlinenoexcept

Returns true iff the specified operator op is an arithmetic operator.

Definition at line 174 of file Image.h.

◆ IsBitwiseLogicalOperator()

bool pcl::ImageOp::IsBitwiseLogicalOperator ( int  op)
inlinenoexcept

Returns true iff the specified operator op is a bitwise logical operator.

Definition at line 183 of file Image.h.

◆ IsMoveOperator()

bool pcl::ImageOp::IsMoveOperator ( int  op)
inlinenoexcept

Returns true iff the specified operator op is a move or replace operator.

Definition at line 192 of file Image.h.

◆ IsPixelCompositionOperator()

bool pcl::ImageOp::IsPixelCompositionOperator ( int  op)
inlinenoexcept

Returns true iff the specified operator op is a pixel composition operator.

Definition at line 201 of file Image.h.