PaddleCV-SIG / MedicalSeg

MedicalSeg is an easy-to-use 3D medical image segmentation toolkit that supports the whole segmentation process. Specially, We provide data preprocessing acceleration, high precision model on COVID-19 CT scans dataset and MRISpineSeg spine dataset, and a 3D visualization demo based on itkwidgets.
Apache License 2.0
66 stars 14 forks source link

[Feature] Design WrapOp class to process image and label at the same time #51

Closed linhandev closed 2 years ago

linhandev commented 2 years ago

初步做了了一个WarpOp类,用一种类似现在wrapper的语法可以实现创建出一个列表的预处理操作,给操作参数。并且可以通过继承重载run方法实现同时访问image和label。

具体细节代码里写了注释,有使用示例。

现在只是设计,如果觉得可以这么搞我把所有注释改英文,之后基于这个改下prep