Skip to content

Commit e521dd4

Browse files
authoredNov 3, 2021
Add cucim.kit.cumed plugin with skeleton (rapidsai#129)
This change adds a skeleton plugin named `cucim.kit.cumed` for medical-related file loaders and image operations (e.g., .mhd file format support). The image loader to use is determined by `is_valid()` method implemented in each plugin and CuImage object holds the reference to the image format descriptor (`cucim::io::format::ImageFormatDesc*`). cuCIM treats `cucim.kit.cuslide` and `cucim.kit.cumed` plugins as built-in plugins, and it would support custom plugins in the future (by refactoring the framework code, according to the recent update of Carbonite (minimal) SDK library and use the library as it is). Authors: - Gigon Bae (https://github.com/gigony) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) - Benjamin Zaitlen (https://github.com/quasiben) - https://github.com/jakirkham URL: rapidsai#129
1 parent 334fc81 commit e521dd4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2105
-58
lines changed
 

‎CONTRIBUTING.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ The build command will create the following files:
144144
- `./install/lib/libcucim*`
145145
- `./python/install/lib/_cucim.cpython-*-x86_64-linux-gnu.so`
146146
- `./cpp/plugins/cucim.kit.cuslide/install/lib/cucim.kit.cuslide@*.so`
147+
- `./cpp/plugins/cucim.kit.cumed/install/lib/cucim.kit.cumed@*.so`
147148

148149
And, it will copy the built library files to `python/cucim/src/cucim/clara/` folder:
149150
- `libcucim.so.*`
150151
- `_cucim.cpython-*-x86_64-linux-gnu.so`
151152
- `cucim.kit.cuslide@*.so`
153+
- `cucim.kit.cumed@*.so`
152154

153155

154156
**Building `cucim`(python bindings)**
@@ -173,14 +175,14 @@ Once it is built, the subsequent build doesn't take much time.
173175

174176
However, if a build option or dependent packages are updated, the build can be failed (due to CMakeCache.txt or existing build files). In that case, you can remove use the following commands to remove CMakeCache.txt or build folder, then build it again.
175177

176-
1) Remove CMakeCache.txt for libcucim, cuslide plugin, and the python wrapper (pybind11).
178+
1) Remove CMakeCache.txt for libcucim, cuslide/cumed plugin, and the python wrapper (pybind11).
177179

178180
```bash
179181
# this command wouldn't remove already downloaded dependency so faster than `clean` subcommand
180182
./run build_local clean_cache
181183
```
182184

183-
2) Remove `build-*` and `install` folder for libcucim, cuslide plugin, and the python wrapper (pybind11).
185+
2) Remove `build-*` and `install` folder for libcucim, cuslide/cumed plugin, and the python wrapper (pybind11).
184186

185187
```bash
186188
# this command is for clean build

‎ci/release/update-version.sh

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ sed_runner 's/release = .*/release = '"'${NEXT_FULL_TAG}'"'/g' docs/source/conf.
3737
sed_runner "s/${CURRENT_LONG_TAG}/${NEXT_FULL_TAG}/g" VERSION
3838
sed_runner "s/${CURRENT_LONG_TAG}/${NEXT_FULL_TAG}/g" python/cucim/VERSION
3939
sed_runner "s/${CURRENT_LONG_TAG}/${NEXT_FULL_TAG}/g" cpp/plugins/cucim.kit.cuslide/VERSION
40+
sed_runner "s/${CURRENT_LONG_TAG}/${NEXT_FULL_TAG}/g" cpp/plugins/cucim.kit.cumed/VERSION
4041
sed_runner "s#\[Version ${CURRENT_LONG_TAG}\](release_notes/v${CURRENT_LONG_TAG}.md)#\[Version ${NEXT_FULL_TAG}\](release_notes/v${NEXT_FULL_TAG}.md)#g" python/cucim/docs/index.md
4142
sed_runner "s/v${CURRENT_LONG_TAG}/v${NEXT_FULL_TAG}/g" python/cucim/docs/getting_started/index.md
4243
sed_runner "s#cucim.kit.cuslide@${CURRENT_LONG_TAG}.so#cucim.kit.cuslide@${NEXT_FULL_TAG}.so#g" python/cucim/docs/getting_started/index.md

0 commit comments

Comments
 (0)
Please sign in to comment.