Closed Ridhee closed 3 years ago
ppi
expects a numpy array as input so instead, you should do
data = img.load()
and pass data
to the ppi
function.
Thank you. It is working now.
On Mon, May 24, 2021 at 7:43 AM Thomas Boggs @.***> wrote:
ppi expects a numpy array as input so instead, you should do
data = img.load()
and pass data to the ppi function.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/spectralpython/spectral/issues/125#issuecomment-846684332, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUD7YG7BVVZWYZTULC7TDLLTPGY3DANCNFSM45LTTDHA .
Hii
I am getting this while running the function.
Can anyone please tell me how to solve this problem?