From ed5b7e8c1301d0cf6c5e76e3cf289a845358e9e6 Mon Sep 17 00:00:00 2001 From: Ian Sullivan Date: Wed, 4 Dec 2024 21:24:09 -0800 Subject: [PATCH] more work --- python/lsst/meas/algorithms/maskStreaks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lsst/meas/algorithms/maskStreaks.py b/python/lsst/meas/algorithms/maskStreaks.py index e4dea7af..e3f1f694 100644 --- a/python/lsst/meas/algorithms/maskStreaks.py +++ b/python/lsst/meas/algorithms/maskStreaks.py @@ -561,7 +561,7 @@ def find(self, maskedImage): sset_dilated = sset.dilated(1) sset_dilated.clippedTo(mask.getBBox()).setMask(mask, mask.getPlaneBitMask("BAD")) dilatedBadMask = (mask.array & badPixelMask) == 0 - # detectionMask = (detectionMask & dilatedBadMask) > 0 + detectionMask = (detectionMask > 0) & dilatedBadMask self.edges = self._cannyFilter(detectionMask) self.lines = self._runKHT(self.edges)