Class describing inputs of an ImageOperation. More...
#include <ImageOperation.hpp>
Public Member Functions | |
int | addInput (PixelData dataFormat) |
Add a new input. More... | |
const std::size_t | size () const |
Return the number of inputs. More... | |
Class describing inputs of an ImageOperation.
This class describes format for each input in an ImageOperationDescriptor. When the operation is connected to another operation, the format between the operations is checked against the InputProto specified by ImageOperationDescriptor of both operations.
int FotoSHOCKcore::InputProto::addInput | ( | PixelData | dataFormat) |
Add a new input.
This function is used to add a new input to the InputProto. The input data of operation are checked against the PixelData format specified when the input was added.
dataFormat | format of an input. The input format is checked against this format when the input is connected to other operation. |
const std::size_t FotoSHOCKcore::InputProto::size | ( | ) | const |
Return the number of inputs.