-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Independent on the "Frame count box" in background tab background subtraction uses all the original frames for background extraction, even though the extractor is initialized with the correct desired frame count:
pylidartracker/src/processing/lidarprocessor.py
Lines 323 to 326 in c75c11d
| def extractBackground(self, method, **kwargs): | |
| self.bg_extractor = BackgroundExtractor(**kwargs) | |
| self.bg_extractor.extract(self._originalFrames) | |
| self.originalBgFrame = self.bg_extractor.get_background() |
pylidartracker/src/processing/backgroundextractor.py
Lines 17 to 24 in c75c11d
| def extract(self, frames): | |
| rangeImgs = [] | |
| newSizes = [] | |
| # Prepare range images | |
| for f in frames: | |
| newSize, rangeImg = self.reshape2scanlines(f.distance) | |
| rangeImgs.append(rangeImg) | |
| newSizes.append(newSize[0]) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels