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: Perform downscaling for all pipelines #47

Closed nielsboecker closed 5 years ago

nielsboecker commented 5 years ago

Description

Currently, we are only scaling down in the abdominal organs pipeline. For that one, we need to do it, because the NN will crash with larger inputs. The assumption so far was that for other pipelines we can accept all input sizes.

However, this causes performance issues. For example, the bone segmentation takes a lot longer with large inputs. In a test run, the marching cube step of that pipeline (compNumpy2Obj) took 45 sec.

Therefore, the downscaling component should be included in all pipelines and make sure the input will be scaled down to a maximum size. For the concrete values, we should try different values, and find a sweet spot between performance and quality.

nielsboecker commented 5 years ago

Changes made by @UdomkarnBoonyaprasert in #54, which I then transfered to #45