The next two examples demonstrate how the API can be used to load the original DICOM series, or split the DICOM series into separate
sub-series for building an MPR view or 3D volume if desired. These example loads the DICOM series found in separates 2D
Fovia.UI.HTMLViewport2D viewports.
This example loads the three DICOM series, each in their own viewport.
Click to view the source /foviaserver/public/apps/hellofovia/dicomsplit.js
To run the example, click on the local link of http://localhost:8088/apps/hellofovia/dicomsplit.html?study=/fovia/data/democases/HEART_CT
When passing in the URL parameter split=true, the second series is split into two separate sub-series. The 142 images (instance numbers 2 through 143), followed by the scout
in a separate sub-series. The application logic uses the scanDirResults object and its helper function returned from the
scanDICOMDir method.
There is one final parameter that can be passed into the URL splitByImage=true, and to
scanDICOMDir method, this may be useful when an unconditional splitting
is needed for CR, DR, DX, or MG modalities, where each image will be represented by a separate Fovia.SeriesDataContext.
Click to view the source /foviaserver/public/apps/hellofovia/dicomsplit.js
To run the example, click on the local link of http://localhost:8088/apps/hellofovia/dicomsplit.html?study=/fovia/data/democases/HEART_CT&split=true
DICOM Series Splitting
The next two examples demonstrate how the API can be used to load the original DICOM series, or split the DICOM series into separate sub-series for building an MPR view or 3D volume if desired. These example loads the DICOM series found in separates 2D Fovia.UI.HTMLViewport2D viewports.
To better illustrate this functionality, use the HEART_CT dataset available for download from: http://www.fovia.com/bdtransfer/builds/websdk_democases.zip and placed inside the /fovia/data/democases directory.
This example loads the three DICOM series, each in their own viewport.
Click to view the source /foviaserver/public/apps/hellofovia/dicomsplit.js To run the example, click on the local link of http://localhost:8088/apps/hellofovia/dicomsplit.html?study=/fovia/data/democases/HEART_CT
When passing in the URL parameter split=true, the second series is split into two separate sub-series. The 142 images (instance numbers 2 through 143), followed by the scout in a separate sub-series. The application logic uses the scanDirResults object and its helper function returned from the scanDICOMDir method.
There is one final parameter that can be passed into the URL splitByImage=true, and to scanDICOMDir method, this may be useful when an unconditional splitting is needed for CR, DR, DX, or MG modalities, where each image will be represented by a separate Fovia.SeriesDataContext.
Click to view the source /foviaserver/public/apps/hellofovia/dicomsplit.js To run the example, click on the local link of http://localhost:8088/apps/hellofovia/dicomsplit.html?study=/fovia/data/democases/HEART_CT&split=true