{"id":13812800,"url":"https://github.com/Enet4/dicom-rs","last_synced_at":"2025-05-14T22:31:03.696Z","repository":{"id":38708285,"uuid":"71735225","full_name":"Enet4/dicom-rs","owner":"Enet4","description":"Rust implementation of the DICOM standard","archived":false,"fork":false,"pushed_at":"2025-04-15T17:49:37.000Z","size":5579,"stargazers_count":464,"open_issues_count":65,"forks_count":91,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-14T06:13:24.265Z","etag":null,"topics":["dicom","dicom-standard","hacktoberfest","medical-imaging","rust"],"latest_commit_sha":null,"homepage":"https://dicom-rs.github.io","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Enet4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2016-10-23T23:11:59.000Z","updated_at":"2025-05-13T05:11:00.000Z","dependencies_parsed_at":"2023-10-11T23:22:15.867Z","dependency_job_id":"fc275030-87f8-41a7-929a-afff8b04b753","html_url":"https://github.com/Enet4/dicom-rs","commit_stats":{"total_commits":1081,"total_committers":27,"mean_commits":40.03703703703704,"dds":"0.21184088806660495","last_synced_commit":"26ca8c2a4ea63f91f6cd2f9b53f7c9f23234cc81"},"previous_names":[],"tags_count":172,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enet4%2Fdicom-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enet4%2Fdicom-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enet4%2Fdicom-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Enet4%2Fdicom-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Enet4","download_url":"https://codeload.github.com/Enet4/dicom-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254119436,"owners_count":22017947,"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":["dicom","dicom-standard","hacktoberfest","medical-imaging","rust"],"created_at":"2024-08-04T04:00:55.595Z","updated_at":"2025-05-14T22:31:03.546Z","avatar_url":"https://github.com/Enet4.png","language":"Rust","readme":"# DICOM-rs\n\n[![DICOM-rs on crates.io](https://img.shields.io/crates/v/dicom.svg)](https://crates.io/crates/dicom)\n[![continuous integration](https://github.com/Enet4/dicom-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/Enet4/dicom-rs/actions/workflows/rust.yml)\n![Minimum Rust Version Stable](https://img.shields.io/badge/Minimum%20Rust%20Version-stable-green.svg)\n[![dependency status](https://deps.rs/repo/github/Enet4/dicom-rs/status.svg)](https://deps.rs/repo/github/Enet4/dicom-rs)\n[![DICOM-rs chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://dicom-rs.zulipchat.com/)\n[![Documentation](https://docs.rs/dicom/badge.svg)](https://docs.rs/dicom)\n\nAn ecosystem of library and tools for [DICOM](https://dicomstandard.org) compliant systems.\n\nThis collection provides a pure Rust implementation of the DICOM standard,\nallowing users to work with DICOM objects\nand interact with DICOM applications,\nwhile aiming to be fast, safe, and intuitive to use.\n\n## Components\n\n### Library\n\nThe following library packages are designed to be used in\nother Rust libraries and applications.\n\n- [`object`](object) provides a high-level abstraction of DICOM objects\n  and functions for reading and writing DICOM files.\n- [`pixeldata`](pixeldata) enables the decoding and conversion of DICOM objects\n  into usable imaging data structures,\n  such as images and multidimensional arrays.\n- [`dump`](dump) provides helpful routines for\n  dumping the contents of DICOM objects.\n- [`json`](json) provides serialization and deserialization to DICOM JSON.\n- [`ul`](ul) implements the DICOM upper layer protocol.\n- [`dictionary-std`](dictionary-std) contains a Rust definition of\n  the standard data dictionary.\n- [`transfer-syntax-registry`](transfer-syntax-registry) contains a registry of\n  transfer syntax specifications.\n- [`parser`](parser) provides a middle-level abstraction\n  for the parsing and printing of DICOM data sets.\n- [`encoding`](encoding) contains DICOM data encoding and decoding primitives.\n- [`core`](core) represents all of the base traits,\n  data structures and functions related to DICOM content.\n\n#### Using as a library\n\nThe parent crate [`dicom`](parent) aggregates the key components of the full library,\nso it can be added to a project as an alternative to\nselectively grabbing the components that you need.\n\nGenerally, most projects would add [`dicom_object`](object),\nwhich is the most usable crate for reading DICOM objects from a file or a similar source.\nThis crate is available in `dicom::object`.\nFor working with the imaging data of a DICOM object,\nadd [`pixeldata`](pixeldata).\nNetwork capabilities may be constructed on top of [`ul`](ul).\n\nA simple example of use follows.\nFor more details,\nplease visit the [`dicom` documentation](https://docs.rs/dicom).\n\n```rust\nuse dicom::object::open_file;\nuse dicom::dictionary_std::tags;\n\nlet obj = open_file(\"0001.dcm\")?;\nlet patient_name = obj.element(tags::PATIENT_NAME)?.to_str()?;\nlet modality = obj.element(tags::MODALITY)?.to_str()?;\n```\n\n### Tools\n\nThe project also comprises an assortment of command line tools.\n\n- [`dump`](dump), aside from being a library,\n  is also a command-line application for inspecting DICOM files.\n- [`scpproxy`](scpproxy) implements a Proxy service class provider.\n- [`echoscu`](echoscu) implements a Verification service class user.\n- [`findscu`](findscu) implements a Find service class user.\n- [`storescu`](storescu) implements a Storage service class user.\n- [`storescp`](storescp) implements a Storage service class provider.\n- [`toimage`](toimage) lets you convert a DICOM file into an image file.\n- [`fromimage`](fromimage) lets you replace the imaging data of a DICOM file\n  with one from an image file.\n- [`pixeldata`](pixeldata) also includes `dicom-transcode`,\n  which lets you transcode DICOM files to other transfer syntaxes.\n\n### Development tools\n\n- [`dictionary-builder`](dictionary-builder) is an independent application that\n  generates code and other data structures for a DICOM standard dictionary.\n\n## Building\n\nYou can use Cargo to build all crates in the repository.\n\n```sh\ncargo build\n```\n\nOther than the parts needed to build a pure Rust project,\nno other development dependencies are necessary\nunless certain extensions are included via Cargo features.\nConsult each crate for guidelines on selecting features to suit your needs.\n\nMinimum supported Rust version is 1.72.0 and only applies to the library crates with default features.  \nBinary crates and extra features may require a newer version of Rust.\n\n## Roadmap \u0026 Contributing\n\nThis project is under active development.\n\nYour feedback during the development of these solutions is welcome. Please see the [wiki](https://github.com/Enet4/dicom-rs/wiki)\nfor additional guidelines related to the project's roadmap.\nSee also the [contributor guidelines](CONTRIBUTING.md) and the project's [Code of Conduct](CODE_OF_CONDUCT.md).\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0\u003e)\n- MIT license ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT\u003e)\n\nat your option.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","funding_links":[],"categories":["Libraries","Rust"],"sub_categories":["Image processing","Rust"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEnet4%2Fdicom-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEnet4%2Fdicom-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEnet4%2Fdicom-rs/lists"}