Skip to content

abeinstein/markov-random-field-denoise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homework 6 Andrew Beinstein

hw6.py: Main script image_processing.py: Contains shape-drawing and other miscealleous image processing algorithms. hw6.pdf: My write-up

The main hw6.py file requires two command line arguments: <image_filepath> where image_filepath is a path to an ASCII binary image file, and mu is a floating point number between 0 and 1. My script will then introduce noise into the picture with probability mu, and run the Loopy BP algorithm to denoise the picture. The script then displays the picture using Numpy and Matplotlib, and it outputs the fraction error: /

To reconstruct some of the plots from my write-up, scroll to the bottom of hw6.py, where I have indicated which lines you can uncomment.

Enjoy! Andrew

About

Denoising images using Markov random fields

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages