Blob filling / masking
Posted: 2015-08-31T19:36:47-07:00
Hi
New on the forum. I hope my question will not be redundant. My apologies if I am at the wrong place.
Here is the situation : I have a frame (film scan) covered by small stains (let's call them blobs and frame A)
I also have a frame close enough (frame B) in which I can dig the info to patch up A
For that I understand that I need to create a mask from A and make the inside of the blobs transparent; fill them up with data from B and add the result back on A. Ok easy ... I use Cinelerra for that.
My biggest problem at the moment is to create a proper mask.
I tried threshold and histogram with chroma keying but they are stains and their edge can vary in colour.
Eventually the masks created are 90 % there... which is just as good as 0% to me.
I need to explore other options : edge finding &/or canny filter seem to be the proper ones
As far as I can see I will get the borders and will need to flood fill the blobs with transparency (is it the cookie dough thing ?)
Not knowing the tools and even less the syntax I am a bit lost here.
If someone could give me push in the proper direction that'll be great
Cheers
Ed;
New on the forum. I hope my question will not be redundant. My apologies if I am at the wrong place.
Here is the situation : I have a frame (film scan) covered by small stains (let's call them blobs and frame A)
I also have a frame close enough (frame B) in which I can dig the info to patch up A
For that I understand that I need to create a mask from A and make the inside of the blobs transparent; fill them up with data from B and add the result back on A. Ok easy ... I use Cinelerra for that.
My biggest problem at the moment is to create a proper mask.
I tried threshold and histogram with chroma keying but they are stains and their edge can vary in colour.
Eventually the masks created are 90 % there... which is just as good as 0% to me.
I need to explore other options : edge finding &/or canny filter seem to be the proper ones
As far as I can see I will get the borders and will need to flood fill the blobs with transparency (is it the cookie dough thing ?)
Not knowing the tools and even less the syntax I am a bit lost here.
If someone could give me push in the proper direction that'll be great
Cheers
Ed;