ivapylibs / Surveillance

The surveillance system for the SuperviseIt project
0 stars 1 forks source link

Region Grow speed #7

Closed yiyeChen closed 3 years ago

yiyeChen commented 3 years ago

Current problem: The region grow can never finish when the region-grow algorithm parameters(thresholds) are not suited.

Possibly because the region grows to the whole image, and looping through the all pixels is really slow.

Possible solution: replace the region grow with the inRange + connected area analysis?

yiyeChen commented 3 years ago

Replaced Region Growing algorithm with the threshold + Connected Component Analysis, which speeds up significantly