{"id":20133087,"url":"https://github.com/dangom/dicom-mode","last_synced_at":"2026-03-19T14:03:39.664Z","repository":{"id":198551413,"uuid":"60122839","full_name":"dangom/dicom-mode","owner":"dangom","description":"An Emacs minor mode to deal with DICOM images.","archived":false,"fork":false,"pushed_at":"2016-05-31T21:07:37.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T12:06:11.096Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","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/dangom.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2016-05-31T20:56:05.000Z","updated_at":"2023-07-31T22:32:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0d19b1f-5279-4dcf-a2d1-fb24909c034d","html_url":"https://github.com/dangom/dicom-mode","commit_stats":null,"previous_names":["dangom/dicom-mode"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangom%2Fdicom-mode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangom%2Fdicom-mode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangom%2Fdicom-mode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dangom%2Fdicom-mode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dangom","download_url":"https://codeload.github.com/dangom/dicom-mode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241578367,"owners_count":19985149,"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-13T20:57:25.635Z","updated_at":"2026-01-29T00:03:45.114Z","avatar_url":"https://github.com/dangom.png","language":"Emacs Lisp","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+TITLE: Dicom-mode\n#+AUTHOR: Daniel Gomez\n\n**  Goal\nDicom-mode is a minor mode that provides facilities to view better interact with DICOM\nimages from within Emacs' image-mode.\n\nThese facilities include:\n - Interactively search for the value of a DICOM tag.\n - Dump the DICOM header in a new buffer.\n - Automatically create a publication-like protocol description.\n - Infer protocol values not directly described in tags.\n - Export all DICOMs in folder to a 4D nifti.\n\n** Keybindings\n\n| Keybindings | Description                          |\n| =C-c C-d=   | Dump header to *dicom-header* buffer |\n| =C-c C-i=   | Export DICOMs in folder to NifTI     |\n| =C-c C-s=   | Interactively search for a DICOM tag |\n\n** Installation \n\nDicom-mode is new and unstable, and therefore not yet available in MELPA. To\ninstall it simply put the files on your load path and add the following to your\ninit.el file:\n\n#+BEGIN_SRC emacs-lisp\n;; Make image-mode play well with dicoms\n(setq image-file-name-extensions\n      (append '(\"dcm\" \"ima\") image-file-name-extensions))\n\n(require 'dicom-mode)\n;; Automatically load dicom-mode when opening DICOMs.\n(add-to-list 'auto-mode-alist\n             '(\"\\\\.\\\\(dcm\\\\|DCM\\\\|ima\\\\|IMA\\\\)\\\\'\"\n               . (lambda ()\n                   (image-mode)\n                   (dicom-mode))))\n#+END_SRC\n\n** Requirements\n\nDicom-mode currently depends on [[http://dicom.offis.de/dcmtk.php.en][dcmtk]] for searching and retrieving header\ninformation, and on [[https://github.com/neurolabusc/dcm2niix][dcm2niix]] to create NifTI files. \nFor image-mode to work properly, Emacs needs to be compiled with ImageMagick support.\n\nFor OS X users, dcmtk can be easily installed with ~brew install dcmtk~.\n\n** To do\n\n - Add more support for private vendor tags.\n - Expand Dicom-\u003e Nifti facilities (choose filename and output folder)\n - Let user customize which tags to export, and what text to generate.\n - Add support to [[http://gdcm.sourceforge.net/wiki/index.php/Main_Page][GDCM]] in addition to dcmtk.\n - Add support for DICOM anonymization.\n - Import DICOM (or exported nifti) into an inferior Matlab or Python process.\n - Find alternative method to extract slice acceleration factor.\n\n** Disclaimer\n\nThis minor-mode has been created to be mostly useful with MRI images, and in\nparticular with fMRI data.\n\n** License\n\n[[https://www.gnu.org/licenses/gpl-3.0.txt][GPLv3]].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangom%2Fdicom-mode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdangom%2Fdicom-mode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdangom%2Fdicom-mode/lists"}