コード例 #1
0
        public IEnumerable <WriteableBitmap> Build()
        {
            Image3DMatrix        imageMatrix          = _imageLoader.GetImageMatrix();
            TransformationMatrix transformationMatrix = GetTransformationMatrix(imageMatrix);

            imageMatrix = ApplyTransformationMatrix(imageMatrix, transformationMatrix);

            return(MatrixToBitmapImageConverter.GetImages(imageMatrix));
        }
コード例 #2
0
        /// <summary>
        /// Executes the image loading stack and applies transformations.
        /// Finally, the image matrix will be converted to a bitmap image.
        /// </summary>
        /// <returns></returns>
        public WriteableBitmap Build()
        {
            SetImageLoader();

            Image2DMatrix        imageMatrix          = _imageLoader.GetImageMatrix();
            TransformationMatrix transformationMatrix = GetTransformationMatrix(imageMatrix);

            imageMatrix = ApplyTransformationMatrix(imageMatrix, transformationMatrix);

            return(MatrixToBitmapImageConverter.GetImage(imageMatrix));
        }