圖像銳化算法

對3通道8位圖像銳化:算法 A.每一個通道的9宮格內的像素值進行Laplacian銳化,代碼以下:函數 void hello::LinearSharpen(unsigned char* lpImage, int nWidth, int nHeight, unsigned char* SharpenImage) { // 遍歷圖象的縱座標 int y; // 遍歷圖象的橫座標 int x;
相關文章
相關標籤/搜索