-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* custom tag implementation TODO: check if code can be simpler check if it works on real case * fix and comments + js-docs * build * custom tag example works! * Update docs * fixed algorithm custom tag TODO: check bytearray bufferarray * Update docs * comments and fix TODO: understand padding bytes * Update docs * tests with pydicom modified image and larvitar customized on. Still open issue TODO: implement tags padding and shift generation basing on VR and PYDICOM writedcm (save_as) function * fixed PN tag customization TODO: check criteria for other tags * algorithm of custom tag WORKS FOR VR="PN" :DDDDD TODO: check if it is the same for others string values (on monday) * tests custom tags succeeded * version and build * cleaned binary files * test customize tag succeded with different datasets and tag values * TODO: check nested tags TODO: check number arrays * TODO check nested tags * fixed custom tag TODO: improve readability and code structure +comments * custom Tags final version * updated docs + tests and fixed example custom tag * Update docs * fixed examples larvitar index.html * Update docs * customize metadata adapted to multiframe and 4d datasets * Update docs * resolved issues + types+ comments+ version + padding+ docs + build * Update docs --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
dce53fa
commit c8c3dd5
Showing
142 changed files
with
2,685 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** @module imaging/imageCustomTags | ||
* @desc This file provides customization functionalities on DICOM images' Byte Array | ||
*/ | ||
import { MetaData, Series } from "./types"; | ||
/** | ||
* called when metadata are modified with custom values | ||
* @function customizeByteArray | ||
* @param {Series} series - series to customize | ||
* @param {MetaData} customTags - customized tags | ||
* @returns {Series} customized series | ||
*/ | ||
export declare const customizeByteArray: (series: Series, customTags: MetaData) => Series; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.