←Select platform

SortUsingCriteria Method

Summary

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

Syntax
C#
C++/CLI

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.