< Return to Video

Generative Fill for Object Removal

  • 0:00 - 0:05
    Vaughn: Let's begin our investigation of
    how AI is built into photoshop using some
  • 0:05 - 0:08
    of the generative fill options.
  • 0:08 - 0:14
    So we're gonna look at how Firefly is
    integrated, this is Adobe's version of AI
  • 0:14 - 0:18
    that creates images, and how it might work
    to both add things to your images, and to
  • 0:18 - 0:19
    remove them.
  • 0:19 - 0:22
    So let's start with the easy stuff, which
    is considered, um, to remove something
  • 0:22 - 0:24
    from your image, okay.
  • 0:24 - 0:30
    So this is a fairly complex image, two
    subjects, wildflowers, I'm gonna use the
  • 0:30 - 0:36
    generative fill option in order to remove
    a subject, okay?
  • 0:36 - 0:40
    Now this should still be non-destructive,
    it's going to add a layer mask, let's see
  • 0:40 - 0:41
    what this looks like.
  • 0:41 - 0:46
    So if you were just opening up your file,
    you're gonna think about making a change
  • 0:46 - 0:49
    in terms of the generative fill function,
    you still want to think about grabbing a
  • 0:49 - 0:52
    part of your image.
  • 0:52 - 0:56
    So let's start by thinking about removing
    the person who's being photographed.
  • 0:56 - 0:59
    Easiest way, I think would be to use a
    lasso tool.
  • 0:59 - 1:02
    You could use any of your selection
    tools, you could do select subject,
  • 1:02 - 1:08
    etcetera, but I find it works best if what
    you're doing is trying to remove someone
  • 1:08 - 1:14
    using AI, to give an outline that's a
    little bit bigger than the subject itself.
  • 1:14 - 1:20
    If you did select subject or select
    object, that could work, but we need to
  • 1:20 - 1:23
    help Adobe know what's happening in the
    background.
  • 1:23 - 1:26
    It's going to look at the whole picture
    plane, but giving just a little bit of
  • 1:26 - 1:33
    edge around your subject, I have found
    results in better AI generative results.
  • 1:33 - 1:37
    So as soon as you have a, um, subject
    outlined, you're contextual taskbar jumps
  • 1:37 - 1:42
    up, right, and we're not actually adding
    anything, so when I click on generative
  • 1:42 - 1:45
    fill, rather than adding a text prompt,
    which we'll do in another video, I'm
  • 1:45 - 1:49
    simply going to jump over to generate.
  • 1:49 - 1:54
    Now, as it's working, it's investigating
    Firefly as the engine that's operating
  • 1:54 - 2:02
    behind Adobe, this is the AI part of the
    program, and you can see pretty quickly
  • 2:02 - 2:07
    it has quote unquote removed that person,
    right, now it's really important to kind
  • 2:07 - 2:14
    of zoom in, and see what's happened, if
    you are not satisfied with the results,
  • 2:14 - 2:18
    keep in mind, every time you run
    generate or generate fill, you actually
  • 2:18 - 2:19
    get three results.
  • 2:19 - 2:23
    You can see this is one of three down
    here, or you can look over in your
  • 2:23 - 2:28
    generative layer, which is in the
    properties, and you see variations.
  • 2:28 - 2:31
    So you can click through the variations
    in both spots, and decide which one
  • 2:31 - 2:33
    looks best.
  • 2:33 - 2:37
    Now you should see some differences,
    particularly often how it integrates into
  • 2:37 - 2:41
    a background or something else that's
    happening.
  • 2:41 - 2:44
    So you want to pick the one that looks
    the best, and not the most
  • 2:44 - 2:46
    repetitive, right.
  • 2:46 - 2:49
    Because sometimes, things can get
    repeated in a way that maybe gives it
  • 2:49 - 2:54
    away, I actually kind of like this one,
    because it doesn't exactly repeat the
  • 2:54 - 2:57
    background, and I think that looks pretty
    good.
  • 2:57 - 3:01
    Now if you didn't like it, you could
    regenerate, you can keep generating when
  • 3:01 - 3:06
    you're using this AI function, keep in
    mind when you have variations, you're
  • 3:06 - 3:10
    actually increasing your file size because
    these are adding up into your file.
  • 3:10 - 3:14
    So if I don't like some of these, it's a
    great idea to go ahead and delete them,
  • 3:14 - 3:19
    because, of course, I don't want too high
    of a file unnecessarily.
  • 3:19 - 3:21
    Now let's look in your layers panel.
  • 3:21 - 3:25
    Notice when I turn the visibility off,
    hey, our person's still there.
  • 3:25 - 3:29
    This is non-destructive, and look what
    happened, it has a layer mask, okay.
  • 3:29 - 3:35
    So this little star, kind of, icon inside
    the layers panel thumbnail, shows me
  • 3:35 - 3:39
    it's a generative layer, this shows me a
    layer mask, I can always delete it, or I
  • 3:39 - 3:40
    can redo it.
  • 3:40 - 3:45
    Now we could do the same thing, I'm gonna
    move this contextual taskbar, perhaps for
  • 3:45 - 3:46
    the other person.
  • 3:46 - 3:50
    So I'm gonna go back to the background,
    let's try selecting a subject using our
  • 3:50 - 3:54
    object selection tool, now we go over a
    lot of ways to grab things to make
  • 3:54 - 3:58
    selections, um, generally if you're going
    to do select subject, a person, using
  • 3:58 - 4:03
    the cloud is a little bit better, but
    let's just see how it does here.
  • 4:03 - 4:08
    Now it's not done an amazing selection,
    so I know right away I need to give it a
  • 4:08 - 4:10
    little bit more of a boarder.
  • 4:10 - 4:14
    Expand the selection, give it some
    information, some breathing room.
  • 4:14 - 4:17
    I'm gonna go ahead and modify it with
    this button right here, oh sorry, this one
  • 4:17 - 4:21
    right here, and let's expand.
  • 4:21 - 4:24
    Let's give it, I'm gonna say 20 extra
    pixels, okay.
  • 4:24 - 4:27
    Now remember the pink, that's just a
    preview, so no big deal, let's click on
  • 4:27 - 4:31
    generative fill, I'm not gonna put
    anything in there, I'm gonna let it
  • 4:31 - 4:39
    automatically figure out how to fill that
    content, and hit generate.
  • 4:39 - 4:42
    These little quick tips can be great to
    read too, again the program's always
  • 4:42 - 4:46
    changing, things are always improving, and
    you'll find some images are better
  • 4:46 - 4:48
    than others.
  • 4:48 - 4:52
    Okay, let's look at our variations.
  • 4:52 - 4:55
    I particularly like to watch out for
    things that look too blurry, too, that
  • 4:55 - 4:57
    often feels like a dead giveaway.
  • 4:57 - 5:04
    But these all actually look pretty good,
    actually kind of feel like maybe I like
  • 5:04 - 5:06
    this one, okay?
  • 5:06 - 5:11
    Notice it gives it a name, so great
    options for quote unquote removing
  • 5:11 - 5:15
    people in a non-destructive way, using
    generative fill.
  • 5:15 - 5:19
    Now, you're gonna encounter more and more
    complex images, or you might try the same
  • 5:19 - 5:23
    thing on something, let's try the same
    thing.
  • 5:23 - 5:29
    I'm gonna decide that I want to move,
    remove, that is, this gentleman.
  • 5:29 - 5:34
    Now, I kind of missed using my lasso
    tool, grabbing all of that, I'll just grab
  • 5:34 - 5:38
    it a little bit more, and I'm gonna think
    of course about, you know, what's
  • 5:38 - 5:42
    happening when things are separated, that
    first image was pretty simple, the people
  • 5:42 - 5:47
    were intact, nothing was blocking the way,
    I'm gonna do generative fill, generate,
  • 5:47 - 5:52
    and let's see what happens.
  • 5:52 - 5:57
    Now it's up to you to also think about
    lighting, shadow, reflection, it will do
  • 5:57 - 6:03
    its best, woah this is weird, so in this
    case it actually added something, odd,
  • 6:03 - 6:08
    it added something, so only number one
    really worked.
  • 6:08 - 6:11
    Now you can also report your variations.
  • 6:11 - 6:17
    Good, poor, etcetera, I think in this one,
    you know, maybe I'm satisfied with this,
  • 6:17 - 6:22
    it's not too bad, I'll turn it on and
    off, it's missing some information
  • 6:22 - 6:28
    here, so I have to do some work
    by hand to kind of fix this up, right.
  • 6:28 - 6:31
    But something that's a little bit more
    complex, you're gonna find that maybe
  • 6:31 - 6:34
    it's gonna struggle, right.
  • 6:34 - 6:41
    You can't fully rely on AI to do
    absolutely everything for you.
  • 6:41 - 6:47
    Let's, um, I did a poor selection there,
    let's make a pretty big, broad selection.
  • 6:47 - 6:49
    And maybe we even include the shadow.
  • 6:49 - 6:52
    Let's see what happens if I do that.
  • 6:52 - 6:57
    Okay, um, fairly complicated, but let's
    see what it does.
  • 6:57 - 7:06
    Generate.
  • 7:06 - 7:11
    Okay, now that worked pretty well.,
    actually, I think including that
  • 7:11 - 7:17
    information, um, of the rock notice it's
    changed the lake right there, but the sky
  • 7:17 - 7:19
    looks pretty good, the rock looks pretty
    good.
  • 7:19 - 7:25
    Now let's try and do it without including
    that shadow, and let's just see how it
  • 7:25 - 7:26
    can do.
  • 7:26 - 7:31
    So, quick lasso, giving myself some space,
    generative fill, generate.
  • 7:40 - 7:42
    Okay, now that's odd.
  • 7:42 - 7:45
    Now, the more you generate, the more
    results you're gonna get, and you might
  • 7:45 - 7:47
    find they're really strange.
  • 7:47 - 7:52
    Yeah, I don't like any of these, these are
    all, oops, there are all pretty poor.
  • 7:52 - 7:56
    Um, it was definitely not what I was
    wanting, so I might rate them, give it
  • 7:56 - 7:58
    some information.
  • 7:58 - 8:03
    Um, you can also, again, look at your
    variations over here, you can see
  • 8:03 - 8:08
    thumbnails that are big or small, but
    depending on the way you make your
  • 8:08 - 8:11
    selection, will really change the
    outcomes.
  • 8:11 - 8:16
    So for selecting the shadow, and the rock,
    giving it maybe a little bit wider reach,
  • 8:16 - 8:21
    in terms of the outline, seems to work
    pretty well for this one, whereas just
  • 8:22 - 8:28
    grabbing the person makes it think that
    it wants you to fill that area with
  • 8:28 - 8:31
    some other person, rather than the
    landscape.
  • 8:31 - 8:35
    So, keep that in mind, you're gonna
    have to do some experimenting, to
  • 8:35 -
    figure out how to use generative fill as
    a removal tool.
Title:
Generative Fill for Object Removal
Video Language:
English
Duration:
08:40

English subtitles

Incomplete

Revisions Compare revisions