Git Product home page Git Product logo

slicerbatchanonymize's Introduction

SlicerBatchAnonymize

This project is in active development

This is a Slicer extension that provides a user friendly interface to anonymize a 'batch' of DICOM images.

  • Anonymization is done with the help of Slicer's DICOM database utilities and file conversions
  • Multiple output formats are supported (nifti, gipl, and dicom series)
  • A mapping file is saved along with the anonymized files
  • Users can preview the crosswalk/mapping and change the target names of the files
  • Can be setup as a standalong application

Quick Start

  • Install the extension from the Slicer's Extension Index
  • Go to Modules -> DSCI -> DSCI_Anonymizer
  • Point the Input Directory to your parent directory with the dicom images
  • In the Outputs section, point to the location where anonymized files will be saved.
  • Chose the output folder
  • Options for anonymized image naming: -- You can use UUIDs -- Change the prefix of the file names -- Change the file name completely within the crosswalk table itself

Illustrations

License

This software is licensed under the terms of the Apache Licence Version 2.0.

The license file was added at revision 8311a82 on 2022-02-10, but you may consider that the license applies to all prior revisions as well.

slicerbatchanonymize's People

Contributors

hina-shah avatar jamesobutler avatar lassoan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

slicerbatchanonymize's Issues

ENH: Read an existing crosswalk file

Not sure if this would be helpful. But if the output folder has an already created crosswalk file, we can load it to not redo deanonymization. The prefix pattern can be identified with a few files, and loaded in the GUI.

ENH: DICOM database and plugin management

Need to do operations like

  • Make sure that the slicer database is open, and valid
  • If not open, create a new slicer database
  • Make sure that the DICOM plugin is installed. If not installed - throw an error
  • Close the dicom database in the end.

Not sure if these operations are necessary with the default dicom database in Slicer. These operations might be necessary when using a temporary database, or when creating a new database somewhere else (for example in the output directory).

Process canceled during anonimization

Hello!
I have a folder with CBCT in dcm format.
While I am performing the Anonymization the process stops after recognizing all CBCTs, see image attached.
Is there any particular format that I need to use for the name of the files? At the moment the dcm files are named as 0001.dcm

Slicer Batch Anonymizer problem

ENH: Export to DICOM format

Creating this as a separate issue because it seems like this might take more time in early investigation.

  • Exporting a Scalar volume directly into dicom format is not supported in Slicer.
  • Tried going down the DICOM library path, but it's not clear if this is possible
  • Looks like going through pydicom might work:
    -- When exporting a series of dicom files as a single dicom image we can read metadata from the first file, and get pixel spacing from the import dicom volume using this piece of code
    -- Need to investigate what is the correct dicom metadata for a volume image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.