# ccanny **Repository Path**: more_than_code_admin/ccanny ## Basic Information - **Project Name**: ccanny - **Description**: canny in C - **Primary Language**: C - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-10 - **Last Updated**: 2022-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### CCanny A simple (naive) implementation for canny algorithm in C. #### Run 1. ```shell chmod a+x run.sh ``` 2. ```shell ./a.out -f ./data/tanjirou.jpg -b 3 -s 5 -l 20 -h 50 -i ``` Parameters: - -f: Path to input image. - -b: Size of blur kernel. - -s: Size of sobel kernel $\in\{3,5\}$. - -l: Low threshold of canny $\in[0,255]$. - -h: High threshold of canny $\in[t_{min},255]$. - -i: Decide whether to show internal results. #### Data Provided 1. `data/girl.jpg`: My ubuntu's wallpaper. 2. `data/nezuko.jpg`: A cute girl. 3. `data/tanjirou.jpg`: A cool guy.