Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert from ndarray #25

Open
ghost opened this issue Aug 12, 2015 · 2 comments
Open

Convert from ndarray #25

ghost opened this issue Aug 12, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2015

Hi @philkr, and other lpo users,

Is there any way, convenient or not, to convert an ndarray object to the Image8u type used in this library? Using the lpo.improc.imread function obviously reads a file from disk, and provides the proper data type. I'm wondering if I can avoid having to read from disk if it's already in memory as an ndarray?

Thanks

@vuptran
Copy link

vuptran commented Oct 21, 2015

@paulinder have you found a way to convert Image8u to ndarray or vice versa? After extensive googling, I still can't find a way to do it...

@ghost
Copy link
Author

ghost commented Oct 21, 2015

Unfortunately, I didn't end up getting a good way to do this. I think the only way to do it would be to write some C/C++ to do the job, and I didn't find the time to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant