블러링
페이지 정보
작성일 22-11-16 11:58
본문
Download : 블러링.hwp
블러링



Download : 블러링.hwp( 64 )
영상처리블러딩
,기타,레포트
레포트/기타
다.설명
// raw2p_blur1.cpp : raw file 영역처리 예
// blurring
#include
#include
#include // exit()
#define WIDTH 256 // 수평 픽셀수
#define HEIGHT 256 // 수직 픽셀수
typedef unsigned char *image_ptr;
void main(void)
{
void convolve(image_ptr source, int cols, int rows, int kwidth, int kheight,
double *kernel, int bias, char *filename);
FILE *fp;
unsigned char ch[HEIGHT*WIDTH];
unsigned long np;
double kernel[중요] ={1.0/16.0,1.0/8.0,1.0/16.0, 1.0/8.0,1.0/4.0,1.0/8.0, 1.0/16.0,1.0/8.0,1.0/16.0};
char *out_filename = `hhm_blur1.raw`;
np = WIDTH*HEIGHT;
if((fp=fopen(`hhm01.raw`,`rb`)) == NULL) exit(-1);
fread(ch,1,np,fp);
fclose(fp);
convolve(ch, WIDTH, HEIGHT, 3, 3, kernel, 128, out_filename);
}
void convolve(image_ptr source, int cols, int rows, int kwidth, int kheight,
double *kernel, int bias, char *filename)
{
int x, y, i; /* image loop variables */
int kernx, …(투비컨티뉴드 )
순서
블러링에 대한 자료입니다. 영상처리블러딩 , 블러링기타레포트 ,
블러링에 대한 資料입니다.