This example demonstrates how to use the AWS HealthImaging (AHI) Pixel Data Verification feature to ensure the image you decoded matches the original DICOM P10 Image.
This example is written in JavaScript and uses NodeJS. It depends on the following libraries:
- Check out the project.
- Change the current directory to this project:
cd pixel-data-verification
- Install dependencies:
npm install
- Create a datastore as per the AHLI developer guide.
- Import the DICOM file
test/fixtures/CT1_UNC
as per the AHLI developer guide. - Retrieve the ImageSetId from the job output manifest file in S3.
- Run this tool passing in your datastore (from step 1), ImageSetId (from step 3), and series and SOP instance UIDs listed below.
$ node index.js $DATASTOREID $IMAGESETID 1.3.6.1.4.1.5962.1.3.1.1.20040826185059.5457 1.3.6.1.4.1.5962.1.1.1.1.1.20040826185059.5457
CRC32 match!