{"id":19327769,"url":"https://github.com/favreau/dicom","last_synced_at":"2026-06-13T18:32:53.926Z","repository":{"id":92945826,"uuid":"142613810","full_name":"favreau/DICOM","owner":"favreau","description":"DICOM plugin for Brayns","archived":false,"fork":false,"pushed_at":"2022-10-08T08:52:05.000Z","size":1826,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T07:23:55.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/favreau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-27T18:59:46.000Z","updated_at":"2022-10-08T15:26:28.000Z","dependencies_parsed_at":"2023-04-12T05:46:00.952Z","dependency_job_id":null,"html_url":"https://github.com/favreau/DICOM","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favreau%2FDICOM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favreau%2FDICOM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favreau%2FDICOM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/favreau%2FDICOM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/favreau","download_url":"https://codeload.github.com/favreau/DICOM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240428981,"owners_count":19799765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T02:18:40.818Z","updated_at":"2026-06-13T18:32:53.892Z","avatar_url":"https://github.com/favreau.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DICOM plugin for Brayns\n\n## Description\nThis module implements the visualization of DICOM datasets with [Brayns](https://github.com/BlueBrain/Brayns)\n\n## Build on Linux\n\n### Prerequiries\n- Build [Brayns](https://github.com/BlueBrain/Brayns) and install it into ${BRAYNS_INSTALLATION_FOLDER}\n- Install dcmtk\n```bash\nsudo apt install libdcmtk-dev\n```\n\n### Build from source\n\n```bash\ngit clone https://github.com/favreau/Brayns-UC-DICOM\ncd Brayns-UC-DICOM\nmkdir build\ncd build\nCMAKE_PREFIX_PATH=${BRAYNS_INSTALLATION_FOLDER} cmake .. -DCMAKE_PREFIX_PATH=${BRAYNS_INSTALLATION_FOLDER} -DCMAKE_BUILD_TYPE=Release\n```\nThis will build and install libdicom.so\n\n\n## Usage\n- Set PATH and LD_LIBRARY_PATH\n```bash\nexport PATH=${BRAYNS_INSTALLATION_FOLDER}/bin:${PATH}\nexport LD_LIBRARY_PATH=${BRAYNS_INSTALLATION_FOLDER}/lib:${LD_LIBRARY_PATH}\n```\n- Run Brayns application either with command line '--plugin dicom'\n```bash\nbraynsService --http-server :5000 --plugin dicom\n```\n\n## User interface\nA user interface is currently available as a [docker container](https://hub.docker.com/r/bluebrain/brayns-ui/)\n```bash\ndocker run -ti --rm -p 8080:8080 bluebrain/brayns-ui\n```\nOnce the container is running, access the web UI at http://localhost:8080?host=localhost:5000\n\n## Python\nInstall the brayns package in your favourite Python 3 virtual environment:\n```bash\nvirtualenv -p python3 venv\n. ./env/bin/activate\npip install brayns\n```\nConnect to Brayns and load DICOM data:\n```python\nfrom brayns import Client\nbrayns = Client('localhost:5000')\n\n# Set renderer that supports volumes\nbrayns.set_renderer(current='scivis', head_light=True, samples_per_pixel=1)\n\n# Load data\nbrayns.add_model(path='...') # Path to the DICOM folder\n\n# Set rendering parameters\np = brayns.ScivisRendererParams()\np.shadows_enabled = False\np.ao_weight = 1\nbrayns.set_renderer_params(p)\nbrayns.set_volume_parameters(\n    specular=(0,0,0),gradient_shading=False, single_shade=False,\n    adaptive_sampling=True,adaptive_max_sampling_rate=1, sampling_rate=1)\n```\nFor more information about the Brayns Python interface, see the [documentation](https://github.com/BlueBrain/Brayns/tree/master/python).\n\n## Screenshots\n![DICOM](doc/dicom.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavreau%2Fdicom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffavreau%2Fdicom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffavreau%2Fdicom/lists"}