nalankaru / cs284-image-segmentation

Image Segmentation using Conditional Random Fields

Home Page:https://www.academia.edu/41690251/Image_Segmentation_Using_Conditional_Random_Fields

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cs284-image-segmentation

A python application which performs image segmentation of the Weizmann Horse Dataset using Conditional Random Fields (CRF). A Mini Project requirement for CS 284 course at University of the Philippines Diliman AY 2016-2017 under Sir Prospero Naval.

Requirements

Instructions

  1. Clone and download the repository.
  2. Train the CRF model.
python -W ignore imagesegmentation.py
  1. Update the horseModelLogger variable with the generated model file. Run the demo application to visualize segmentation.
python -W ignore imagesegmentationDemo.py WeizmannSingleScale/horses/training/images/image-xxx.png

python -W ignore imagesegmentationDemo.py WeizmannSingleScale/horses/test/images/image-xxx.png
  1. Measure the pixelwise performance of the model.
 python -W ignore imagesegmentationPerf.py

About

Image Segmentation using Conditional Random Fields

https://www.academia.edu/41690251/Image_Segmentation_Using_Conditional_Random_Fields


Languages

Language:Python 100.0%