iVS3D v2.0.9
Loading...
Searching...
No Matches
MaskMergeCommand Class Reference

Loads an existing mask image from disk and merges it with the current mask in the context using pixel-wise AND. More...

#include <maskmergecommand.h>

Inheritance diagram for MaskMergeCommand:
ImageCommand

Detailed Description

Loads an existing mask image from disk and merges it with the current mask in the context using pixel-wise AND.

For binary masks where black(0) means masked and white(255) means unmasked, pixel-wise AND ensures that black dominates:

  • 0 & 255 -> 0
  • 0 & 0 -> 0
  • 255 & 255 -> 255
Author
Dominik Wüst (domin.nosp@m.ik.w.nosp@m.uest@.nosp@m.iosb.nosp@m..frau.nosp@m.nhof.nosp@m.er.de)
Date
March 2026

The documentation for this class was generated from the following files: