tldr-group / taufactor

TauFactor is a parallelised solver for calculating tortuosity factors from voxel data.
MIT License
30 stars 6 forks source link

Finding a constant value which is not a phase in img for surface_area… #29

Closed amirDahari1 closed 2 years ago

amirDahari1 commented 2 years ago

… padding calculation

amirDahari1 commented 2 years ago

This is not exactly what I was hoping for, it does not compare between -1 and 255 in uint8. For example:

-1 in np.array([0, 255], dtype=np.uint8)
False