#include <Mask.h>
List of all members.
Detailed Description
Definition at line 40 of file Mask.h.
Constructor & Destructor Documentation
Creates the mask by loading a mask file
- Parameters:
-
filename | filename of mask file |
Definition at line 39 of file Mask.cpp.
Creates the mask by loading a mask image
- Parameters:
-
Definition at line 47 of file Mask.cpp.
Member Function Documentation
Says whether there is some mask
- Returns:
- true iff there is no mask
Definition at line 114 of file Mask.h.
Returns the indices of the given keys that are not inside the mask
- Parameters:
-
keys | |
i_out | indices of keys not inside the mask |
Definition at line 109 of file Mask.cpp.
Removes from keys those keypoints which are not inside the mask
- Parameters:
-
- Note:
- this function may change the order of the keypoints
Definition at line 81 of file Mask.cpp.
Resets the mask to its original state
Definition at line 74 of file Mask.cpp.
Makes the current mask smaller by deleting those pixels whose distance to the edge is smaller than margin
- Parameters:
-
Definition at line 61 of file Mask.cpp.
Returns true if the pixel given is inside the mask, false otherwise, or if the pixel is not in the image
Definition at line 95 of file Mask.h.
Member Data Documentation
Working mask.
Definition at line 108 of file Mask.h.
Original mask.
Definition at line 105 of file Mask.h.
The documentation for this class was generated from the following files: