Code refactoring:
1. CSegmentTree::BuildSegmentTree, remove dependence on the image.
2. CSegmentTree::Filter, change function parameter 'maxLevel' to 'channel'.