static void MainForGiraffeAdjustSave()
        {
            ShapeModel model = ShapeModel.LoadFromFile(@"C:\segmentation-with-shape-priors\Data\giraffes\giraffe_learned_pre.shp");

            // Edge
            model.GetMutableEdgeParams(0).WidthToEdgeLengthRatioDeviation = WeightToDeviation(1.819928);
            model.GetMutableEdgeParams(1).WidthToEdgeLengthRatioDeviation = WeightToDeviation(0.586110);
            model.GetMutableEdgeParams(2).WidthToEdgeLengthRatioDeviation = WeightToDeviation(0.249062);
            model.GetMutableEdgeParams(3).WidthToEdgeLengthRatioDeviation = WeightToDeviation(0.673922);
            model.GetMutableEdgeParams(4).WidthToEdgeLengthRatioDeviation = WeightToDeviation(0.541160);

            // Edge pair
            model.GetMutableEdgePairParams(0, 1).AngleDeviation      = WeightToDeviation(1.311689);
            model.GetMutableEdgePairParams(0, 1).LengthDiffDeviation = WeightToDeviation(0.001267);
            model.GetMutableEdgePairParams(0, 2).AngleDeviation      = WeightToDeviation(3.032988);
            model.GetMutableEdgePairParams(0, 2).LengthDiffDeviation = WeightToDeviation(0);
            model.GetMutableEdgePairParams(0, 3).AngleDeviation      = WeightToDeviation(0);
            model.GetMutableEdgePairParams(0, 3).LengthDiffDeviation = WeightToDeviation(0);
            model.GetMutableEdgePairParams(2, 4).AngleDeviation      = WeightToDeviation(0.985037);
            model.GetMutableEdgePairParams(2, 4).LengthDiffDeviation = WeightToDeviation(0);

            model.SaveToFile(@"C:\segmentation-with-shape-priors\Data\giraffes\giraffe_learned.shp");
        }