[Numpy-discussion] Expanding the scope of numpy.unpackbits and numpy.packbits to include more than uint8 type

Joseph Fox-Rabinovitz 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
> https://mail.python.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/numpy-discussion/attachments/20210329/c510fab7/attachment.html>


More information about the NumPy-Discussion mailing list