Open-source algorithm and software for computed tomography-based virtual pancreatoscopy and other applications