-
Notifications
You must be signed in to change notification settings - Fork 215
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
adaptive inter-module interfaces #1
Comments
@jywarren I want to contribute to this project, how do I build this project. I mean in both the index.html files dist/image-sequencer is used, so how to generate the dist file from src. |
Hi, this is a pretty new project but we'd love to have your contribution. I'll do some work on it tonight and post build guidelines. But the basic build process is run with |
Hi @jywarren |
No problem, and I'm not sure that's the best architecture choice but maybe I misunderstand. I think we should be able to interact with modules via the containing Thanks, I hope you can help us out! |
Hi, @jywarren After reading this, the first thing come to my mind actually is Meteor.js. Meteor.js provide the whole solution for data passing between modules since Meteor.js application is a single-page js application and even passing the backend data to front end without requiring the developer to write any synchronization code. Of course the drawbacks is that it might be a little heavy for small web applications. BTW, Meteor can also provide solutions not letting all modules compile.(As I saw this need in readme) |
The idea in
image-sequencer
is that each module is self contained, but I am thinking about how to avoid re-encoding images over and over:I was thinking of making a way for each module to see what the outputs of the previous module are, maybe ranked by preference/least work, and to choose a format that'd take the least work.
Say, if module A can output an
ndarray
and subsequent module B can consume anndarray
, A would (viamodule.getNdarray()
?) choose to send it that way instead of as an Image object, to avoid encoding/decoding.However, each module would have to have the
module.getImage()
method, at a minimum, so we can render its output as a step in the interface, or in case it's the final module.An adapter method could do the matching and necessary conversions?
The text was updated successfully, but these errors were encountered: