Skip to content

Commit

Permalink
Add doc type
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed Feb 5, 2024
1 parent a97af6f commit 9f70028
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dicom/dicomElementsWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ function getElementAsString(tag, dicomElement, prefix) {
* Extract the 2D size from dicom elements.
*
* @param {object} elements The DICOM elements.
* @returns {object} The size.
* @returns {number[]} The size.
*/
export function getImage2DSize(elements) {
// rows
Expand All @@ -379,7 +379,7 @@ export function getImage2DSize(elements) {
* Get the pixel spacing from the different spacing tags.
*
* @param {object} elements The DICOM elements.
* @returns {object} The read spacing or the default [1,1].
* @returns {Spacing} The read spacing or the default [1,1].
*/
export function getPixelSpacing(elements) {
// default
Expand Down

0 comments on commit 9f70028

Please sign in to comment.