←Select platform

SortUsingCriteria Method

Summary

Sorts the input list of data based on the various values stored inside the data.

Syntax

C#
VB
C++
Public Function SortUsingCriteria( 
   ByVal inputList As List(Of DicomSortImageData 
), 
   ByVal sortCriteria As DicomSortCriteria, 
   ByVal separateCriteria As DicomSortSeparationCriteria) As Boolean 

Parameters

inputList

A list of DicomSortImageData that will be stored.

sortCriteria

The criteria to follow when sorting the frames.

separateCriteria

Determines which DICOM tag will be used to separate the input list into multiple lists.

Return Value

true if the sort is successful; otherwise, false.

Remarks
  • If sortCriteria is set to Acquisition time, then the method will sort the frames based on the AcquisitionTime data. Otherwise, the method will sort the list based on

    • Image position
    • Image orientation
    • Echo number
    • Instance number
    • Frame of reference UID

    For successful sorting, it is important to have the data properly filled in.

  • If the sort fails for any reason, it returns false.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly