123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using bbiwarg.Images;
- using bbiwarg.Recognition.FingerRecognition;
- using bbiwarg.Recognition.HandRecognition;
- using bbiwarg.Recognition.PalmRecognition;
- using bbiwarg.Recognition.TouchRecognition;
- using bbiwarg.Utility;
- namespace bbiwarg.Input.InputHandling
- {
- /// <summary>
- /// Data class which holds all data read an generated for one frame.
- /// </summary>
- public class FrameData
- {
- /// <summary>
- /// the id of the frame
- /// </summary>
- public int FrameID { get; set; }
- /// <summary>
- /// the size of all the images
- /// </summary>
- public ImageSize ImageSize { get; set; }
- /// <summary>
- /// set iff the input source is a movie which is in the first frame again
- /// </summary>
- public bool ResetFlag { get; set; }
- /// <summary>
- /// the depth image read in this frame
- /// </summary>
- public DepthImage DepthImage { get; set; }
- /// <summary>
- /// the edge image created in this frame
- /// </summary>
- public EdgeImage EdgeImage { get; set; }
- /// <summary>
- /// the confidence image read in this frame
- /// </summary>
- public ConfidenceImage ConfidenceImage { get; set; }
- /// <summary>
- /// a list of fingers detected in this frame
- /// </summary>
- public List<Finger> DetectedFingers { get; set; }
- /// <summary>
- /// a list of fingers which are tracked in this frame
- /// </summary>
- public List<Finger> TrackedFingers { get; set; }
-
- /// <summary>
- /// a list of hands detected in this frame
- /// </summary>
- public List<Hand> DetectedHands { get; set; }
- /// <summary>
- /// a list of hands which are tracked in this frame
- /// </summary>
- public List<Hand> TrackedHands { get; set; }
-
- /// <summary>
- /// a list of plams detected in this frame
- /// </summary>
- public List<Palm> DetectedPalms { get; set; }
- /// <summary>
- /// a list of plams which are tracked in this frame
- /// </summary>
- public List<Palm> TrackedPalms { get; set; }
-
- /// <summary>
- /// a list of <see cref="Touch"/> objects detected in this frame
- /// </summary>
- public List<Touch> DetectedTouches { get; set; }
- /// <summary>
- /// a list of <see cref="Touch"/> objects which are tracked in this frame
- /// </summary>
- public List<Touch> TrackedTouches { get; set; }
- /// <summary>
- /// a list of touch events generated in this frame
- /// </summary>
- public List<TouchEvent> TouchEvents { get; set; }
- }
- }
|