Fix ColorHistogram to work with Open File
Merge pull request #804 from tonysyu/viewer-color-hist-fix

Fix ColorHistogram to work with Open File