HSJA
HSJA copied to clipboard
Unnecessary binary search?
Could you explain the difference between the binary search in the initialize method [1] and the binary search right after it [2]? It seems to me that the second one is unnecessary, since the image already has been projected to the boundary.
[1] Binary search in the initialize method https://github.com/Jianbo-Lab/HSJA/blob/daecd5c7055d5214b39c34a7a28a98acd3557fbc/hsja.py#L288-L300
[2] Binary search right after initialize https://github.com/Jianbo-Lab/HSJA/blob/daecd5c7055d5214b39c34a7a28a98acd3557fbc/hsja.py#L81-L86