more porting of image processing filters