The QTPlgDicomVideoPresentation class allows you to playback visual data retrieved from a .
Also, you can specify a set of graphics transformations and effects (brightness and contrast) to be applied to any frame before displaying it onto the screen (you can find more details about the available services consulting the documentation of the super class).
Finally, this class implements some additional properties and methods to deal with characteristics specific to dicom visual data representation
→ →
The QTPlgDicomVideoPresentation class constructors are called when you create a new instance of the class, while the ˜QTPlgDicomVideoPresentation class destructor, is called automatically when the class is no more in use. Also, you can invoke the class destructor by setting the instance of the class to nil.
Once a new class instance is returned, it is good practice to check the class property to be sure that the new object can be used. See the QTPlgDicomVideoPresentation’s validity conditions for more details.
The class provides you with the following initializer methods:
(dicomIcon as )
use this class constructor to setup a visual context to display the image data contained into the dicomIcon
class instance
(pixelDesc as ,
samplesTable as )
use this class constructor to setup a visual context to display the image data whose location is specified by the
samplesTable parameter. The characteristics of the image(s) to display are specified by the
pixelDesc parameter
this property, along with the class property,
specifies a linear conversion from stored pixel values to values to be displayed. Its value represents the input value that
is the center of the window. You can find more details about this topic consulting the Part 3 of the official
Dicom documentation
[Deprecated]: since version 6.5 of the plugin this property is deprecated
and will be removed from a future plugin version; use the
class property instead
this property, along with the class property,
specifies a linear conversion from stored pixel values to values to be displayed. Its value represents the width of
the window. The value of this property shall always be greater than or equal to 1. When this value
is greater than 1, these properties select the range of input values that are to be mapped to
the full range of the displayed output. When this value is equal to 1, they specify a threshold
below which input values will be displayed as the minimum output value. You can find more details about this topic
consulting the Part 3 of the official Dicom documentation
[Deprecated]: since version 6.5 of the plugin this property is deprecated
and will be removed from a future plugin version; use the
class property instead
this property specifies a linear conversion from stored pixel values to values to be displayed.
The
prpoperty represents the input value that is the center of the window. The
property represents the width of the window. The value of this property shall always be greater than or equal to
1. When this value
is greater than 1, these values select the range of input values that are to be mapped to
the full range of the displayed output. When this value is equal to 1, they specify a threshold
below which input values will be displayed as the minimum output value. You can find more details about this topic
consulting the Part 3 of the official Dicom documentation
returns the that
describes the attributes of the pixel data of the image
returns detailed informations about the location of the data samples stored within the DICOM document in use. Note that
the object is returned by reference
(dst as folderitem, timeRange as
)
use this method to simply wrap the source dicom data into the movie file specified by the dst
parameter; if the destination file already exists, the method deletes and replaces it with a new one.
You can determine if the entire presentation, or just a portion of it, has to be saved by setting the
timeRange parameter appropriately. If you pass nil into this parameter,
all of the presentation images are added to the new movie; otherwise, the method adds to the movie only the images falling into
the interval defined by the
and
properties of the
timeRange object
(p as ) as
double
use this method to retrieve the value of the data buffer corresponding to the coordinates specified by the p
parameter
(roi as ) as
use this method to retrieve the statistical values for the portion of the data buffer delimited by the parameter roi