Here's a list of possible modules and links to other code we could use to implement them.
image.getLuminosityAtIndex(idx)add-image (with blend mode, default normal?) - #256 Complex sequences with masking could require accessing previous states (or nonlinearity):
flood fill, then blink-diff with originalflood-fill/blink-diff for second regionmask moduleNotes:
pattern-fill module to fill areas with patterns in a JS canvas:
var c=document.getElementById("myCanvas");
var ctx=c.getContext("2d");
var img=document.getElementById("lamp");
var pat=ctx.createPattern(img,"repeat");
ctx.rect(0,0,150,100);
ctx.fillStyle=pat;
ctx.fill();
Masking:
ctx.save();
ctx.beginPath();
ctx.moveTo(0, 0);
ctx.lineTo(160, 600);
ctx.rect(0, 0, 160, 600);
ctx.closePath();
ctx.clip();
ctx.drawImage(img, 0, 0);
ctx.restore();
https://github.com/inspirit/jsfeat has a range of features:
The project aim is to explore JS/HTML5 possibilities using modern & state-of-art computer vision algorithms.
GitMate.io thinks the contributor most likely able to help you is @ccpandhare.
These are pretty good resources!
Great source of FTOs! @tech4GT @Mridul97
@jywarren Thanks!
Thank you! :smile:
@jywarren are we ready to have a masking module ? if so I would like to work on it . Also if you could elaborate on " Luminosity" I would like to look into it.
that'd be really cool. I wonder if it could be implemented using the blend
module, where we use the 2nd image as the opacity value for the first
image? This might not be the 100% most efficient way (or maybe it is,
dunno) but it could re-use code in a clever way :-)
On Fri, Jan 4, 2019 at 1:56 PM aashna27 notifications@github.com wrote:
@jywarren https://github.com/jywarren are we ready to have a masking
module ? if so I would like to work on it—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/image-sequencer/issues/165#issuecomment-451534888,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJzMdsaO71M7pqunuqqtiEZj7rjxiks5u_6OsgaJpZM4R3kPW
.
Flood fill has its own issue.

@jywarren I was trying to make the mask module and came up with this by applying Alpha Masking.
Could you brief a little more about this, Or does this looks good?
Thanks!!
Oh, this looks really nice!
Most helpful comment
Great source of FTOs! @tech4GT @Mridul97