publiclab / image-sequencer

A pure JavaScript sequential image processing system, inspired by storyboards
https://sequencer.publiclab.org
GNU General Public License v3.0
110 stars 210 forks source link

Various module ideas to be broken out into separate issues #165

Open jywarren opened 6 years ago

jywarren commented 6 years ago

Here's a list of possible modules and links to other code we could use to implement them.

Module Candidates, related ideas

Referencing earlier states

Complex sequences with masking could require accessing previous states (or nonlinearity):

Notes:

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:

JavaScript Computer Vision library

The project aim is to explore JS/HTML5 possibilities using modern & state-of-art computer vision algorithms.

Examples and Documentation

Features

jywarren commented 6 years ago

GitMate.io thinks the contributor most likely able to help you is @ccpandhare.

ccpandhare commented 6 years ago

These are pretty good resources!

jywarren commented 6 years ago

Great source of FTOs! @tech4GT @Mridul97

tech4GT commented 6 years ago

@jywarren Thanks!

Mridul97 commented 6 years ago

Thank you! :smile:

aashna27 commented 5 years ago

@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.

jywarren commented 5 years ago

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 .

harshkhandeparkar commented 5 years ago

Flood fill has its own issue.

rishabhshuklax commented 4 years ago

Mask Module

Screenshot from 2020-01-18 18-28-35

@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!!

jywarren commented 4 years ago

Oh, this looks really nice!