Cascaded Hierarchical Model

 
Cascaded hierarchical model is an image segmentation framework, which learns contextual information in a hierarchical framework. At each level of the hierarchy, a classifier is trained based on downsampled input images and outputs of previous levels. Our model then incorporates the resulting multi-resolution contextual information into a classifier to segment the input image at original resolution. We repeat this procedure by cascading the hierarchical framework to
improve the segmentation accuracy.


Matlab Codes

The source code and precompiled binaries for 64-bit linux are available here.
- If you want to compile the mex files use “compile.m” script available in the package.
- You should start with “TrainScript.m”.
- This code was written from scratch for the purpose of sharing.
- The results are not exactly the same as the reported numbers in the paper
(fortunately they are slightly better).




Edge Detection

CHM achieves near state-of-the-art performance on Berkeley dataset and outperforms state-of-the-art methods such as SE and SCG on NYU depth dataset v2.

The CHM code and corresponding scripts for edge detection for both BSDS500 and NYU depth datasets can be found here.

Precomputed testing results and evaluation files for BSDS 500 dataset.


















Scene Labeling

On Stanford background dataset, CHM achieves 82.95% pixel accuracy.

The CHM code and corresponding scripts for scene labeling for the Stanford background dataset can be found here.
























I applied the model trained on Stanford background dataset to a video recorded in state street, Salt Lake City.
























Reference
If you use this package please cite the following:

M. Seyedhosseini, M. Sajjadi, and T. Tasdizen. Image segmentation with cascaded hierarchical models and logistic disjunctive normal networks. In ICCV 2013 (accepted). [pdf,bibtex]

NEWS
- Our extended version of CHM paper got accepted to PAMI.
- I released the training and testing scripts for Scene labeling and edge detection. Feb 4th 2014
- An extended version of the ICCV paper with more results and theoretical insights can be found on arxiv. Feb 4th 2014 
- Version 2.0 was released (edge filters were added). December 29th 2013
- Version 1.0 was released. October 23rd 2013

Contact
If you have any questions please email me or Mehdi Sajjadi.
CHM_files/CHM_v02.tgzhttp://www.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/resources.htmlhttp://research.microsoft.com/pubs/202540/DollarICCV13edges.pdfhttps://homes.cs.washington.edu/~lfb/paper/nips12b.pdfhttp://cs.nyu.edu/~silberman/datasets/http://cs.nyu.edu/~silberman/datasets/CHM_files/CHM_edgeDetection.zipCHM_files/CHM_precomputed_results_BSDS500.zipCHM_files/CHM_SceneLabeling.ziphttp://sci.utah.edu/publications/seyedhosseini13/Seyedhosseini_ICCV2013.pdfhttp://sci.utah.edu/index.php?option=com_joombib&task=bibtex&id=1952http://ieeexplore.ieee.org/Xplore/defdeny.jsp?url=http%3A%2F%2Fieeexplore.ieee.org%2Fstamp%2Fstamp.jsp%3Ftp%3D%26arnumber%3D7226830&denyReason=-131&arnumber=7226830&productsMatched=null&userType=http://arxiv.org/abs/1402.0595CHM_files/CHM_v01.tgzHome.htmlhttp://sci.utah.edu/people/mehdi.htmlshapeimage_2_link_0shapeimage_2_link_1shapeimage_2_link_2shapeimage_2_link_3shapeimage_2_link_4shapeimage_2_link_5shapeimage_2_link_6shapeimage_2_link_7shapeimage_2_link_8shapeimage_2_link_9shapeimage_2_link_10shapeimage_2_link_11shapeimage_2_link_12shapeimage_2_link_13shapeimage_2_link_14shapeimage_2_link_15

Precision-Recall curves for BSDS500 dataset.

Precision-Recall curves for NYU depth v2 dataset.

Test samples of scene labeling on the Stanford background dataset. First row: input image, Second row: CHM, Third row: CHM with intra-class connection, Fourth row: Groundtruth.