-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to desaturate background. Help needed. #302
Comments
hi,
I think you can try u2net (human segmentation model, for human overall
shape segmentation) + pymatting (https://github.com/pymatting/pymatting,
for getting hair matting) to achieve an relatively high quality alpha
channel and then the background can be tuned or changed based on the alpha
channel.
…On Tue, Apr 12, 2022 at 4:25 AM schwarzwals ***@***.***> wrote:
Guys I need your help figuring this one out.
[image: test]
<https://user-images.githubusercontent.com/46636486/162936436-30daa702-f4c7-4d67-8a20-7b5fab8f15f3.jpg>
I want to desaturate the background around the person. There's a lot of
blue in it. How can I do that ? I have a lot of files like this.
Would appreciate some examples.
—
Reply to this email directly, view it on GitHub
<#302>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSGORODIZUQXZQQVLPD5OLVEVFP3ANCNFSM5TGTAHAQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/
|
or you can use rmbg directly: https://github.com/danielgatis/rembg, to see
if that satisfies your requirements.
…On Tue, Apr 12, 2022 at 6:39 PM Xuebin Qin ***@***.***> wrote:
hi,
I think you can try u2net (human segmentation model, for human overall
shape segmentation) + pymatting (https://github.com/pymatting/pymatting,
for getting hair matting) to achieve an relatively high quality alpha
channel and then the background can be tuned or changed based on the alpha
channel.
On Tue, Apr 12, 2022 at 4:25 AM schwarzwals ***@***.***>
wrote:
> Guys I need your help figuring this one out.
> [image: test]
> <https://user-images.githubusercontent.com/46636486/162936436-30daa702-f4c7-4d67-8a20-7b5fab8f15f3.jpg>
>
> I want to desaturate the background around the person. There's a lot of
> blue in it. How can I do that ? I have a lot of files like this.
> Would appreciate some examples.
>
> —
> Reply to this email directly, view it on GitHub
> <#302>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADSGORODIZUQXZQQVLPD5OLVEVFP3ANCNFSM5TGTAHAQ>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/
--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/
|
@xuebinqin I don't want to remove the background....i want to desaturate it...it has a lot of blue/magenta in it...and I thought that if you can have a good mask of a human, invert it and desaturate the rest....don't touch the human...is this possible ? |
yes, that is possible. human segmentation can be used to desaturate or
change the color of the human and non-human regions based on your demands.
Otherwise, your whole image will be desaturated which is probably not what
you want.
…On Wed, Apr 13, 2022 at 12:24 AM schwarzwals ***@***.***> wrote:
@xuebinqin <https://github.com/xuebinqin> I don't want to remove the
background....i want to desaturate it...it has a lot of blue/magenta in
it...and I thought that if you can have a good mask of a human, invert it
and desaturate the rest....don't touch the human...is this possible ?
—
Reply to this email directly, view it on GitHub
<#302 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADSGORMRYP5VVKUCMA7WWSDVEZSALANCNFSM5TGTAHAQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Xuebin Qin
PhD
Department of Computing Science
University of Alberta, Edmonton, AB, Canada
Homepage: https://xuebinqin.github.io/
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Guys I need your help figuring this one out.
![test](https://user-images.githubusercontent.com/46636486/162936436-30daa702-f4c7-4d67-8a20-7b5fab8f15f3.jpg)
I want to desaturate the background around the person. There's a lot of blue in it. How can I do that ? I have a lot of files like this.
Would appreciate some examples.
The text was updated successfully, but these errors were encountered: