nielsboecker / HoloRepository-Core

A system for transforming medical imaging studies into holograms, storing them in the cloud and providing them to other systems.
GNU Affero General Public License v3.0
7 stars 8 forks source link

PIPELINE: Center cropping is faulty #56

Closed nielsboecker closed 5 years ago

nielsboecker commented 5 years ago

While doing the refactoring for #45 I realised that the centerCrop method is currently useless, as it is only conditionally called. The condition is always false, as it is checked right after downscaling is performed.

Also, @UdomkarnBoonyaprasert where did the whole logic go that made sure the image size is divisable by 8?