/// <summary>
        /// 骨の統計情報を記録しておく
        /// TODO : ボタンを使えなくしてしまえば良いのでは?
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void StoreBonesStatistics_Click(object sender, RoutedEventArgs e)
        {
            BodyStatistics      bodyStat = new BodyStatistics();
            IEnumerable <Frame> frames   = frameSequence.Slice(this.startIndex, this.endIndex);

            foreach (Frame frame in frames)
            {
                List <SerializableBody> bodies = frame.GetSelectedBodyList(this.frameSequence.selecteedIntegretedIdList);
                if (bodies.Count == 0)
                {
                    continue;
                }
                for (int no = 0; no < frame.recordNum; no++)
                {
                    bodyStat.StoreBoneLength(bodies[no].Joints);
                }
            }
            bodyStat.CalcMedianBoneRange();
            this.frameSequence.BodyStat = bodyStat;
            Utility.SaveToBinary(bodyStat.boneLengthSqStatistics, System.IO.Path.Combine(Environment.CurrentDirectory, @"StatData.dump"));
        }
 /// <summary>
 /// 骨の統計情報を記録しておく
 /// TODO : ボタンを使えなくしてしまえば良いのでは?
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void StoreBonesStatistics_Click(object sender, RoutedEventArgs e)
 {
     BodyStatistics bodyStat = new BodyStatistics();
     IEnumerable<Frame> frames = frameSequence.Slice(this.startIndex, this.endIndex);
     foreach (Frame frame in frames)
     {
         List<SerializableBody> bodies = frame.GetSelectedBodyList(this.frameSequence.selecteedIntegretedIdList);
         if (bodies.Count == 0)
         {
             continue;
         }
         for (int no = 0; no < frame.recordNum; no++)
         {
             bodyStat.StoreBoneLength(bodies[no].Joints);
         }
     }
     bodyStat.CalcMedianBoneRange();
     this.frameSequence.BodyStat = bodyStat;
     Utility.SaveToBinary(bodyStat.boneLengthSqStatistics, System.IO.Path.Combine(Environment.CurrentDirectory, @"StatData.dump"));
 }