Comments (16)
That's nice!
What exactly should be stored that way?
from image-sequencer.
from image-sequencer.
Okay! Got it! Thanks :-)
from image-sequencer.
What can be done about the module repetitions in this regard? Then we will need different namespaces for each repetition. So, is this a viable option? :
var metadata = [
{ /* ndvi-red data */ },
{ /* segmented-colormap-data */ },
{ /* decode-qr data */ }
];
It doesn't sound like a good idea for further repetitions to replace the previous metadata of the same module.
from image-sequencer.
Or this:
var metadata = {
ndvi-red: [ {}, {}, ... ],
decode-qr: [ {}, {}, ... ]
};
This sounds better. Accessing metadata would be like (for the latest repetition): (pseudocode)
metadata['ndvi-red'][-1].key;
from image-sequencer.
You know, I think actually later modules should overwrite previous ones. Or should move previous ones to an older namespace or something. Say, if the QR code module generates metadata.decode-qr
, you should get the most recent result in that value. Maybe each could return an object, but the object can have metadata._MODULENAME_.previous
?
from image-sequencer.
Okay... What you say is definitely correct for a QR Decode module.
But say, for a Crop module, it won't be valid. The image might be cropped multiple times so I think we should preserve that data as well.
from image-sequencer.
from image-sequencer.
About multiple crops : We could track how the image transformed over time.
Okay I get what you are saying about the namespace, shall do.
from image-sequencer.
Will it work for the getMetadata
function to be passed in to the module instead of the entire sequencer?
I feel that the module shouldn't have access to the sequencer because the module is a part of the sequencer and should not get access to other images, sequencer methods like loadImage
, addSteps
, etc.
from image-sequencer.
from image-sequencer.
Yes, that's true. Some more thought is required here.
I shall think about this and come up with a plan.
from image-sequencer.
from image-sequencer.
Is this still open then?
from image-sequencer.
Yes this still is open...
from image-sequencer.
This is addressed in #77
from image-sequencer.
Related Issues (20)
- Adding an image sharpening module
- Removing scroll-to-top on mobile devices HOT 5
- Focus stacking module implementation HOT 1
- Halftone angle (in radians) needs to be a decimal instead of an integer HOT 3
- Dependencies Requiring Manual Upgrades HOT 1
- Remove Unused Dependencies HOT 1
- Supported NodeJS Versions HOT 3
- New module idea: ocr text recognition
- Use Modern JS HOT 2
- Can add units to the dimension of the image HOT 10
- How do I specify "executablePath" when calling Puppeteer HOT 5
- yarn.lock vs. package-lock.json HOT 1
- Checklist and coordination for v3.7.2 patch release and v3.7.3 follow-up patch release HOT 8
- Ideas for next release HOT 2
- Yarn complains about [email protected] expecting node 0.8.x HOT 13
- New module idea: descreen/dehalftone/inverse halftone
- Checklist and coordination for v3.8.0 minor release
- Incorrect local path for manipulation.wasm when using as an embedded library in MapKnitter.org
- eslint-error : Expected linebreaks to be 'LF' but found 'CLRF' HOT 1
- all thumbnails are not visible in the add step box HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-sequencer.