Esempio n. 1
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     var r = from pix in photograph.AllPixels select pix.Value;
     HotellingTransform transform = new HotellingTransform(r);
     transform.Transform(r.ElementAt(0));
     var builder = new CovarianceBuilder(photograph);
     Matrix covariance = builder.Create();
     EigenvalueDecomposition eigen = covariance.EigenvalueDecomposition;
     Complex[] eigenValues = eigen.EigenValues;
     Matrix eigenVectors = eigen.EigenVectors;
 }
Esempio n. 2
0
        private void btnNext_Click(object sender, EventArgs e)
        {
            var r = from pix in photograph.AllPixels select pix.Value;
            HotellingTransform transform = new HotellingTransform(r);

            transform.Transform(r.ElementAt(0));
            var    builder                = new CovarianceBuilder(photograph);
            Matrix covariance             = builder.Create();
            EigenvalueDecomposition eigen = covariance.EigenvalueDecomposition;

            Complex[] eigenValues  = eigen.EigenValues;
            Matrix    eigenVectors = eigen.EigenVectors;
        }