Skip to content

Commit

Permalink
move to folder + add entry in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Reut Sharabani committed Dec 26, 2023
1 parent 481bd8b commit 9dc4261
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,21 @@ Ubuntu 18.04

On OSX and Windows it is required to build DicomToMesh yourself.

## Using via Docker

There is a [docker file](docker/Dockerfile) ready for use. If you have docker installed you can use the generated image without installing anything locally.

### Usage

```bash
# build image and tag it as `dicom2mesh`
docker build docker -t dicom2mesh
# use generated image to build an stl file
docker run -v `pwd`/my/dicom/files/:/data dicom2mesh -i /data -t 557 -o /data/mesh.stl
```

Your mesh will be created alongside your dicom images and named `mesh.stl`

# Building

The software is written in modern C++ on top of the powerful VTK library and is using CMake as a build-system.
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile → docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@ RUN apt update
RUN apt install -y dicom2mesh

ENTRYPOINT ["dicom2mesh"]
# use like so:
# docker run -v `pwd`/my/dicom/files/:/data dicom2mesh -i /data -t 557 -o /data/mesh.stl
# your mesh will be alongside your dicom images

0 comments on commit 9dc4261

Please sign in to comment.