DigitalSlideArchive / HistomicsStream

A whole-slide image reader for TensorFlow
Apache License 2.0
22 stars 6 forks source link

PERF: Explore speeding up masking #109

Closed Leengit closed 1 year ago

Leengit commented 1 year ago

Instead of the two nested loops: https://github.com/DigitalSlideArchive/HistomicsStream/blob/4dfa97885855949bd359c9b93553dd860411d13d/histomics_stream/configure.py#L594-L598 can we speed up masking by making use of scipy.interpolate.RegularGridInterpolator?