Added new feature: local intensity histogram