Function to calculate INtensity Surface Histogram (similar to DSH)