Skip to content

Commit

Permalink
more work
Browse files Browse the repository at this point in the history
  • Loading branch information
isullivan committed Dec 5, 2024
1 parent c892f42 commit ed5b7e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/meas/algorithms/maskStreaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ed5b7e8

Please sign in to comment.