static void Main(string[] args) { GrayscaleFloatImage input_image = ImageIO.FileToGrayscaleFloatImage(args[0]); input_image = ExtendedRD(input_image, 4); //input_image = temp_func(input_image, 2); ImageIO.ImageToFile(input_image, args[2]); }
public float[] Load_Image(string path) { GrayscaleFloatImage image = ImageIO.FileToGrayscaleFloatImage(path); return(image.rawdata); }