# image-sharpen-cpp **Repository Path**: chunfengshi/image-sharpen-cpp ## Basic Information - **Project Name**: image-sharpen-cpp - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-11-10 - **Last Updated**: 2025-11-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Implementation of Image Sharpening algorithm in C++ & CUDA. The algorithm is based on this tutorial (with few changes) https://lodev.org/cgtutor/filtering.html#Sharpen > NOTE! This only works with **24-bit based uncompressed Bitmap** format. Use this tool to convert your image into compatible format: https://online-converting.com/image/convert2bmp/ also, don't forget to choose **Color** option to **24 Bit (True Color)**. I made this program as simple as possible, and didn't rely on third party library to run. The goal is to demonstrate how image sharpening algorithm implemented in standard CPU and GPU (CUDA) computation. The main focus is matrix calculation of the image and how to proceed it into sharpen image. Sample image included (filename: image_source.bmp), but you can replace it with your own. ## Compile and Run CPU: ```sh g++ main_cpu.cpp -o main_cpu ./main_cpu ``` GPU: ```sh nvcc --run main_gpu.cu ``` ## Maintainer [Arsfiqball](https://github.com/Arsfiqball) | iqballmags@gmail.com