Added function for apply matrix filter on image plane