Skip to content

ayush-agarwal-0502/Image-Processing-using-Verilog-ICHIP22-PS1

Repository files navigation

Image-Processing-using-Verilog-ICHIP22-PS1

Image Processing using Verilog . My solution to PS1 of ICHIP-22 UDYAM

Introduction :

  • Team name - ARcheus
  • Team members - Ayush Agarwal (me) , Raghavansh Singla

This project was our submission for the event "I-CHIP" held in 2022 , Verilog and digital electronics event held under "UDYAM", the electronics department fest of IIT BHU . In this PS1 , we were required to read a grayscale image and perform image processing operations such as increasing brightness , decreasing brightness , inverting the image , thresholding the image etc .

PS1 question :

image image image image

Our solution :

Verilog files for the project have been uploaded in this repository . We have made a module "pixel operator" which takes in a pixel and performs the required operation on it as per the parameter and select line values given to the module . Then we converted the image into a 1D array with hex values using MATLAB, fed it into the verilog testbench , and in it , we fed each pixel one by one , performed the required operation on it, then stored the output pixel value in a 1D array , then outputted the array , and converted the array back to image using MATLAB .

Results :

The original image :

image

Brightened Image :

image

Darkened Image :

image

Thresholded image :

image

Inverted Image :

image

Verilog Module :

The logic behind the module an be easily understood by reading it . This module does the required function on a single pixel . image image

Verilog testbench :

The code has been explained via comments , please refer to the verilog file attached in this repository .

image

image

image

image

image

About

Image Processing using Verilog . My solution to PS1 of ICHIP-22 UDYAM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published