iVS3D v2.0.9
Loading...
Searching...
No Matches
PLUG::IMask Interface Referenceabstract

Interface for mask generation plugins in iVS3D. More...

#include <imask.h>

Inheritance diagram for PLUG::IMask:
SegmentationPlugin

Public Member Functions

virtual MaskResult generateMask (const MaskData &data)=0
 Generates a binary mask for the given image data.
 

Detailed Description

Interface for mask generation plugins in iVS3D.

Plugins implementing this interface can generate binary masks for images based on provided settings. The generated masks are exported alongside the sampled images for use in 3D reconstruction.

See also
PluginInterface.md
Date
2025/12/28
Author
Dominik Wüst

Member Function Documentation

◆ generateMask()

virtual MaskResult PLUG::IMask::generateMask ( const MaskData data)
pure virtual

Generates a binary mask for the given image data.

This method should be implemented by the plugin to create a binary mask based on the provided MaskData. The image in MaskData is already resized to the working resolution and cropped to the region of interest.

Parameters
dataThe MaskData containing the image and its index.
Returns
A MaskResult containing either the generated cv::Mat mask or an Error if the mask generation failed.

Implemented in SegmentationPlugin.


The documentation for this interface was generated from the following file: