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

Server side processing #1

Open
Jamie452 opened this issue Mar 15, 2017 · 3 comments
Open

Server side processing #1

Jamie452 opened this issue Mar 15, 2017 · 3 comments

Comments

@Jamie452
Copy link

Is there any way of using this on the server side?

Thanks

@thibauts
Copy link
Owner

There is nothing in this module that prevents its usage server side. You won't be able to use the example code from the README as is though, you'll have to find a way to convert your images to ndarray and back.

@Jamie452
Copy link
Author

Thanks for the reply @thibauts, I tried to get your suggestion to work using a couple libraries I found for handling ndarrays, but I'm seeing black/distorted images, here's a gist of what I've done; https://gist.github.com/Jamie452/9f25475ccc9b9c72105e867ab64f2243

As it is, I end up with a completely black image, if I comment out applyCubeLUT(ndArray, ndArray, lut); I see a mostly black image with a few bright red pixels.

If I comment out the entire ndArrayOps.mulseq conversion and applyCubeLUT the image is output correctly.

Any ideas?

@dorelljames
Copy link

Hello @Jamie452, did by chance you manage to make your example work? I am kind of facing the same problem as you are right now.

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

3 participants