{"id":26037378,"url":"https://github.com/LunarisTeam/DcmVision","last_synced_at":"2025-03-07T08:01:29.787Z","repository":{"id":268565264,"uuid":"904746910","full_name":"LunarisTeam/DcmVision","owner":"LunarisTeam","description":"Technical demonstration of how to integrate and handle DICOM imaging with Apple Vision Pro","archived":false,"fork":false,"pushed_at":"2025-03-03T17:13:05.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-03T17:45:32.686Z","etag":null,"topics":["apple","dicom","dicom-viewer","imaging","objective-c","objective-c-plus-plus","swiftui","visionos","visionpro"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LunarisTeam.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-12-17T13:29:20.000Z","updated_at":"2025-03-03T17:13:10.000Z","dependencies_parsed_at":"2024-12-17T15:25:29.615Z","dependency_job_id":"559be9f8-0331-49eb-9d3f-eb5472331343","html_url":"https://github.com/LunarisTeam/DcmVision","commit_stats":null,"previous_names":["lunaristeam/dcmvision"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarisTeam%2FDcmVision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarisTeam%2FDcmVision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarisTeam%2FDcmVision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LunarisTeam%2FDcmVision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LunarisTeam","download_url":"https://codeload.github.com/LunarisTeam/DcmVision/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242353780,"owners_count":20114042,"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":["apple","dicom","dicom-viewer","imaging","objective-c","objective-c-plus-plus","swiftui","visionos","visionpro"],"created_at":"2025-03-07T08:01:13.430Z","updated_at":"2025-03-07T08:01:29.771Z","avatar_url":"https://github.com/LunarisTeam.png","language":"Swift","funding_links":[],"categories":["Projects"],"sub_categories":["Examples"],"readme":"# DcmVision\r\n\r\nDcmVision is a sample project for visionOS that demonstrates how to handle and visualize DICOM files, including generation of a 3D model for scans acquired using CT and MRI. The project serves as a reference implementation for integrating DICOM imaging into visionOS applications. Additionally, it provides an example of bridging standard Clang technologies to the Apple ecosystem by using Objective-C++.\r\n\r\nThis project requires some setup steps, which are outlined below.\r\n\r\n\u003e [!CAUTION]\r\n\u003e This project is not intended for use in any medical production environment. It should only be used for R\u0026D purposes.\r\n\r\n![Demo Image](./Demo.png)\r\n\r\n## Requirements\r\n\r\n- visionOS 2.0+\r\n- Xcode 16+\r\n- Patience and time to spare\r\n\r\n## Getting Started\r\n\r\n### Dependencies\r\n\r\nThis project utilizes multiple open-source, industry-standard libraries, including:\r\n\r\n- [DCMTK](https://github.com/DCMTK/dcmtk)\r\n- [VTK](https://github.com/Kitware/VTK)\r\n- [Zlib](https://zlib.net/)\r\n\r\nSince pre-compiled binaries for visionOS are not available, these libraries must be compiled manually.\r\n\r\n\u003e [!TIP]\r\n\u003e This project includes a facility script: **setup-dependencies.sh**\r\n\u003e\r\n\u003e At the top of **setup-dependencies.sh**, there is a variable named `TARGET`, which is set to `xrsimulator` by default. Developers can change it to `xros` to switch from the simulator target to the visionOS target.\r\n\r\n#### Steps to install dependencies:\r\n\r\n1. Run **Dependencies/setup-dependencies.sh** and wait for everything to compile, including VTK, DCMTK, and ZLIB.\r\n2. Manually bundle the **VTK, DCMTK, and LIBZ** install folders into the Xcode project.\r\n3. Manually add all the static libraries that should be linked to the Application, under **Build Phases** -\u003e **Link Binary with Libraries**\r\n\r\n\u003e [!IMPORTANT]\r\n\u003e - The **Header Search Path** and **Library Search Path** must be correctly set in Xcode to locate external frameworks and libraries.\r\n\u003e - Make sure statically link all the **.a** files found under the **{libname}/lib** directory, for each one of the dependencies.\r\n\r\n### DICOM Data Sets\r\n\r\nFor the example to work, DICOM files (Data Sets) must be directly included in the application. To achieve this, use the pre-existing **DicomFiles** group and add all the required directories under it. The way this is currently handled in the project, is by using **Build Phases** -\u003e **Copy Files** phase to manually copy all the dicom files in the application bundle. You may need to adjust settings according to your data sets.\r\n\r\n### Finalizing\r\n\r\nBuild the Xcode project and enjoy!\r\n\r\n## Contributors\r\n\r\n- [Giuseppe Rocco](https://github.com/iOmega8561)[:](https://github.com/iOmega8561) Dependencies setup and initial project package\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLunarisTeam%2FDcmVision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLunarisTeam%2FDcmVision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLunarisTeam%2FDcmVision/lists"}