Exemple #1
0
 public MatrixBox(BitmapImage image, MatrixImage matrix_image, int rows, int cols)
 {
     this.image        = image;
     this.rows         = rows;
     this.cols         = cols;
     this.matrix_image = matrix_image;
     matrix            = new Box[rows, cols];
 }
Exemple #2
0
 public MatrixBox(BitmapImage image, int rows, int cols)
 {
     this.image   = image;
     this.rows    = rows;
     this.cols    = cols;
     matrix_image = new MatrixImage(image, rows, cols);
     matrix_image.Split();
     matrix = new Box[rows, cols];
 }