BPT now works with 2D and 3D images