From 5ac7a829490e7194617c6218c91ebd5d9a32392d Mon Sep 17 00:00:00 2001 From: John Parejko Date: Fri, 8 Nov 2024 12:00:58 -0800 Subject: [PATCH] Add STREAK mask plane --- include/lsst/afw/image/Mask.h | 1 + src/image/detail/MaskDict.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/include/lsst/afw/image/Mask.h b/include/lsst/afw/image/Mask.h index 7f70178c5..7eee0fefb 100644 --- a/include/lsst/afw/image/Mask.h +++ b/include/lsst/afw/image/Mask.h @@ -76,6 +76,7 @@ using MaskPlaneDict = std::map; * 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 class Mask : public ImageBase { diff --git a/src/image/detail/MaskDict.cc b/src/image/detail/MaskDict.cc index 7dbd87950..394cadf75 100644 --- a/src/image/detail/MaskDict.cc +++ b/src/image/detail/MaskDict.cc @@ -196,6 +196,7 @@ void MaskDict::_addInitialMaskPlanes() { _dict["SUSPECT"] = ++i; _dict["NO_DATA"] = ++i; _dict["VIGNETTED"] = ++i; + _dict["STREAK"] = ++i; _hash = boost::hash()(_dict); }