Skip to content

Commit

Permalink
Merge pull request #754 from lsst/tickets/DM-46388
Browse files Browse the repository at this point in the history
DM-46388: Add STREAK to default mask planes
  • Loading branch information
parejkoj authored Dec 4, 2024
2 parents 9bd4706 + 5ac7a82 commit ef2f818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/lsst/afw/image/Mask.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ using MaskPlaneDict = std::map<std::string, int>;
* input exposures.
* - `VIGNETTED` This pixel is in a vignetted region; exactly how much vignetting is set by the downstream
* processing code.
* - `STREAK` This pixel is part of a long linear feature, possibly a satellite or fast-moving asteroid.
*/
template <typename MaskPixelT = lsst::afw::image::MaskPixel>
class Mask : public ImageBase<MaskPixelT> {
Expand Down
1 change: 1 addition & 0 deletions src/image/detail/MaskDict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ void MaskDict::_addInitialMaskPlanes() {
_dict["SUSPECT"] = ++i;
_dict["NO_DATA"] = ++i;
_dict["VIGNETTED"] = ++i;
_dict["STREAK"] = ++i;
_hash = boost::hash<MaskPlaneDict>()(_dict);
}

Expand Down

0 comments on commit ef2f818

Please sign in to comment.