Conversation
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
|
Hi @Can-Zhao , do you think it would be too much work to make this a general transform? I think erode/dilate is general medical image operations, which may be used elsewhere. So making this a general utility function or transform may be helpful. |
Signed-off-by: Can-Zhao <[email protected]>
It's a good idea, but maybe not in this PR... |
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Okay, we can make these functions in |
KumoLiu
left a comment
There was a problem hiding this comment.
Thanks for the PR, overall looks good to me. Several comments inline.
|
Hi @Can-Zhao, please help take a look at the format issue: https://github.com/Project-MONAI/MONAI/actions/runs/9754160317/job/26920608008?pr=7893#step:7:387. Thanks! |
Signed-off-by: Can-Zhao <[email protected]>
Co-authored-by: YunLiu <[email protected]> Signed-off-by: Can Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
Signed-off-by: Can-Zhao <[email protected]>
|
@KumoLiu Have you met this error? File "/workspace/MONAI/monai/utils/misc.py", line 27, in |
Nevermind, forgot I should do "pip install --upgrade --force-reinstall setuptools" |
|
Hi @Can-Zhao, please take a look at the ci error: https://github.com/Project-MONAI/MONAI/actions/runs/9755561869/job/26924281793?pr=7893#step:13:19908 |
Signed-off-by: Can-Zhao <[email protected]>
I'm confused why it cannot import the func. As python -m tests.test_morphological_ops is runnable on my machine. Nevertheless, I changed the way to import. If not working, I will need your help. |
Signed-off-by: Can-Zhao <[email protected]>
We can leave it here for now. And as @mingxin-zheng said, when we refactored it to inherit Transform next time, we can move it under transforms folder. |
Cool! Then it seems this PR can be merged after passing the tests. Thanks! |
|
/build |
Fixes # .
Description
Maisi morphological funcs
Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.