Skip to content

Commit

Permalink
adding image level attributes to db and bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
knopkem committed Sep 28, 2020
1 parent b55bcc6 commit bd82265
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/storescp.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ addon.startScp(JSON.stringify(
"peers": [ // peers needed for C-MOVE destination
{
"aet": "CONQUESTSRV1",
"ip" : "RYZEN7",
"ip" : "127.0.0.1",
"port": "5678"
}
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dicom-dimse-native",
"version": "1.2.0",
"version": "1.2.1",
"description": "native addon using DCMTK dicom toolkit",
"main": "index.js",
"scripts": {
Expand Down
7 changes: 7 additions & 0 deletions src/dcmsqldb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,14 @@ namespace {
result.push_back(DB_FindAttrExt(DCM_PhotometricInterpretation, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_RescaleSlope, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_RescaleIntercept, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_SamplesPerPixel, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_PixelSpacing, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_BitsAllocated, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_BitsStored, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_HighBit, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_PixelRepresentation, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_ImagePositionPatient, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_ImageOrientationPatient, IMAGE_LEVEL, OPTIONAL_KEY));
result.push_back(DB_FindAttrExt(DCM_SOPClassUID, IMAGE_LEVEL, REQUIRED_KEY));
result.push_back(DB_FindAttrExt(DCM_PrivateFileName, IMAGE_LEVEL, OPTIONAL_KEY));
return result;
Expand Down

0 comments on commit bd82265

Please sign in to comment.