Text this: Fault-tolerant quantum algorithm for dual-threshold image segmentation.