soft-matter/trackpy — pull request #118 by danielballan (2014-07-09 00:12:05+00:00)
Title: FIX/ENH: Allow locate to invert float images by assuming normalization=1

`trackpy.locate` expects integer-type images. If it is asked to invert a float-type image (`invert=True`) it will raise. This PR allows it to accept float-type images safely.

(For performance reasons, the floats are converted to 8-bit images for the core processing. If you have higher bit depth, your images are probably not floats to begin with. In any case, you can convert them yourself beforehand.)

Notably, scikit-image's `imread` can sometimes return floats. Their implementation of `imread` is more flexible and more powerful than implementations in other packages, and it becoming more widely used. Thus, in soft-matter/pims#65, PIMS adopts skimage as a preferred (but optional) dependency. This PR should be merged before before soft-matter/pims#65.

Then I propose we tag trackpy 0.2.1 for compatibility with the soon-to-be-christened release of pims.