在HDevelop中 dev_close_window () read_image (Image, 'D:/bb/tu/1.jpg') rgb1_to_gray (Image, GrayImage) prewitt_amp (GrayImage, ImageEdgeAmp) *计算边