fast::PatchStitcher class

Stitch a stream of processed patches from the PatchGenerator.

This process object stitches a stream of processed Image/Tensor patches into an ImagePyramid, 2D or 3D Image or Tensor depending on the patch source.

Inputs: 0 - Image/Tensor: A stream of processed patches from PatchGenerator Outputs: 0 - ImagePyramid/Image/Tensor: The stitched image/image pyramid.

Base classes

class ProcessObject
Abstract base class for all process objects.

Public functions

auto create() -> std::shared_ptr<PatchStitcher>
Create instance.

Protected functions

void execute() override
void processTensor(std::shared_ptr<Tensor> tensor)
void processImage(std::shared_ptr<Image> tensor)

Protected variables

std::shared_ptr<Image> m_outputImage
std::shared_ptr<Tensor> m_outputTensor
std::shared_ptr<ImagePyramid> m_outputImagePyramid

Function documentation

std::shared_ptr<PatchStitcher> fast::PatchStitcher::create()

Create instance.

Returns instance