@ubercode/dcmtk 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -12
- package/dist/{DicomInstance-CQEIuF_x.d.ts → DicomInstance-CGBr3a-C.d.ts} +2 -2
- package/dist/{DicomInstance-By9zd7GM.d.cts → DicomInstance-DWOjhccQ.d.cts} +2 -2
- package/dist/{dcmodify-Gds9u5Vj.d.cts → dcmodify-B9js5K1f.d.cts} +2 -0
- package/dist/{dcmodify-B-_uUIKB.d.ts → dcmodify-BvaIeyJg.d.ts} +2 -0
- package/dist/dicom.cjs +27 -11
- package/dist/dicom.cjs.map +1 -1
- package/dist/dicom.d.cts +3 -3
- package/dist/dicom.d.ts +3 -3
- package/dist/dicom.js +27 -11
- package/dist/dicom.js.map +1 -1
- package/dist/index.cjs +1299 -172
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +320 -7
- package/dist/index.d.ts +320 -7
- package/dist/index.js +1297 -173
- package/dist/index.js.map +1 -1
- package/dist/servers.cjs +28 -12
- package/dist/servers.cjs.map +1 -1
- package/dist/servers.d.cts +2 -2
- package/dist/servers.d.ts +2 -2
- package/dist/servers.js +28 -12
- package/dist/servers.js.map +1 -1
- package/dist/tools.cjs +755 -157
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.d.cts +226 -10
- package/dist/tools.d.ts +226 -10
- package/dist/tools.js +755 -157
- package/dist/tools.js.map +1 -1
- package/package.json +17 -1
package/dist/tools.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { R as Result } from './types-Cgumy1N4.js';
|
|
2
|
-
import { d as ToolBaseOptions, c as DicomJsonModel } from './dcmodify-
|
|
3
|
-
export { a as DcmodifyOptions, b as DcmodifyResult, D as DicomJsonElement, T as TagModification, e as dcmodify } from './dcmodify-
|
|
2
|
+
import { d as ToolBaseOptions, c as DicomJsonModel } from './dcmodify-BvaIeyJg.js';
|
|
3
|
+
export { a as DcmodifyOptions, b as DcmodifyResult, D as DicomJsonElement, T as TagModification, e as dcmodify } from './dcmodify-BvaIeyJg.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* DICOM to XML conversion using the dcm2xml binary.
|
|
@@ -32,6 +32,8 @@ interface Dcm2xmlOptions extends ToolBaseOptions {
|
|
|
32
32
|
readonly writeBinaryData?: boolean | undefined;
|
|
33
33
|
/** Encode binary data inline instead of referencing external files. Defaults to true when writeBinaryData is true. */
|
|
34
34
|
readonly encodeBinaryBase64?: boolean | undefined;
|
|
35
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
36
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
35
37
|
}
|
|
36
38
|
/** Result of a successful dcm2xml conversion. */
|
|
37
39
|
interface Dcm2xmlResult {
|
|
@@ -72,6 +74,8 @@ type Dcm2jsonSource = 'xml' | 'direct';
|
|
|
72
74
|
interface Dcm2jsonOptions extends ToolBaseOptions {
|
|
73
75
|
/** Skip the XML primary path and use direct dcm2json only. Defaults to false. */
|
|
74
76
|
readonly directOnly?: boolean | undefined;
|
|
77
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
78
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
75
79
|
}
|
|
76
80
|
/** Result of a successful dcm2json conversion. */
|
|
77
81
|
interface Dcm2jsonResult {
|
|
@@ -128,6 +132,8 @@ interface DcmdumpOptions extends ToolBaseOptions {
|
|
|
128
132
|
readonly searchTag?: string | undefined;
|
|
129
133
|
/** Print tag values with enhanced detail. Defaults to false. */
|
|
130
134
|
readonly printValues?: boolean | undefined;
|
|
135
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
136
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
131
137
|
}
|
|
132
138
|
/** Result of a successful dcmdump operation. */
|
|
133
139
|
interface DcmdumpResult {
|
|
@@ -181,6 +187,8 @@ type TransferSyntaxValue = (typeof TransferSyntax)[keyof typeof TransferSyntax];
|
|
|
181
187
|
interface DcmconvOptions extends ToolBaseOptions {
|
|
182
188
|
/** Target transfer syntax. Required. */
|
|
183
189
|
readonly transferSyntax: TransferSyntaxValue;
|
|
190
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
191
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
184
192
|
}
|
|
185
193
|
/** Result of a successful dcmconv conversion. */
|
|
186
194
|
interface DcmconvResult {
|
|
@@ -215,6 +223,8 @@ declare function dcmconv(inputPath: string, outputPath: string, options: Dcmconv
|
|
|
215
223
|
|
|
216
224
|
/** Options for {@link dcmftest}. */
|
|
217
225
|
interface DcmftestOptions extends ToolBaseOptions {
|
|
226
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
227
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
218
228
|
}
|
|
219
229
|
/** Result of a successful dcmftest check. */
|
|
220
230
|
interface DcmftestResult {
|
|
@@ -261,6 +271,8 @@ interface DcmgpdirOptions extends ToolBaseOptions {
|
|
|
261
271
|
readonly mapFilenames?: boolean | undefined;
|
|
262
272
|
/** Invent missing DICOMDIR type 1 attributes. Maps to +I flag. */
|
|
263
273
|
readonly inventAttributes?: boolean | undefined;
|
|
274
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
275
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
264
276
|
}
|
|
265
277
|
/** Result of a successful dcmgpdir operation. */
|
|
266
278
|
interface DcmgpdirResult {
|
|
@@ -309,6 +321,8 @@ interface DcmmkdirOptions extends ToolBaseOptions {
|
|
|
309
321
|
readonly mapFilenames?: boolean | undefined;
|
|
310
322
|
/** Invent missing DICOMDIR type 1 attributes. Maps to +I flag. */
|
|
311
323
|
readonly inventAttributes?: boolean | undefined;
|
|
324
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
325
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
312
326
|
}
|
|
313
327
|
/** Result of a successful dcmmkdir operation. */
|
|
314
328
|
interface DcmmkdirResult {
|
|
@@ -351,6 +365,8 @@ interface DcmqridxOptions extends ToolBaseOptions {
|
|
|
351
365
|
readonly print?: boolean | undefined;
|
|
352
366
|
/** Mark status as "not new" (-n flag). */
|
|
353
367
|
readonly notNew?: boolean | undefined;
|
|
368
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
369
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
354
370
|
}
|
|
355
371
|
/** Result of a successful dcmqridx operation. */
|
|
356
372
|
type DcmqridxResult = {
|
|
@@ -375,6 +391,8 @@ declare function dcmqridx(options: DcmqridxOptions): Promise<Result<DcmqridxResu
|
|
|
375
391
|
|
|
376
392
|
/** Options for {@link xml2dcm}. */
|
|
377
393
|
interface Xml2dcmOptions extends ToolBaseOptions {
|
|
394
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
395
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
378
396
|
/** Generate new Study/Series/SOP Instance UIDs. Defaults to false. */
|
|
379
397
|
readonly generateNewUIDs?: boolean | undefined;
|
|
380
398
|
/** Validate the XML document. Defaults to false. */
|
|
@@ -412,7 +430,10 @@ declare function xml2dcm(inputPath: string, outputPath: string, options?: Xml2dc
|
|
|
412
430
|
*/
|
|
413
431
|
|
|
414
432
|
/** Options for {@link json2dcm}. */
|
|
415
|
-
|
|
433
|
+
interface Json2dcmOptions extends ToolBaseOptions {
|
|
434
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
435
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
436
|
+
}
|
|
416
437
|
/** Result of a successful json2dcm conversion. */
|
|
417
438
|
interface Json2dcmResult {
|
|
418
439
|
/** Path to the generated DICOM output file. */
|
|
@@ -444,6 +465,8 @@ declare function json2dcm(inputPath: string, outputPath: string, options?: Json2
|
|
|
444
465
|
|
|
445
466
|
/** Options for {@link dump2dcm}. */
|
|
446
467
|
interface Dump2dcmOptions extends ToolBaseOptions {
|
|
468
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
469
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
447
470
|
/** Generate new Study/Series/SOP Instance UIDs. Defaults to false. */
|
|
448
471
|
readonly generateNewUIDs?: boolean | undefined;
|
|
449
472
|
/** Write output as DICOM file format (with preamble + meta header). Defaults to false. */
|
|
@@ -492,6 +515,8 @@ declare const Img2dcmInputFormat: {
|
|
|
492
515
|
type Img2dcmInputFormatValue = (typeof Img2dcmInputFormat)[keyof typeof Img2dcmInputFormat];
|
|
493
516
|
/** Options for {@link img2dcm}. */
|
|
494
517
|
interface Img2dcmOptions extends ToolBaseOptions {
|
|
518
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
519
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
495
520
|
/** Input image format. Maps to `-i JPEG` or `-i BMP`. */
|
|
496
521
|
readonly inputFormat?: Img2dcmInputFormatValue | undefined;
|
|
497
522
|
/** Path to a DICOM dataset file to copy attributes from. Maps to `-df path`. */
|
|
@@ -529,7 +554,10 @@ declare function img2dcm(inputPath: string, outputPath: string, options?: Img2dc
|
|
|
529
554
|
*/
|
|
530
555
|
|
|
531
556
|
/** Options for {@link pdf2dcm}. */
|
|
532
|
-
|
|
557
|
+
interface Pdf2dcmOptions extends ToolBaseOptions {
|
|
558
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
559
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
560
|
+
}
|
|
533
561
|
/** Result of a successful pdf2dcm operation. */
|
|
534
562
|
interface Pdf2dcmResult {
|
|
535
563
|
/** Path to the output DICOM file. */
|
|
@@ -552,7 +580,10 @@ declare function pdf2dcm(inputPath: string, outputPath: string, options?: Pdf2dc
|
|
|
552
580
|
*/
|
|
553
581
|
|
|
554
582
|
/** Options for {@link dcm2pdf}. */
|
|
555
|
-
|
|
583
|
+
interface Dcm2pdfOptions extends ToolBaseOptions {
|
|
584
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
585
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
586
|
+
}
|
|
556
587
|
/** Result of a successful dcm2pdf operation. */
|
|
557
588
|
interface Dcm2pdfResult {
|
|
558
589
|
/** Path to the extracted PDF file. */
|
|
@@ -575,7 +606,10 @@ declare function dcm2pdf(inputPath: string, outputPath: string, options?: Dcm2pd
|
|
|
575
606
|
*/
|
|
576
607
|
|
|
577
608
|
/** Options for {@link cda2dcm}. */
|
|
578
|
-
|
|
609
|
+
interface Cda2dcmOptions extends ToolBaseOptions {
|
|
610
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
611
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
612
|
+
}
|
|
579
613
|
/** Result of a successful cda2dcm operation. */
|
|
580
614
|
interface Cda2dcmResult {
|
|
581
615
|
/** Path to the output DICOM file. */
|
|
@@ -598,7 +632,10 @@ declare function cda2dcm(inputPath: string, outputPath: string, options?: Cda2dc
|
|
|
598
632
|
*/
|
|
599
633
|
|
|
600
634
|
/** Options for {@link dcm2cda}. */
|
|
601
|
-
|
|
635
|
+
interface Dcm2cdaOptions extends ToolBaseOptions {
|
|
636
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
637
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
638
|
+
}
|
|
602
639
|
/** Result of a successful dcm2cda operation. */
|
|
603
640
|
interface Dcm2cdaResult {
|
|
604
641
|
/** Path to the extracted CDA file. */
|
|
@@ -622,6 +659,8 @@ declare function dcm2cda(inputPath: string, outputPath: string, options?: Dcm2cd
|
|
|
622
659
|
|
|
623
660
|
/** Options for {@link stl2dcm}. */
|
|
624
661
|
interface Stl2dcmOptions extends ToolBaseOptions {
|
|
662
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
663
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
625
664
|
}
|
|
626
665
|
/** Result of a successful stl2dcm conversion. */
|
|
627
666
|
interface Stl2dcmResult {
|
|
@@ -656,6 +695,8 @@ declare function stl2dcm(inputPath: string, outputPath: string, options?: Stl2dc
|
|
|
656
695
|
interface DcmcrleOptions extends ToolBaseOptions {
|
|
657
696
|
/** Always write new SOP Instance UID. Maps to +ua flag. */
|
|
658
697
|
readonly uidAlways?: boolean | undefined;
|
|
698
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
699
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
659
700
|
}
|
|
660
701
|
/** Result of a successful dcmcrle encoding. */
|
|
661
702
|
interface DcmcrleResult {
|
|
@@ -692,6 +733,8 @@ declare function dcmcrle(inputPath: string, outputPath: string, options?: Dcmcrl
|
|
|
692
733
|
interface DcmdrleOptions extends ToolBaseOptions {
|
|
693
734
|
/** Always write new SOP Instance UID. Maps to +ua flag. */
|
|
694
735
|
readonly uidAlways?: boolean | undefined;
|
|
736
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
737
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
695
738
|
}
|
|
696
739
|
/** Result of a successful dcmdrle decoding. */
|
|
697
740
|
interface DcmdrleResult {
|
|
@@ -728,6 +771,8 @@ declare function dcmdrle(inputPath: string, outputPath: string, options?: Dcmdrl
|
|
|
728
771
|
interface DcmencapOptions extends ToolBaseOptions {
|
|
729
772
|
/** Document title for the encapsulated document. Maps to --title. */
|
|
730
773
|
readonly documentTitle?: string | undefined;
|
|
774
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
775
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
731
776
|
}
|
|
732
777
|
/** Result of a successful dcmencap operation. */
|
|
733
778
|
interface DcmencapResult {
|
|
@@ -752,6 +797,8 @@ declare function dcmencap(inputPath: string, outputPath: string, options?: Dcmen
|
|
|
752
797
|
|
|
753
798
|
/** Options for {@link dcmdecap}. */
|
|
754
799
|
interface DcmdecapOptions extends ToolBaseOptions {
|
|
800
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
801
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
755
802
|
}
|
|
756
803
|
/** Result of a successful dcmdecap operation. */
|
|
757
804
|
interface DcmdecapResult {
|
|
@@ -780,6 +827,10 @@ interface DcmcjpegOptions extends ToolBaseOptions {
|
|
|
780
827
|
readonly quality?: number | undefined;
|
|
781
828
|
/** Use lossless JPEG compression (SV1). Maps to +e1. */
|
|
782
829
|
readonly lossless?: boolean | undefined;
|
|
830
|
+
/** Use progressive JPEG compression. Maps to `+p`. */
|
|
831
|
+
readonly progressive?: boolean | undefined;
|
|
832
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
833
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
783
834
|
}
|
|
784
835
|
/** Result of a successful dcmcjpeg operation. */
|
|
785
836
|
interface DcmcjpegResult {
|
|
@@ -818,6 +869,8 @@ type ColorConversionValue = (typeof ColorConversion)[keyof typeof ColorConversio
|
|
|
818
869
|
interface DcmdjpegOptions extends ToolBaseOptions {
|
|
819
870
|
/** Color conversion mode. Maps to +cp, +ca, or +cn. */
|
|
820
871
|
readonly colorConversion?: ColorConversionValue | undefined;
|
|
872
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
873
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
821
874
|
}
|
|
822
875
|
/** Result of a successful dcmdjpeg operation. */
|
|
823
876
|
interface DcmdjpegResult {
|
|
@@ -846,6 +899,8 @@ interface DcmcjplsOptions extends ToolBaseOptions {
|
|
|
846
899
|
readonly lossless?: boolean | undefined;
|
|
847
900
|
/** Maximum pixel deviation for near-lossless mode. Maps to +md. */
|
|
848
901
|
readonly maxDeviation?: number | undefined;
|
|
902
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
903
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
849
904
|
}
|
|
850
905
|
/** Result of a successful dcmcjpls operation. */
|
|
851
906
|
interface DcmcjplsResult {
|
|
@@ -884,6 +939,8 @@ type JplsColorConversionValue = (typeof JplsColorConversion)[keyof typeof JplsCo
|
|
|
884
939
|
interface DcmdjplsOptions extends ToolBaseOptions {
|
|
885
940
|
/** Color conversion mode. Maps to +cp, +ca, or +cn. */
|
|
886
941
|
readonly colorConversion?: JplsColorConversionValue | undefined;
|
|
942
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
943
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
887
944
|
}
|
|
888
945
|
/** Result of a successful dcmdjpls operation. */
|
|
889
946
|
interface DcmdjplsResult {
|
|
@@ -914,6 +971,8 @@ declare const Dcmj2pnmOutputFormat: {
|
|
|
914
971
|
readonly PNM: "pnm";
|
|
915
972
|
/** PNG format. */
|
|
916
973
|
readonly PNG: "png";
|
|
974
|
+
/** 16-bit PNG format. */
|
|
975
|
+
readonly PNG_16BIT: "png16";
|
|
917
976
|
/** BMP format. */
|
|
918
977
|
readonly BMP: "bmp";
|
|
919
978
|
/** TIFF format. */
|
|
@@ -928,6 +987,12 @@ interface Dcmj2pnmOptions extends ToolBaseOptions {
|
|
|
928
987
|
readonly outputFormat?: Dcmj2pnmOutputFormatValue | undefined;
|
|
929
988
|
/** Frame number to extract (0-based). */
|
|
930
989
|
readonly frame?: number | undefined;
|
|
990
|
+
/** Window center for VOI LUT. Must be provided together with {@link windowWidth}. Maps to `+Wl`. */
|
|
991
|
+
readonly windowCenter?: number | undefined;
|
|
992
|
+
/** Window width for VOI LUT. Must be provided together with {@link windowCenter}. Maps to `+Wl`. */
|
|
993
|
+
readonly windowWidth?: number | undefined;
|
|
994
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
995
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
931
996
|
}
|
|
932
997
|
/** Result of a successful dcmj2pnm operation. */
|
|
933
998
|
interface Dcmj2pnmResult {
|
|
@@ -968,6 +1033,8 @@ declare const Dcm2pnmOutputFormat: {
|
|
|
968
1033
|
readonly PNM: "pnm";
|
|
969
1034
|
/** PNG format. */
|
|
970
1035
|
readonly PNG: "png";
|
|
1036
|
+
/** 16-bit PNG format. */
|
|
1037
|
+
readonly PNG_16BIT: "png16";
|
|
971
1038
|
/** BMP format. */
|
|
972
1039
|
readonly BMP: "bmp";
|
|
973
1040
|
/** TIFF format. */
|
|
@@ -980,6 +1047,12 @@ interface Dcm2pnmOptions extends ToolBaseOptions {
|
|
|
980
1047
|
readonly outputFormat?: Dcm2pnmOutputFormatValue | undefined;
|
|
981
1048
|
/** Frame number to extract (0-based, max 65535). */
|
|
982
1049
|
readonly frame?: number | undefined;
|
|
1050
|
+
/** Window center for VOI LUT. Must be provided together with {@link windowWidth}. Maps to `+Wl`. */
|
|
1051
|
+
readonly windowCenter?: number | undefined;
|
|
1052
|
+
/** Window width for VOI LUT. Must be provided together with {@link windowCenter}. Maps to `+Wl`. */
|
|
1053
|
+
readonly windowWidth?: number | undefined;
|
|
1054
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1055
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
983
1056
|
}
|
|
984
1057
|
/** Result of a successful dcm2pnm operation. */
|
|
985
1058
|
interface Dcm2pnmResult {
|
|
@@ -1022,6 +1095,8 @@ interface DcmscaleOptions extends ToolBaseOptions {
|
|
|
1022
1095
|
readonly xSize?: number | undefined;
|
|
1023
1096
|
/** Target height in pixels. */
|
|
1024
1097
|
readonly ySize?: number | undefined;
|
|
1098
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1099
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1025
1100
|
}
|
|
1026
1101
|
/** Result of a successful dcmscale operation. */
|
|
1027
1102
|
interface DcmscaleResult {
|
|
@@ -1061,6 +1136,8 @@ interface DcmquantOptions extends ToolBaseOptions {
|
|
|
1061
1136
|
readonly colors?: number | undefined;
|
|
1062
1137
|
/** Frame number to extract (0-based, max 65535). */
|
|
1063
1138
|
readonly frame?: number | undefined;
|
|
1139
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1140
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1064
1141
|
}
|
|
1065
1142
|
/** Result of a successful dcmquant operation. */
|
|
1066
1143
|
interface DcmquantResult {
|
|
@@ -1106,6 +1183,8 @@ interface DcmdspfnOptions extends ToolBaseOptions {
|
|
|
1106
1183
|
readonly printerFile?: string | undefined;
|
|
1107
1184
|
/** Ambient light value in cd/m2. Maps to `+Ca`. */
|
|
1108
1185
|
readonly ambientLight?: number | undefined;
|
|
1186
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1187
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1109
1188
|
}
|
|
1110
1189
|
/** Result of a successful dcmdspfn operation. */
|
|
1111
1190
|
interface DcmdspfnResult {
|
|
@@ -1138,7 +1217,10 @@ declare function dcmdspfn(options?: DcmdspfnOptions): Promise<Result<DcmdspfnRes
|
|
|
1138
1217
|
*/
|
|
1139
1218
|
|
|
1140
1219
|
/** Options for {@link dcod2lum}. */
|
|
1141
|
-
|
|
1220
|
+
interface Dcod2lumOptions extends ToolBaseOptions {
|
|
1221
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1222
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1223
|
+
}
|
|
1142
1224
|
/** Result of a successful dcod2lum operation. */
|
|
1143
1225
|
interface Dcod2lumResult {
|
|
1144
1226
|
/** Path to the converted output file. */
|
|
@@ -1175,6 +1257,8 @@ declare function dcod2lum(inputPath: string, outputPath: string, options?: Dcod2
|
|
|
1175
1257
|
interface DconvlumOptions extends ToolBaseOptions {
|
|
1176
1258
|
/** Ambient light value in cd/m2. Maps to `+Ca`. */
|
|
1177
1259
|
readonly ambientLight?: number | undefined;
|
|
1260
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1261
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1178
1262
|
}
|
|
1179
1263
|
/** Result of a successful dconvlum operation. */
|
|
1180
1264
|
interface DconvlumResult {
|
|
@@ -1220,6 +1304,20 @@ interface EchoscuOptions extends ToolBaseOptions {
|
|
|
1220
1304
|
readonly callingAETitle?: string | undefined;
|
|
1221
1305
|
/** Called AE Title. */
|
|
1222
1306
|
readonly calledAETitle?: string | undefined;
|
|
1307
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1308
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1309
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1310
|
+
readonly maxPduReceive?: number | undefined;
|
|
1311
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1312
|
+
readonly maxPduSend?: number | undefined;
|
|
1313
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1314
|
+
readonly associationTimeout?: number | undefined;
|
|
1315
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1316
|
+
readonly acseTimeout?: number | undefined;
|
|
1317
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1318
|
+
readonly dimseTimeout?: number | undefined;
|
|
1319
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1320
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1223
1321
|
}
|
|
1224
1322
|
/** Result of a successful C-ECHO. */
|
|
1225
1323
|
interface EchoscuResult {
|
|
@@ -1266,11 +1364,29 @@ interface DcmsendOptions extends ToolBaseOptions {
|
|
|
1266
1364
|
readonly calledAETitle?: string | undefined;
|
|
1267
1365
|
/** Scan input directory recursively for DICOM files. Defaults to false. */
|
|
1268
1366
|
readonly scanDirectory?: boolean | undefined;
|
|
1367
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1368
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1369
|
+
/** Disable UID validity checking. Maps to `--no-uid-checks`. */
|
|
1370
|
+
readonly noUidChecks?: boolean | undefined;
|
|
1371
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1372
|
+
readonly maxPduReceive?: number | undefined;
|
|
1373
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1374
|
+
readonly maxPduSend?: number | undefined;
|
|
1375
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1376
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1377
|
+
/** Association timeout in seconds (positive integer). Maps to `-to`. */
|
|
1378
|
+
readonly associationTimeout?: number | undefined;
|
|
1379
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1380
|
+
readonly acseTimeout?: number | undefined;
|
|
1381
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1382
|
+
readonly dimseTimeout?: number | undefined;
|
|
1269
1383
|
}
|
|
1270
1384
|
/** Result of a successful C-STORE send. */
|
|
1271
1385
|
interface DcmsendResult {
|
|
1272
1386
|
/** Whether the send completed successfully. */
|
|
1273
1387
|
readonly success: boolean;
|
|
1388
|
+
/** Raw stdout output. */
|
|
1389
|
+
readonly stdout: string;
|
|
1274
1390
|
/** Raw stderr output for diagnostic info. */
|
|
1275
1391
|
readonly stderr: string;
|
|
1276
1392
|
}
|
|
@@ -1337,6 +1453,22 @@ interface StorescuOptions extends ToolBaseOptions {
|
|
|
1337
1453
|
readonly recurse?: boolean | undefined;
|
|
1338
1454
|
/** Proposed transfer syntax for the association. */
|
|
1339
1455
|
readonly proposedTransferSyntax?: ProposedTransferSyntaxValue | undefined;
|
|
1456
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1457
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1458
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1459
|
+
readonly maxPduReceive?: number | undefined;
|
|
1460
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1461
|
+
readonly maxPduSend?: number | undefined;
|
|
1462
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1463
|
+
readonly associationTimeout?: number | undefined;
|
|
1464
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1465
|
+
readonly acseTimeout?: number | undefined;
|
|
1466
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1467
|
+
readonly dimseTimeout?: number | undefined;
|
|
1468
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1469
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1470
|
+
/** Disable UID validity checking. Maps to `--no-uid-checks`. */
|
|
1471
|
+
readonly noUidChecks?: boolean | undefined;
|
|
1340
1472
|
}
|
|
1341
1473
|
/** Result of a successful C-STORE send. */
|
|
1342
1474
|
interface StorescuResult {
|
|
@@ -1401,6 +1533,20 @@ interface FindscuOptions extends ToolBaseOptions {
|
|
|
1401
1533
|
readonly extract?: boolean | undefined;
|
|
1402
1534
|
/** Output directory for extracted response files (requires extract). */
|
|
1403
1535
|
readonly outputDirectory?: string | undefined;
|
|
1536
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1537
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1538
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1539
|
+
readonly maxPduReceive?: number | undefined;
|
|
1540
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1541
|
+
readonly maxPduSend?: number | undefined;
|
|
1542
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1543
|
+
readonly associationTimeout?: number | undefined;
|
|
1544
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1545
|
+
readonly acseTimeout?: number | undefined;
|
|
1546
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1547
|
+
readonly dimseTimeout?: number | undefined;
|
|
1548
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1549
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1404
1550
|
}
|
|
1405
1551
|
/** Result of a successful C-FIND query. */
|
|
1406
1552
|
interface FindscuResult {
|
|
@@ -1464,6 +1610,20 @@ interface MovescuOptions extends ToolBaseOptions {
|
|
|
1464
1610
|
readonly moveDestination?: string | undefined;
|
|
1465
1611
|
/** Output directory for retrieved files (maps to -od). */
|
|
1466
1612
|
readonly outputDirectory?: string | undefined;
|
|
1613
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1614
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1615
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1616
|
+
readonly maxPduReceive?: number | undefined;
|
|
1617
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1618
|
+
readonly maxPduSend?: number | undefined;
|
|
1619
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1620
|
+
readonly associationTimeout?: number | undefined;
|
|
1621
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1622
|
+
readonly acseTimeout?: number | undefined;
|
|
1623
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1624
|
+
readonly dimseTimeout?: number | undefined;
|
|
1625
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1626
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1467
1627
|
}
|
|
1468
1628
|
/** Result of a successful C-MOVE retrieval. */
|
|
1469
1629
|
interface MovescuResult {
|
|
@@ -1526,6 +1686,20 @@ interface GetscuOptions extends ToolBaseOptions {
|
|
|
1526
1686
|
readonly keys?: readonly string[] | undefined;
|
|
1527
1687
|
/** Output directory for retrieved files (maps to -od). */
|
|
1528
1688
|
readonly outputDirectory?: string | undefined;
|
|
1689
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1690
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1691
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1692
|
+
readonly maxPduReceive?: number | undefined;
|
|
1693
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1694
|
+
readonly maxPduSend?: number | undefined;
|
|
1695
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1696
|
+
readonly associationTimeout?: number | undefined;
|
|
1697
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1698
|
+
readonly acseTimeout?: number | undefined;
|
|
1699
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1700
|
+
readonly dimseTimeout?: number | undefined;
|
|
1701
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1702
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1529
1703
|
}
|
|
1530
1704
|
/** Result of a successful C-GET retrieval. */
|
|
1531
1705
|
interface GetscuResult {
|
|
@@ -1575,6 +1749,20 @@ interface TermscuOptions extends ToolBaseOptions {
|
|
|
1575
1749
|
readonly callingAETitle?: string | undefined;
|
|
1576
1750
|
/** Called AE Title. */
|
|
1577
1751
|
readonly calledAETitle?: string | undefined;
|
|
1752
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1753
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1754
|
+
/** Maximum receive PDU size in bytes (4096–131072). Maps to `--max-pdu`. */
|
|
1755
|
+
readonly maxPduReceive?: number | undefined;
|
|
1756
|
+
/** Maximum send PDU size in bytes (4096–131072). Maps to `--max-send-pdu`. */
|
|
1757
|
+
readonly maxPduSend?: number | undefined;
|
|
1758
|
+
/** Association/TCP connection timeout in seconds. Maps to `-to`. */
|
|
1759
|
+
readonly associationTimeout?: number | undefined;
|
|
1760
|
+
/** ACSE timeout in seconds. Maps to `-ta`. */
|
|
1761
|
+
readonly acseTimeout?: number | undefined;
|
|
1762
|
+
/** DIMSE timeout in seconds. Maps to `-td`. */
|
|
1763
|
+
readonly dimseTimeout?: number | undefined;
|
|
1764
|
+
/** Disable hostname lookup for incoming associations. Maps to `-nh`. */
|
|
1765
|
+
readonly noHostnameLookup?: boolean | undefined;
|
|
1578
1766
|
}
|
|
1579
1767
|
/** Result of a successful termscu operation. */
|
|
1580
1768
|
interface TermscuResult {
|
|
@@ -1613,6 +1801,10 @@ interface DsrdumpOptions extends ToolBaseOptions {
|
|
|
1613
1801
|
readonly printLong?: boolean | undefined;
|
|
1614
1802
|
/** Print concept name codes. Maps to +Pc. Defaults to false. */
|
|
1615
1803
|
readonly printCodes?: boolean | undefined;
|
|
1804
|
+
/** Assume the specified character set for the input file. Maps to `+Ca`. */
|
|
1805
|
+
readonly charsetAssume?: string | undefined;
|
|
1806
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1807
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1616
1808
|
}
|
|
1617
1809
|
/** Result of a successful dsrdump operation. */
|
|
1618
1810
|
interface DsrdumpResult {
|
|
@@ -1648,6 +1840,10 @@ interface Dsr2xmlOptions extends ToolBaseOptions {
|
|
|
1648
1840
|
readonly useNamespace?: boolean | undefined;
|
|
1649
1841
|
/** Add XML Schema reference. Maps to +Xs. Defaults to false. */
|
|
1650
1842
|
readonly addSchemaRef?: boolean | undefined;
|
|
1843
|
+
/** Assume the specified character set for the input file. Maps to `+Ca`. */
|
|
1844
|
+
readonly charsetAssume?: string | undefined;
|
|
1845
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1846
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1651
1847
|
}
|
|
1652
1848
|
/** Result of a successful dsr2xml conversion. */
|
|
1653
1849
|
interface Dsr2xmlResult {
|
|
@@ -1683,6 +1879,8 @@ interface Xml2dsrOptions extends ToolBaseOptions {
|
|
|
1683
1879
|
readonly generateNewUIDs?: boolean | undefined;
|
|
1684
1880
|
/** Validate the SR document. Maps to +Vd. Defaults to false. */
|
|
1685
1881
|
readonly validateDocument?: boolean | undefined;
|
|
1882
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1883
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1686
1884
|
}
|
|
1687
1885
|
/** Result of a successful xml2dsr conversion. */
|
|
1688
1886
|
interface Xml2dsrResult {
|
|
@@ -1719,6 +1917,8 @@ declare function xml2dsr(inputPath: string, outputPath: string, options?: Xml2ds
|
|
|
1719
1917
|
interface DrtdumpOptions extends ToolBaseOptions {
|
|
1720
1918
|
/** Print filename for each document. Maps to +Pf. Defaults to false. */
|
|
1721
1919
|
readonly printFilename?: boolean | undefined;
|
|
1920
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1921
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1722
1922
|
}
|
|
1723
1923
|
/** Result of a successful drtdump operation. */
|
|
1724
1924
|
interface DrtdumpResult {
|
|
@@ -1752,7 +1952,10 @@ declare function drtdump(inputPath: string, options?: DrtdumpOptions): Promise<R
|
|
|
1752
1952
|
*/
|
|
1753
1953
|
|
|
1754
1954
|
/** Options for {@link dcmpsmk}. */
|
|
1755
|
-
|
|
1955
|
+
interface DcmpsmkOptions extends ToolBaseOptions {
|
|
1956
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1957
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1958
|
+
}
|
|
1756
1959
|
/** Result of a successful dcmpsmk operation. */
|
|
1757
1960
|
interface DcmpsmkResult {
|
|
1758
1961
|
/** Path to the created presentation state file. */
|
|
@@ -1786,7 +1989,10 @@ declare function dcmpsmk(inputPath: string, outputPath: string, options?: Dcmpsm
|
|
|
1786
1989
|
*/
|
|
1787
1990
|
|
|
1788
1991
|
/** Options for {@link dcmpschk}. */
|
|
1789
|
-
|
|
1992
|
+
interface DcmpschkOptions extends ToolBaseOptions {
|
|
1993
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
1994
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1995
|
+
}
|
|
1790
1996
|
/** Result of a successful dcmpschk operation. */
|
|
1791
1997
|
interface DcmpschkResult {
|
|
1792
1998
|
/** The text output from dcmpschk. */
|
|
@@ -1827,6 +2033,8 @@ interface DcmprscuOptions extends ToolBaseOptions {
|
|
|
1827
2033
|
readonly calledAETitle?: string | undefined;
|
|
1828
2034
|
/** Path to a configuration file. Maps to -c flag. */
|
|
1829
2035
|
readonly configFile?: string | undefined;
|
|
2036
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
2037
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1830
2038
|
}
|
|
1831
2039
|
/** Result of a successful dcmprscu operation. */
|
|
1832
2040
|
interface DcmprscuResult {
|
|
@@ -1866,6 +2074,8 @@ declare function dcmprscu(options: DcmprscuOptions): Promise<Result<DcmprscuResu
|
|
|
1866
2074
|
interface DcmpsprtOptions extends ToolBaseOptions {
|
|
1867
2075
|
/** Path to a configuration file. Maps to -c flag. */
|
|
1868
2076
|
readonly configFile?: string | undefined;
|
|
2077
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
2078
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1869
2079
|
}
|
|
1870
2080
|
/** Result of a successful dcmpsprt operation. */
|
|
1871
2081
|
interface DcmpsprtResult {
|
|
@@ -1903,6 +2113,8 @@ interface Dcmp2pgmOptions extends ToolBaseOptions {
|
|
|
1903
2113
|
readonly presentationState?: string | undefined;
|
|
1904
2114
|
/** Frame number to render (0-based). Maps to -f flag. */
|
|
1905
2115
|
readonly frame?: number | undefined;
|
|
2116
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
2117
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1906
2118
|
}
|
|
1907
2119
|
/** Result of a successful dcmp2pgm operation. */
|
|
1908
2120
|
interface Dcmp2pgmResult {
|
|
@@ -1938,6 +2150,8 @@ declare function dcmp2pgm(inputPath: string, outputPath: string, options?: Dcmp2
|
|
|
1938
2150
|
|
|
1939
2151
|
/** Options for {@link dcmmkcrv}. */
|
|
1940
2152
|
interface DcmmkcrvOptions extends ToolBaseOptions {
|
|
2153
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
2154
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1941
2155
|
}
|
|
1942
2156
|
/** Result of a successful dcmmkcrv operation. */
|
|
1943
2157
|
interface DcmmkcrvResult {
|
|
@@ -1990,6 +2204,8 @@ interface DcmmklutOptions extends ToolBaseOptions {
|
|
|
1990
2204
|
readonly entries?: number | undefined;
|
|
1991
2205
|
/** Number of bits per LUT entry (8-16). Maps to -b flag. */
|
|
1992
2206
|
readonly bits?: number | undefined;
|
|
2207
|
+
/** Verbosity level for diagnostic output. `'verbose'` maps to `-v`, `'debug'` maps to `-d`. */
|
|
2208
|
+
readonly verbosity?: 'verbose' | 'debug' | undefined;
|
|
1993
2209
|
}
|
|
1994
2210
|
/** Result of a successful dcmmklut operation. */
|
|
1995
2211
|
interface DcmmklutResult {
|