spectralpython / spectral

Python module for hyperspectral image processing
MIT License
574 stars 139 forks source link

Spectral/PPI is not running properly #125

Closed Ridhee closed 3 years ago

Ridhee commented 3 years ago

Hii

ppi problem I am getting this while running the function.

Can anyone please tell me how to solve this problem?

tboggs commented 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.

Ridhee commented 3 years ago

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 .