public override LearningImage BackProject(LearningImage image) { int step = FrameIn.Height; int height = image.Height * step; int width = image.Width * step; LearningImage backed = new LearningImage(height, width, image.Plane); for (int h = 0; h < height; h++) { for (int w = 0; w < width; w++) { var p = image.GetPlane((double)h / (double)step, (double)w / (double)step); backed.SetPlane(h, w, p); } } return backed; }