@abasb75/dicom-parser 0.0.6-test → 0.0.21

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.
@@ -1,17 +0,0 @@
1
- declare const TransferSyntaxEnums: {
2
- TRANSFER_SYNTAX_IMPLICIT_LITTLE: string;
3
- TRANSFER_SYNTAX_EXPLICIT_LITTLE: string;
4
- TRANSFER_SYNTAX_EXPLICIT_BIG: string;
5
- TRANSFER_SYNTAX_COMPRESSION_JPEG: string;
6
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LOSSLESS: string;
7
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LOSSLESS_SEL1: string;
8
- TRANSFER_SYNTAX_COMPRESSION_JPEG_BASELINE_8BIT: string;
9
- TRANSFER_SYNTAX_COMPRESSION_JPEG_BASELINE_12BIT: string;
10
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LS_LOSSLESS: string;
11
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LS: string;
12
- TRANSFER_SYNTAX_COMPRESSION_JPEG_2000_LOSSLESS: string;
13
- TRANSFER_SYNTAX_COMPRESSION_JPEG_2000: string;
14
- TRANSFER_SYNTAX_COMPRESSION_RLE: string;
15
- TRANSFER_SYNTAX_COMPRESSION_DEFLATE: string;
16
- };
17
- export default TransferSyntaxEnums;
@@ -1,17 +0,0 @@
1
- const TransferSyntaxEnums = {
2
- TRANSFER_SYNTAX_IMPLICIT_LITTLE: "1.2.840.10008.1.2",
3
- TRANSFER_SYNTAX_EXPLICIT_LITTLE: "1.2.840.10008.1.2.1",
4
- TRANSFER_SYNTAX_EXPLICIT_BIG: "1.2.840.10008.1.2.2",
5
- TRANSFER_SYNTAX_COMPRESSION_JPEG: "1.2.840.10008.1.2.4",
6
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LOSSLESS: "1.2.840.10008.1.2.4.57",
7
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LOSSLESS_SEL1: "1.2.840.10008.1.2.4.70",
8
- TRANSFER_SYNTAX_COMPRESSION_JPEG_BASELINE_8BIT: "1.2.840.10008.1.2.4.50",
9
- TRANSFER_SYNTAX_COMPRESSION_JPEG_BASELINE_12BIT: "1.2.840.10008.1.2.4.51",
10
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LS_LOSSLESS: "1.2.840.10008.1.2.4.80",
11
- TRANSFER_SYNTAX_COMPRESSION_JPEG_LS: "1.2.840.10008.1.2.4.81",
12
- TRANSFER_SYNTAX_COMPRESSION_JPEG_2000_LOSSLESS: "1.2.840.10008.1.2.4.90",
13
- TRANSFER_SYNTAX_COMPRESSION_JPEG_2000: "1.2.840.10008.1.2.4.91",
14
- TRANSFER_SYNTAX_COMPRESSION_RLE: "1.2.840.10008.1.2.5",
15
- TRANSFER_SYNTAX_COMPRESSION_DEFLATE: "1.2.840.10008.1.2.1.99",
16
- };
17
- export default TransferSyntaxEnums;
@@ -1,2 +0,0 @@
1
- declare const ValueRepresentationsEnums: {};
2
- export default ValueRepresentationsEnums;
@@ -1,2 +0,0 @@
1
- const ValueRepresentationsEnums = {};
2
- export default ValueRepresentationsEnums;
package/enums/index.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { TagsDictionaryEnumsType } from "./TagsDictionary";
2
- interface IEnums {
3
- TransferSyntax: {
4
- [key: string]: string;
5
- };
6
- TagsDictionary: TagsDictionaryEnumsType;
7
- ValueRepresentations: {
8
- [key: string]: string;
9
- };
10
- }
11
- declare const AppEnums: IEnums;
12
- export default AppEnums;
package/enums/index.js DELETED
@@ -1,9 +0,0 @@
1
- import TransferSyntax from "./TransferSyntax";
2
- import TagsDictionary from "./TagsDictionary";
3
- import ValueRepresentations from "./ValueRepresentations";
4
- const AppEnums = {
5
- TransferSyntax,
6
- TagsDictionary,
7
- ValueRepresentations,
8
- };
9
- export default AppEnums;
package/index.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import Dataset from "./Dataset";
2
- export declare function loadAndParseFromUrl(url: string): Promise<Dataset>;
3
- export declare function loadAndParseFromFiles(file: File): Promise<Dataset>;
4
- export declare function parse(dicomBuffer: ArrayBuffer): Dataset | undefined;
5
- declare const _default: {
6
- parse: typeof parse;
7
- loadAndParseFromFiles: typeof loadAndParseFromFiles;
8
- loadAndParseFromUrl: typeof loadAndParseFromUrl;
9
- };
10
- export default _default;
package/index.js DELETED
@@ -1,48 +0,0 @@
1
- import Loader from "./Loader";
2
- import Parser from "./Parser";
3
- export function loadAndParseFromUrl(url) {
4
- return new Promise((resolve, reject) => {
5
- const loader = new Loader();
6
- loader.load(url).then((dicomBuffer) => {
7
- if (!dicomBuffer) {
8
- reject('Error on loading file!');
9
- return;
10
- }
11
- const parser = new Parser(dicomBuffer);
12
- const dataset = parser.getDataset();
13
- if (!dataset) {
14
- reject('Error on parsing data');
15
- return;
16
- }
17
- resolve(dataset);
18
- });
19
- });
20
- }
21
- export function loadAndParseFromFiles(file) {
22
- return new Promise((resolve, reject) => {
23
- const loader = new Loader();
24
- loader.load(file).then((dicomBuffer) => {
25
- if (!dicomBuffer) {
26
- reject('Error on loading file!');
27
- return;
28
- }
29
- const parser = new Parser(dicomBuffer);
30
- const dataset = parser.getDataset();
31
- if (!dataset) {
32
- reject('Error on parsing data');
33
- return;
34
- }
35
- resolve(dataset);
36
- });
37
- });
38
- }
39
- export function parse(dicomBuffer) {
40
- const parser = new Parser(dicomBuffer);
41
- const dataset = parser.getDataset();
42
- return dataset;
43
- }
44
- export default {
45
- parse,
46
- loadAndParseFromFiles,
47
- loadAndParseFromUrl,
48
- };
@@ -1 +0,0 @@
1
- {"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2016.intl.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../lib/enums/TagsDictionary.ts","../lib/Tag.ts","../lib/types.ts","../lib/Utitlities.ts","../lib/Draw.ts","../lib/decoder/JPEG2000.ts","../lib/decoder/Uncompressed.ts","../lib/PixelData.ts","../lib/Value.ts","../lib/Dataset.ts","../lib/Loader.ts","../node_modules/@types/pako/index.d.ts","../lib/Parser.ts","../lib/index.ts","../lib/decoder/decodes/jpx.ts","../lib/enums/TransferSyntax.ts","../lib/enums/ValueRepresentations.ts","../lib/enums/index.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/estree/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/prop-types/index.d.ts","../node_modules/@types/react/global.d.ts","../node_modules/@types/react/index.d.ts","../node_modules/@types/react-dom/index.d.ts"],"fileIdsList":[[48,49,51,54,55],[49,50,56],[48,49,55,56,58],[52,53,56],[47],[49],[47,62,63],[56,57,59],[48,56],[65,66,67],[73],[71,72]],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"9e8ca8ed051c2697578c023d9c29d6df689a083561feba5c14aedee895853999","affectsGlobalScope":true,"impliedFormat":1},{"version":"69e65d976bf166ce4a9e6f6c18f94d2424bf116e90837ace179610dbccad9b42","affectsGlobalScope":true,"impliedFormat":1},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"45d8ccb3dfd57355eb29749919142d4321a0aa4df6acdfc54e30433d7176600a","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a94697425a99354df73d9c8291e2ecd4dddd370aed4023c2d6dee6cccb32666","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"e3f9fc0ec0b96a9e642f11eda09c0be83a61c7b336977f8b9fdb1e9788e925fe","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1a54cf04ef34193424ed4374da8b8300c3f05829fe02f21d00a8c9f2dda13965","signature":"b124ca3b0b6e48c7ae570631e8af5f9587cd0000865693dd1325cb3163d92e8f"},{"version":"7746e02e44db43052b746d21998931cfb9af842a9e54053f467cd48a041bb830","signature":"1509f37c18c1c390bc2f0a08511625572c613ad7e53bcca00e02016ecfea1ff3"},{"version":"687a3297f1acfffc06d75d0827c7998c6c3303a681eb8ff30323c89fdc35812b","signature":"f8ef27ef14f001fe01f7e6010dabd4920a83706a9758254e4d5735b814cb4043"},{"version":"11d43eca18ed5b9f9c95a1b8cb12ae743a067c64fc84c945427d5112d8320df8","signature":"32ffa9cb15a3f8e5f6e8e676f5b7ff8b91a516a68ff68ad0ea4a8373f0f165dd"},{"version":"025c0ed1b2e5384b6c6aa95db1200a7843a7b8147a0d4e9bb9bfc217e036ef07","signature":"337497e993d61a0e857d36e05960fa7ee760b99103dea76f9f44f7cd8b6848e8"},{"version":"1c94e9bb97121f53595f91bc25ca3554f978cc883201325f5e03e459d13c0443","signature":"d56f2e56e2b010984b5fdf9cc8d36165f2a8344f83a740ecb4064c5bff426909"},{"version":"9533e67ae7260a16cf3587714b973c512391d6901935b01f11cf922e69059334","signature":"31e48fa6d999f48c86bf6098b270d1f3e6103b873d90c003421e91909a9d78ed"},{"version":"9d9cbbcb26fe2aac0428a6678b6fa19c5318f11738037987360a93d74f84c9f3","signature":"ad9b6d143dbd163448180f69fcb013f031b8a458e574286acb936212f7112beb"},{"version":"d73868e3b2525fd8e9d060ad7fb2e9a48769e392e8a1a0ddaa343fa2114547e5","signature":"fb73d8bf11deadc8420b5263b761cd72a2c479c1a5348e66ff0368fa7d046bf8"},{"version":"4aa184d1ff02d47f484139461fe242bc6e80b44c554c519cc559bef3f1d56aaf","signature":"d1bdde42c3c4aced65d1732f13880aec4958271c6f33f5c8abc14f5e512d2795"},{"version":"32f9f84ef917e854b4b034645f85a7e03a69548b0846a7dbb00a6b4801c8046f","signature":"7083058286797f935bc66ce1274db6767cfe3bdd675fdb199b695d01c36b8857"},{"version":"c634df3e1b52761b2a219edcc61d0a7f748cdc54b93d73bcb817619452a6388a","impliedFormat":1},{"version":"3b80de10a2a1b0707b4703db4f7b6076ee348782131d81e8fc36adbbcd7d4ed4","signature":"041705ec5f7b5f8a7ca8d2e81a466dff4a00a7898db988fbd9b481375d64d8c4"},{"version":"3aa25c0ae1cb6e6084a349e0a005dac5c575152aa0796dfa393bd445deef1887","signature":"44d6d909bc8629077cb14adc03ea3224c33cd013a841b04b88d2e0f485cae669"},{"version":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"c68e5454d34ab562a6c66c01c4cc0ff39fe0723eae7fa8c95ae971bcf210660a","signature":"0792e447fd7b9f38b2e024f0eff028360b349808f095ce1447e12630b7c51ba5"},{"version":"dd0a75aaecb752ffbcbdb9f3ba2f4e902c02116424eec0d7eff0f0f18da0ed51","signature":"20efc731db8ebf52d9aca41a6ba5b043f2892d1609a1a6d1dddfb3bc9d793195"},{"version":"d9165616db0fddaae02047917430126ea9ef81695f9b20ed301e6f0f9484a3f8","signature":"316a713040ee41af01a42db63819f6f529877e99471de6759d64ca9c8e64ea5f"},{"version":"2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050","impliedFormat":1},{"version":"670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","impliedFormat":1},{"version":"9e0cf651e8e2c5b9bebbabdff2f7c6f8cedd91b1d9afcc0a854cdff053a88f1b","impliedFormat":1},{"version":"069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","impliedFormat":1},{"version":"785b9d575b49124ce01b46f5b9402157c7611e6532effa562ac6aebec0074dfc","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"ed6b820c54de95b2510bb673490d61c7f2187f532a339d8d04981645a918961f","impliedFormat":1},{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa17748c522bd586f8712b1a308ea23af59c309b2fd278f6d4f406647c72e659","affectsGlobalScope":true,"impliedFormat":1},{"version":"17ed71200119e86ccef2d96b73b02ce8854b76ad6bd21b5021d4269bec527b5f","impliedFormat":1}],"root":[[47,57],[59,64]],"options":{"allowImportingTsExtensions":false,"composite":true,"noFallthroughCasesInSwitch":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"strict":true,"target":2,"useDefineForClassFields":true},"referencedMap":[[56,1],[51,2],[59,3],[54,4],[48,5],[50,6],[52,6],[53,6],[64,7],[60,8],[49,9],[68,10],[74,11],[73,12]],"latestChangedDtsFile":"./enums/index.d.ts","version":"5.6.3"}
package/types.d.ts DELETED
@@ -1,60 +0,0 @@
1
- import Dataset from "./Dataset";
2
- import Tag from "./Tag";
3
- interface Tags {
4
- [key: string]: Tag;
5
- }
6
- interface DicomDate {
7
- year: string | number;
8
- month: string | number;
9
- day: string | number;
10
- }
11
- interface DicomTime {
12
- hour: string | number;
13
- minute: string | number;
14
- second: string | number;
15
- }
16
- interface DicomDateTime extends DicomDate, DicomTime {
17
- }
18
- type DicomDataset = Dataset;
19
- type PixelArray = Int16Array | Uint16Array | Int32Array | Uint32Array | Int8Array | Uint8Array | Float32Array;
20
- interface DicomVOILutModule {
21
- voiLUTFunction: string;
22
- windowWidth: number | undefined;
23
- windowCenter: number | undefined;
24
- voiLUTSequence: unknown;
25
- lutDescriptor: any;
26
- lutExplanation: any;
27
- lutData: any;
28
- windowCenterAndWidthExplanation: string;
29
- }
30
- interface DicomPatientModule {
31
- patientName: string;
32
- patientID: string;
33
- typeofPatientID: string;
34
- patientSex: string;
35
- patientBirthDate: string;
36
- patientAge: string;
37
- patientSize: string;
38
- otherPatientIDs: string;
39
- otherPatientNames: string;
40
- patientWeight: string;
41
- }
42
- interface DicomPixelModule {
43
- photometricInterpretation: string;
44
- numberOfFrames: number | undefined;
45
- pixelRepresentation: number | undefined;
46
- pixeSpacing: any | undefined;
47
- rows: number | number | undefined;
48
- columns: number | number | undefined;
49
- bitsAllocated: number | undefined;
50
- highBit: number | undefined;
51
- bitsStored: number | undefined;
52
- samplesPerPixel: number | undefined;
53
- }
54
- interface PixelDataDecodeOptions {
55
- pixelData: DataView;
56
- bitsAllocated: number;
57
- pixelRepresentation: number;
58
- littleEndian: boolean;
59
- }
60
- export type { Tags, DicomTime, DicomDate, DicomDateTime, DicomDataset, DicomVOILutModule, DicomPatientModule, DicomPixelModule, PixelArray, PixelDataDecodeOptions, };
package/types.js DELETED
@@ -1 +0,0 @@
1
- export {};