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

ImageBase is not serializable since its member ImageType does not implement Serializable #24

Closed
pcmoen opened this issue Mar 19, 2015 · 3 comments

Comments

@pcmoen
Copy link

pcmoen commented Mar 19, 2015

Serialization of the boofcv.struct.image.ImageBase class throws an java.io.NotSerializableException exception since it's member imageType of type boofcv.struct.image.ImageType is not serializable.

@lessthanoptimal
Copy link
Owner

What's the use case for serializing this object? It would probably be a very inefficient image format.

@pcmoen
Copy link
Author

pcmoen commented Mar 20, 2015

Our use case is transferral of images on a local network. We do this since some of the processing that needs to be done on another computer.

The benefits of compressing the images would be negligible with regards to transfer time. We would rather have the convenience of just passing the object across the wire.

It was serializable in earlier versions. So for us it's regression that would have us change our code.

@lessthanoptimal
Copy link
Owner

Fixed. Added unit tests for serialization so this shouldn't happen again.

46a5017

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

2 participants