ThermalSequencePlayer Class |
Namespace: Flir.Atlas.Image.Playback
public class ThermalSequencePlayer : IDisposable
The ThermalSequencePlayer type exposes the following members.
Name | Description | |
---|---|---|
ThermalSequencePlayer |
Construction of ThermalSequencePlayer.
|
Name | Description | |
---|---|---|
Count |
Gets the number of frames.
| |
Dispose | Releases all resources used by the ThermalSequencePlayer | |
End |
Move to the last image in the sequence.
| |
Equals | (Inherited from Object.) | |
First |
Move to the first image in the sequence.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Next |
Move to the next frame.
| |
Pause |
Pause the playback thread.
| |
Play |
Plays the sequence file with the selected frame rate, FrameRate.
| |
Previous |
Move to the previous frame.
| |
Stop |
Stop the playback thread.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Duration |
Duration of the recording.
| |
FrameRate |
Frames per second. Playback speed used in Play, Play.
| |
Loop |
Continue playing the sequence from start after the end is reached.
| |
SelectedIndex |
Gets and sets the selected zero based index.
| |
Status |
Status of the Playback thread.
| |
ThermalImage |
The ThermalImage.
|
Name | Description | |
---|---|---|
SelectedIndexChanged |
This event is fired when the selection has changed.
| |
StatusChanged |
This event is fired when the playback status has changed.
|
using Flir.Atlas.Image; //Open a sequence file var file1 = new ThermalImageFile(file); ThermalSequencePlayer image = file1.ThermalSequencePlayer; //check number of frames in the file int i = image.Count(); // move to frame 10 image.SelectedIndex = 10; //start playing (default frame rate 25 fps) image.Play(); while (image.SelectedIndex < 300) { // get the image from the current frame Bitmap im = image.ThermalImage.Image; } image.Stop();