/Grey-Level-Slicing-in-C

Grey level slicing is a technique used in image processing to enhance regions of interest by highlighting them while suppressing others based on their intensity levels. It isolates specific grey levels within an image to emphasize or eliminate certain features.

Primary LanguageCMIT LicenseMIT

Grey Level Slicing in C

banner

Description 💻

A picture is divided into levels of intensity (brightness) using the digital image processing technique known as "grey level slicing," and certain levels are then chosen for additional examination. In order to enhance, segment, and extract characteristics from a picture, it is utilized to emphasize some elements while suppressing others. In areas including medical imaging, remote sensing, and security, grey-level slicing is a popular and efficient technique for image analysis. It enables a clear difference between the various image intensity levels and can offer important information that would otherwise be hard to get. The method entails segmenting an image into contiguous intensity levels, presenting them as binary pictures, and choosing certain levels for subsequent processing.

With Background Without Background
with_background_fig without_background_fig

Usage ⚙️

  • Use any online software to convert image to .ppm file.
  • Run the respective program and enter the file path, lower limit, and upper limit.
  • Use any online viewer to view the output image.

Screenshots 🖼️

Lower Limit : 220
Higher Limit : 255

brain_sample
brain_with_background
brain_without_background

Lower Limit : 120
Higher Limit : 240

drone drone_with_background drone_without_background