A reworking of Maire et al.'s gPb edge detector into a junction detector