libImageFilter: precision calculation fixed, debug features