Nonparametric Neighbourhood Based Multiscale Model for Image Analysis and Understanding