```python
thresh_image = (thresh_image + np.abs(thresh_image)).astype(np.bool)
```
The above code will be faster as it does not involve indexing.