first off let me apologize for my rather croaky throat I hope he doesn't spoil
your enjoyment of the video too much I was recently contacted by a member of
my website who asked isn't there a way to turn an image of a door into a black
and white photo using on one photo raw and then apply a mask to remove the
black and white effect from the door now that's fairly simple and I'm going to
demonstrate that using the new on one artificial intelligence masking feature
that came in very recently the other thing that they wanted to do though was
to recolor the door and change the color of the door and that was proving very
difficult let's have a look and first off we're going to apply a black and
white conversion effect to this image so I'm going to apply something that's
quite strong I think I'll probably go for the Ingrid warm and that applies
quite a dramatic effect to the image and the next thing I need to do is create a
mask to hide the effect from the doorway so I'm going to add a mask and now if I
come up to the top here for the masking tools I've got this new AI feature here
stands for artificial intelligence the idea with the artificial intelligence
mask is that you can draw around roughly the area that you want to keep or remove
the adjustment from and the on one will actually work out what the right mask is
so this sounds great in theory but how does it work in practice well let's take
a look so the first thing I'm going to do is select whether I want to keep or
remove the adjustment so I'm going to actually drop the adjustment and I'm
just gonna resize my brush and now I'm going to drop it from this area here
around here over here to there and I'm going to keep it in all the other areas
around here so if this works what it should do is create me a mask that will
keep all the adjustments the black and white conversion on the outside but the
door and the doorway will actually be call it so let's see what happens when
we hit apply and actually it makes a reasonable job of actually creating the
adjustment there I don't think this is real artificial intelligence if it was I
would expect this to start to learn and improve each time I use it it doesn't
seem to do that but having said that it does give me a good initial stab at this
so let's actually work out how we can improve it well I'd actually like to
keep that part of the mass there there and there
and if i zoom in the son of the mass that I want to keep there and there I'll
just move up there so we'll just roughly draw that and down here I don't want to
keep that area so we'll go back to drop and we'll drop the mask around here and
now let's apply that and see what happens okay so now it's actually gone a
little bit too far so I need to know keep some of this and we'll apply that
and that's actually giving me a little bit of a better result so let's just go
back to fit the screen it doesn't look too bad now but the problem I'm finding
with this is that it's just not really good enough in terms of the initial
adjustment and you end up spending quite a lot of time refining it so let's say
no we've done that and we'll apply it and it's made a reasonable stab at it so
let's zoom in on the area and actually I was expecting it to have spilled over
more than it has and it does look actually quite convincing in terms of
what we were trying to achieve now there are some of the tools that once you've
applied your artificial intelligence mask you can use to refine them so here
I've got a refine tool and I can actually paint the mask out or paint it
so over here I can actually see areas where it's just spilled over and now I
can actually adjust it but again as I was adjusting it I'm not sure if you saw
that it's not really made a very clean adjustment what I would suggest is if
you've got the latest version do experiment and use it because it's
actually quite good at making rough selections that you can then clean up
afterwards so let's say that we're happy with that I'll zoom out and just have a
look so that's good and we'll just look at the mask it's created so you can see
there some areas that have spilled over but to be honest with this particular
image I don't think it matters let's now look at how we recolor the door because
this is something that's a bit tricky to do now there are some filters that you
can add which would allow you to actually attack the blue of the image
and adjust its hue so we could for example pick the blue here and that you
will use the sky and we could adjust the hue of the blue there just to change it
but it doesn't really allow me to recolor the image and change the blue
completely so here's another option we can use if you go over to the local
adjustments and what we've got here is this paint with color so I can actually
pick a color I'm going to pick red to start with and we'll go for something
quite quite noticeable and now using this paint brush
I'll just resize this I'm gonna paint over the door
now as I'm painting what you can see is that the I've painted this area here
that's red the area that's gray is the area that's affected by the mask you can
see there and now what I'm going to do is I'm going to click on this little cog
gear here now at the moment my mold is being applied to as normal I can
actually change this to a color mode here and it's no blended e10 more
cleanly with the image now at the moment it doesn't look very convincing because
it spilled over up here and it spilled over to other areas of the door that we
don't want it to what we want to do is change the blue color of the door so
what I can do is I can actually sample where I'm going to apply it from so if I
click there what we've got there is the blue of the door
and now I've sampled that and all the blue that's in that color range is now
being converted to red it's been painted over and I can actually control that
using this range tool here so now we're turning all the blue that's not black
and white red and you have got the ability then to change the color to
other colors just by picking it on your color wheel
now that's all very vibrant and colorful but what you can do is use replace color
and that will tend to tone it down and as well as that you've got your opacity
adjustment and you can actually make something that then looks quite
realistic I'll just set the exposure back to how it was and you've then got
as well your tint and temperature adjustments that you could apply
potentially to change this further so overall that's how you can actually
change the color and it's made a reasonable job of that if I go back we
can turn off our black and white adjustment there you can see the other
areas of the image this is our black and white adjustment with the mask and we've
recolored our door so Mike I hope this is exactly what you need I hope it helps
you if there's anyone else out there who's got a question on how to do things
like this I'm always glad to hear of them I might not always be able to help
but when I can I like to do a quick video or respond with some useful
suggestions I'm Robin Whalley you've been watching
lenscraft I'll see you next time for another video