GithubHelp home page GithubHelp logo

Remove Background about siggraph18sss HOT 5 CLOSED

iyah4888 avatar iyah4888 commented on September 27, 2024
Remove Background

from siggraph18sss.

Comments (5)

makaveli10 avatar makaveli10 commented on September 27, 2024

I have been able to generate this after playing around the code:

for i = 2 : 2
    vis = repmat(softSegments(:,:,i), [1 1 3]);
end

trimap

But how to map it to the original image and remove backgorund? thats what I am stuck at. Need help
Please let me know if this is the right way to proceed?

from siggraph18sss.

anish6400 avatar anish6400 commented on September 27, 2024

I have been able to generate this after playing around the code:

for i = 2 : 2
    vis = repmat(softSegments(:,:,i), [1 1 3]);
end

trimap

But how to map it to the original image and remove backgorund? thats what I am stuck at. Need help
Please let me know if this is the right way to proceed?

which code you tweaked here? let me know please

from siggraph18sss.

anish6400 avatar anish6400 commented on September 27, 2024

I have been able to generate this after playing around the code:

for i = 2 : 2
    vis = repmat(softSegments(:,:,i), [1 1 3]);
end

trimap

But how to map it to the original image and remove backgorund? thats what I am stuck at. Need help
Please let me know if this is the right way to proceed?

Bro can you help me please, how you got this from mat file?

from siggraph18sss.

makaveli10 avatar makaveli10 commented on September 27, 2024

@AnishKumar0285 please go to the visualiswSoftSegments.m file and change to the mentioned code

for i = 2 : 2
    vis = repmat(softSegments(:,:,i), [1 1 3]);
end

from siggraph18sss.

iyah4888 avatar iyah4888 commented on September 27, 2024

When you have an alpha map a, you can composite a new image I from two different images A & B by

I = a*A+(1-a)*B

from siggraph18sss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.