Automated threshold detection using a pyramid data structure | IEEE Conference Publication | IEEE Xplore