[Numpy-discussion] Expanding the scope of numpy.unpackbits and numpy.packbits to include more than uint8 type
jfoxrabinovitz at gmail.com
Mon Mar 29 15:10:32 EDT 2021
You can view any array as uint8
On Mon, Mar 29, 2021, 14:27 Rashiq Azhan <rashiqazhan at gmail.com> wrote:
> I would like this feature to be added since I think it can very useful
> when there is a need to process data that cannot be included in uint8.
> One of my personal requirements is modifying a 10-bit, per channel,
> images held in a NumPy array but I cannot do that using the specified
> functions. They are eloquent solution and works well with the with
> NumPy functions as long as the data is uint8.
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion