コード例 #1
0
ファイル: ImagePixel.cs プロジェクト: hpavlov/occurec
 public ImagePixel(ImagePixel clone)
     : this(clone.Brightness, clone.XDouble, clone.YDouble)
 {
 }
コード例 #2
0
        internal void LoadFromNativeData(NativeTrackedObjectInfo trackingInfo, NativePsfFitInfo psfInfo, double[] residuals)
        {
            Center = new ImagePixel(trackingInfo.CenterX, trackingInfo.CenterY);
            LastKnownGoodPosition = new ImagePixel(trackingInfo.LastGoodPositionX, trackingInfo.LastGoodPositionY);
            IsLocated = trackingInfo.IsLocated == 1;
            IsOffScreen = trackingInfo.IsOffScreen == 1;
            m_TrackingFlags = trackingInfo.TrackingFlags;

            m_NativePsfFit.LoadFromNativePsfFitInfo(psfInfo, residuals);
        }