![]() |
iVS3D v2.0.9
|
Interface for mask generation plugins in iVS3D. More...
#include <imask.h>
Public Member Functions | |
| virtual MaskResult | generateMask (const MaskData &data)=0 |
| Generates a binary mask for the given image data. | |
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.
|
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.
| data | The MaskData containing the image and its index. |
Implemented in SegmentationPlugin.