Skip to content

This project has two parts. In part one, we use markov random field to denoise an image. In Part two, we use similar model for image segmentation.

Notifications You must be signed in to change notification settings

Mengxi-20/Markov-Random-Field-Project

Repository files navigation

Markov Random Field For Image Segmentation and Denoising

This project has two parts. In part one, we use markov random field to denoise an image. In Part two, we use similar model for image segmentation.

Part 1

In this part, we have an image. We add a gussian noise to it. Then we use markov model

Original Image

path = './test1.bmp'
arr = misc.imread(path, flatten=True)
labels = np.array(arr / 127, dtype=int)
print ("initial image")
imshow(arr, cmap='gray');
initial image

png

About

This project has two parts. In part one, we use markov random field to denoise an image. In Part two, we use similar model for image segmentation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%