This is the Kuwahara Filter

Ғылым және технология

30 years ago a man attempted to denoise medical imagery and unknowingly set off a chain reaction of research developments leading to a modern day post processing effect that transforms images into paintings, but how did he do it?
Download my GShade shader pack!
github.com/GarrettGunnell/Ace...
Patreon: / acerola_t
Twitter: / acerola_t
Twitch: / acerola_t
Code: github.com/GarrettGunnell/Pos...
Join My Discord Server! / discord
References:
Anisotropic Kuwahara Filtering on the GPU - GPU Pro
www.umsl.edu/~kangh/Papers/kan...
Music:
Joy - Persona 3
Tranquility - Persona 3
Crisis - Persona 3
During The Test - Persona 3
Afternoon Break - Persona 3
This Mysterious Feeling - Persona 3
Muscle Blues - Persona 4
Like A Dream Come True - Persona 4
Dead End Chaos Theatre - Earthbound
Climax Return - Danganronpa
Gold Falls Casino - HuniePop
Lucky Day - Jingle Punks
arrow in thumbnail drawn by thlurp
Thanks for watching!
This video is dedicated to my friend, Alotryx.
#acerola #graphics #gamedev #unity3d #graphics #shaders

Пікірлер: 810

  • @moth.monster
    @moth.monster Жыл бұрын

    If you added the noise in photoshop just press ctrl-z 4Head

  • @frog-hf4po

    @frog-hf4po

    Жыл бұрын

    shit i didnt think of that

  • @deniszdorovtsov8195

    @deniszdorovtsov8195

    Жыл бұрын

    Generalized Ctrl-Z Denoise

  • @alex.g7317

    @alex.g7317

    Жыл бұрын

    what if i had already saved the noise in photoshop?

  • @moth.monster

    @moth.monster

    Жыл бұрын

    @@alex.g7317 Idk don't do that next time

  • @alex.g7317

    @alex.g7317

    Жыл бұрын

    @@moth.monster what if i do?

  • @quentinchoumont3437
    @quentinchoumont3437 Жыл бұрын

    I just spent 40$ for a post-processing stack specifically for this filter, you come out a week later and release it for free, you're a madman

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    I technically released it like a month ago but I only posted about it on twitter, sorry about the trouble! I hope the asset you purchased is much more usable than my stuff.

  • @quentinchoumont3437

    @quentinchoumont3437

    Жыл бұрын

    @@Crux_Riajuu Stagart Creations SC Post effects

  • @orbatos

    @orbatos

    Жыл бұрын

    And this is probably better than what you paid for.

  • @ThePandaAgenda

    @ThePandaAgenda

    Жыл бұрын

    @@quentinchoumont3437 That one can do way more than just that one filter. So I guess the purchase was worth it (one of the demos looks like Antichamber which is great)

  • @Mawyman2316

    @Mawyman2316

    Жыл бұрын

    @@ThePandaAgenda What a fun hidden gem.

  • @jabadahut50
    @jabadahut50 Жыл бұрын

    I wasn't super impressed by the effect until I saw the HUGE improvement it makes to FFXIV... it looks like an entirely new game and it's gorgeous. I love it.

  • @iluvpandas2755

    @iluvpandas2755

    8 ай бұрын

    Is there a way to use the effect in Godot?

  • @jabadahut50

    @jabadahut50

    8 ай бұрын

    @@iluvpandas2755 yeah you'd just have to write the shader for it into godots shader pipeline

  • @iluvpandas2755

    @iluvpandas2755

    8 ай бұрын

    I will try.

  • @pingvin9166

    @pingvin9166

    16 күн бұрын

    ​@@iluvpandas2755This effect is on the Godot Shader website, I can't leave a link because KZread deletes comments with a link.

  • @InkDrop.
    @InkDrop. Жыл бұрын

    Never stop making these videos. Your method of teaching is both fun(ny) and informative. Love it!

  • @Stowy

    @Stowy

    Жыл бұрын

    nice pfp

  • @InkDrop.

    @InkDrop.

    Жыл бұрын

    @@Stowy ayyy

  • @harriehausenman8623

    @harriehausenman8623

    Жыл бұрын

    yez!

  • @aiellamori

    @aiellamori

    7 ай бұрын

    I wish I could see it on my phone, all my phone lets me watch at is 720p and the bitrate makes it almost unnoticeably different

  • @KoongYe
    @KoongYe Жыл бұрын

    As a Engineering major who is an artist now, this was like a content made for me.

  • @kellybraille

    @kellybraille

    Жыл бұрын

    As a person who holds math and physics degrees and now transcribes music into braille for blind children, this content has absolutely nothing to do with my life path or personal interests. (But dang it I am LOVING it and I'm now binging all of his programs. How does he make this stuff so dang interesting?!?)

  • @DerMBen

    @DerMBen

    Жыл бұрын

    I'm kinda in the oposite situation. I'm a design student going down a coding rabbit hole.

  • @charliehammer8780

    @charliehammer8780

    6 ай бұрын

    As an artist who loved the Emperor Wang Gun drama, I love your username! 😁

  • @thediktatortot9645
    @thediktatortot9645 Жыл бұрын

    I will say that the original Kuwahara filter did a great job for what it was meant to do. Also, as an artist, I use this filter (or it's equivalent) all the time when searching for common colors on an image for either reference drawing or when I'm trying to achieve a 'style'. Great video, just a little offended that something like that would be considered 'not good' xD

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    I did say they all have their aesthetic appeal! I use the basic kuwahara filter a lot as a pre pass to other effects since it simplifies more than the anisotropic filter does and is pretty cheap performance wise.

  • @thediktatortot9645

    @thediktatortot9645

    Жыл бұрын

    @@Acerola_t Lol Just giving you a hard time. I enjoyed the video!

  • @samfromcadott
    @samfromcadott Жыл бұрын

    If you used the Kuwahara filter on level geometry and toon shading on objects, you would have a pretty good emulation of cel animation.

  • @glenneric1
    @glenneric1 Жыл бұрын

    One of the difficult things in removing noise is deciding which fine objects need to be preserved, like eyes, and which you might want to leave out, like moles.

  • @anteshell

    @anteshell

    7 ай бұрын

    Moles are not noise. They are facial(or elsewhere on the skin) features exactly as eyes are. Removing those is completely different thing that denoising. Maybe you expect denoise filter to make the boobs bigger, tummy smaller and apply better makeup too?

  • @MarcelAndrian

    @MarcelAndrian

    7 ай бұрын

    @@anteshell that's not op's point. would you rather have eye-less face instead of mole-less face?

  • @anteshell

    @anteshell

    7 ай бұрын

    @@MarcelAndrian What I want my face to look like has nothing to do on using completely wrong tool on the wrong task. But also, I am very content on how I look and I don't have to resort on superficial vanity and lies to hide what ever I might have on my face with faux images of myself. I'm sorry that you don't have such a healthy self-esteem.

  • @glenneric1

    @glenneric1

    7 ай бұрын

    @@anteshell You're fighting the entire cosmetics industry on this one.

  • @anteshell

    @anteshell

    7 ай бұрын

    @@glenneric1 no, I'm not. To be successful in cosmetic industry, it requires a bit more than being dumb enough to use denoiser for moles. Try again.

  • @Isleuntothyself_
    @Isleuntothyself_ Жыл бұрын

    8:52 out of all song choices you chose one that makes me shiver thinking about that phase of my life

  • @LoveisStoredInTheLain

    @LoveisStoredInTheLain

    9 ай бұрын

    Haha same. As much as miss that soundtrack dear god am I glad I’m not listening to it lmao

  • @SamHartwell420
    @SamHartwell420 Жыл бұрын

    I really appreciate all of your videos. You are great at breaking down difficult to understand problems and have given me a lot more incite on how a lot of visual effects are done. I also enjoy your very dry tone and humor. I am glad to see your channel growing! Keep up the great work!

  • @33gbm
    @33gbm Жыл бұрын

    I don't even work with computer graphics, but your content is fantastic. So nice to watch the way you evolved the development of the methods and made it enjoyable. A natural gift for teaching.

  • @stefanomoscatelli4138
    @stefanomoscatelli4138 Жыл бұрын

    You are truly one of the best at explaining complex matter while being careful to details

  • @redundantqwail9088
    @redundantqwail9088 Жыл бұрын

    7:12 I spit my cereal, you can't do this to me. I'm shaking, crying, pissing my pants. My fields have been salted, my possessions, stolen, my animals slaughtered.

  • @redundantqwail9088

    @redundantqwail9088

    Жыл бұрын

    9:19 My trees felled, my house collapsed, my water poisoned, my body incinerated, my ashes scattered in a foreign land.

  • @Julian_H
    @Julian_H Жыл бұрын

    You're not alone in wondering how manifold garden did edge detection. I worked on a (now scrapped) project with a similar aesthetic and could never figure it out.

  • @SjorsHoukes

    @SjorsHoukes

    Жыл бұрын

    See one of the top comments for the presentation video!

  • @LanceThumping

    @LanceThumping

    9 ай бұрын

    @@SjorsHoukes He's hearted a lot of comments and it is harder to find now but the comment said to search for "(SIGGRAPH 2020) That's a wrap: a Manifold Garden Rendering Retrospective "

  • @sqrt2295

    @sqrt2295

    9 ай бұрын

    I've been trying to get rid of the aliasing in my edge-detection shader for years and I'm still unable to, I thought it was something easy to fix but that I couldn't find for some reason. 😭

  • @nix3l_
    @nix3l_ Жыл бұрын

    love the editing on this one. great job

  • @redotix9952
    @redotix9952 Жыл бұрын

    Absolutely awesome video, and thank you so much for sharing your shaderwork publicly!

  • @outoftheshell
    @outoftheshell Жыл бұрын

    I love these videos! Love how you balance information while still being entertaining! Keep it up!

  • @oltimeri8256
    @oltimeri8256 Жыл бұрын

    Can’r wait to watch this later tonight! Im in an in-person meeting right now.

  • @helioom
    @helioomАй бұрын

    This is one of the best and most intuitive videos I've seen on youtube about image processing. You made it very interesting and not boring!!

  • @MaraJinksblade
    @MaraJinksblade Жыл бұрын

    this is amazing. i was struggling to reconcile what i was going to do for the style i wanted to do for a game project im working on and i think this basically answers all my questions. all your videos have been super cool and helpful for me trying to figure stuff out.

  • @randomess61
    @randomess61 Жыл бұрын

    I love the simple but entertaining editing! Good stuff

  • @kylebanks
    @kylebanks Жыл бұрын

    These are probably my favourite videos on YT at the moment, keep it up!

  • @microdavid7098
    @microdavid7098 Жыл бұрын

    can I just say I really really really enjoy these videos. It's one of the most youtube series at the moment. I was always curious about post processing effects and adding it in pixel art in particular. Some of my favorite videos on yt

  • @microdavid7098

    @microdavid7098

    Жыл бұрын

    been looking for techniques of blurring and stylizing pixel art without succeeding. Now this will definitely be of a lot of help

  • @lukedare-white3131
    @lukedare-white3131 Жыл бұрын

    These are such good videos, I'm really glad to see your channel growing!

  • @zloboslav_
    @zloboslav_ Жыл бұрын

    A random KZread suggestion became an instant sub - thoroughly informative and immensely entertaining all within my attention span! Thank you!

  • @SaintSkeleton
    @SaintSkeleton Жыл бұрын

    somehow you ended up in my feed, Im glad, I learned something today and enjoyed myself while doing it, you my friend have earned another subscriber!

  • @FROZENbender
    @FROZENbender Жыл бұрын

    absoultely incredible. your depth of knowledge on this subject is deeply fascinating

  • @anders9958
    @anders9958 Жыл бұрын

    This is your first video I've seen, I'm very impressed by your content. Subbed!

  • @AlexStrook
    @AlexStrook Жыл бұрын

    wonderful video, the final shader gives insanely cool looking result! The kuwahara + pixel art tests are so tasty!

  • @Monad_of_Eirye
    @Monad_of_Eirye Жыл бұрын

    Great video Acerola. I had implemented a version of the Kuwahara filter in the past, but I had no idea about the history behind it, so thanks for enlightening me :)

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    Thanks Monad :)

  • @KrisDesChacals
    @KrisDesChacals Жыл бұрын

    Wow, this is just incredible! I guess this is the kind of effect that were used in the game Last Day Of June and gave it that dreamy aesthetic.

  • @xanderlinhares
    @xanderlinhares Жыл бұрын

    Honestly I found the style of these annoying at first but it really grew on me, especially after it becoming abundantly clear that you really know what you’re talking about. Brilliant work, super looking forward to more!

  • @Nosferatu-_-
    @Nosferatu-_- Жыл бұрын

    I'm glad you take as much time as you need to make quality videos.

  • @NikZapp
    @NikZapp Жыл бұрын

    i love this channel! glad to see that its still active!

  • @benjaminha9031
    @benjaminha9031 Жыл бұрын

    LETSS GOOO! I can tell you out a lot of work in this video. Keep it up ☺️!

  • @Voshchronos
    @Voshchronos Жыл бұрын

    Man, just found out your channel. Absolutely amazing, I'm in awe!

  • @erichbauer3991
    @erichbauer3991 Жыл бұрын

    really cool video, I've only heard about it in passing but always wanted to get more indepth with it

  • @Revoker1221
    @Revoker1221 Жыл бұрын

    Hi Acerola, You mentioned towards the end looking for the Manifold Garden presentation, and I've managed to find one that does outline parts of their anti aliasing techniques. I can't post the link without KZread hiding the comment, so the title of the video is "(SIGGRAPH 2020) That's a wrap: a Manifold Garden Rendering Retrospective". Hope this is close to what you're looking for.

  • @JohnyK07
    @JohnyK07 Жыл бұрын

    Loved all the niche references throughout this video, particularly the extensive use of Persona OST for the music and the Monogatari style visuals like the quick frames with either walls of text or "black scenes".

  • @jasonrodriguez1331
    @jasonrodriguez1331 Жыл бұрын

    I've been waiting since the announcement for the video, loved it.

  • @zuzej
    @zuzej Жыл бұрын

    wow finally a very informative, detailed and funny video on shaders. thank you!

  • @roborogue_
    @roborogue_ Жыл бұрын

    such a great video, cant wait to see what it looks like when applied to textures first! edit: im watching it again after watching your final fantasy video because its just that good

  • @TheJackpotgamer
    @TheJackpotgamer Жыл бұрын

    Lets goooo it's another Acerola video, always love how interesting these are

  • @bogward4330
    @bogward4330 Жыл бұрын

    Oh cool! I've been taking an imaging and multimedia class that goes over a bit of stuff like this. I really liked the anisotropic kuwahara filter + dithering, especially the one of the sailor at 14:26.

  • @AzoreanProud
    @AzoreanProud Жыл бұрын

    Such an underrated channel, exceptional in so many areas and doing it alone (i assume).

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    yeah it's all me I wish I could get help with editing or script writing but that would require knowledge of the content which is niche enough as it is

  • @Pipubbles
    @Pipubbles Жыл бұрын

    Love the Danganronpa music when explaining something, also I am so glad you are starting to pick up subscribers wise. You deserve it.

  • @CausticCatastrophe
    @CausticCatastrophe Жыл бұрын

    We appreciate the work you put into these videos. love the balance of the explanation.

  • @Squish_Squash
    @Squish_Squash9 ай бұрын

    I'm not gonna lie I've been binging all of Acerola's videos because they are so interesting to me as a budding computer science major. I'm not sure if I'm going to end up in a similar field working with graphics like this, but I find it so much fun to learn about all these difference effects and shaders you can add onto images and games, and the math and code behind them. I wish more people knew about this channel!

  • @robertviragh6527
    @robertviragh65276 ай бұрын

    Only watched the first 14 seconds but you're right, telling computers what to do just makes up for our own inability to do billions of calculations per second, glad to see someone understand what programming is all about.

  • @kuroi_iruka
    @kuroi_iruka Жыл бұрын

    I am going to steal "I hope your milk is one day expired" the next time I need a sort-of-but-not-too-threatening insult. Thank you. (Also great video as usual.)

  • @wizard_fu
    @wizard_fu6 ай бұрын

    i love the rant about branching at around 8:45. acerola, you are the best

  • @bzikarius
    @bzikarius8 ай бұрын

    hey! You did great work/compilation of ideas, and thanks for sharing them for free!

  • @xelshade
    @xelshade Жыл бұрын

    Excellent excellent video. Learning a ton from this as a young tech artist on the job. Also desperately trying to optimize a custom postprocessing effect that costs 5ms at the moment…Relating hard to both of your freeze frame rants right now.

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    That's exciting! Unfortunately I wont be able to do post processing work at my job for a looooong time. Hope you can get it faster

  • @TrancorWD
    @TrancorWD10 ай бұрын

    Funny, I wrote up a kuwahara filter in shadertoy right around when you released this. Yet if I had seen your video would have implemented paparis color weighting math. The thing I like about kuwahara is that you can get edge values relatively cheep when running the sampling and finding the color deviation. Even tangent values of those edges, for things like embossing effects. All in a single pass through the kernals This is still one if my favorite styles that is basically free in how its set up for everything it can do. The inate style of the noise reduction, so purrrddy!

  • @ComplejamenteSimple
    @ComplejamenteSimple Жыл бұрын

    That was great storytelling. Thanks!

  • @slein_grobaaf
    @slein_grobaaf Жыл бұрын

    killer video and use of the filter - thanks

  • @cansutamer2009
    @cansutamer2009 Жыл бұрын

    Amazing video!! And absolutely rocking the omocat shirt 😌👌

  • @mooncatcher_
    @mooncatcher_ Жыл бұрын

    You did such a good job on this video

  • @pomponi0
    @pomponi0 Жыл бұрын

    Nice! Back in 2019 and with no previous knowledge of denoising algorithms I wrote a filter with a similar, yet even less organic look than the box kernel Kuwahara one.

  • @csxcatgirl9896
    @csxcatgirl9896 Жыл бұрын

    your vids are pieces of art, thank you

  • @lowresbones
    @lowresbones Жыл бұрын

    Damn, I love these videos!

  • @MarkDavidTeo
    @MarkDavidTeo Жыл бұрын

    As someone who produces realistic images from blender but wants to simplify detail as an artist, this video was relevant. I also play ffxiv and so was nice. I also make videos and jfc how are you so good. Editing and pacing were great. Hope this blows up big!

  • @dorktales254
    @dorktales254 Жыл бұрын

    best channel i've subbed to in a long time

  • @Xynteract
    @Xynteract10 ай бұрын

    Keep it going. This could be a new great courses class!

  • @solitudesf8111
    @solitudesf8111 Жыл бұрын

    Was just thinking yesterday that you should release new video immediately.

  • @jimmy9013
    @jimmy9013 Жыл бұрын

    i wish i had the bravery in your delivery, thankss good stuff

  • @jimmy9013

    @jimmy9013

    Жыл бұрын

    Carcass interview - Bill astonishingly good, bastards :)

  • @RedHedDes
    @RedHedDes Жыл бұрын

    Man, amazingly chaotic music choices I love it

  • @shi76b
    @shi76b Жыл бұрын

    you are seriously good at explaining things.

  • @chunkyquail
    @chunkyquail Жыл бұрын

    Great video. Amazing image effects.

  • @iluvpandas2755
    @iluvpandas27558 ай бұрын

    I love the kurahara filter’s look. It has a good detail retention.

  • @iluvpandas2755

    @iluvpandas2755

    8 ай бұрын

    I actually perfer it over the generalized kurahara.

  • @nathanlebon5813
    @nathanlebon5813 Жыл бұрын

    Thank you a lot king, you've made it quite clear and I just implemented the Kuwahara Filter on my mountains in Houdini thanks to you. Next step would be to make a 3D Kernel out of it.

  • @RCrosbyLyles
    @RCrosbyLyles Жыл бұрын

    Fascinating! Great stuff!

  • @lydianlights
    @lydianlights Жыл бұрын

    Aaaa that's so cool! The anisotropic filter is such a crazy idea I bet you could make some really wild stuff with anisotropic kernels. I feel like in another life I would have loved being a graphics programmer but alas it's just a hobby.

  • @Srcsqwrn
    @Srcsqwrn4 ай бұрын

    My computer works again, so now I can enjoy your videos again! c: I hope I can put use to some of them!

  • @TheMartiansLoveKuato
    @TheMartiansLoveKuato6 ай бұрын

    This is well presented, educational, and helpful.

  • @howardspeed3479
    @howardspeed3479 Жыл бұрын

    Great job dude, really educational. 👌

  • @DragonWistArt
    @DragonWistArt Жыл бұрын

    This channel is such an underrated gem.

  • @LE0NSKA
    @LE0NSKA6 ай бұрын

    what a random pleasent find. great stuff

  • @FatihTurkerFatih
    @FatihTurkerFatih Жыл бұрын

    You are doing spectacular job.

  • @paer124
    @paer124 Жыл бұрын

    Since KZread doesn't like me commenting the link to the Manifold Garden presentation you mentioned, whose researching had cost me hours and was a huge pain to find, I just want to say that I love your videos and want to send you the link to the presentation.

  • @Acerola_t

    @Acerola_t

    Жыл бұрын

    Some others have sent me the link already (including the actual graphics guy for manifold garden), but thank you so much for your time and effort.

  • @kaustik185
    @kaustik185 Жыл бұрын

    7:38 and now I have a song I had forgotten about stuck in my head all day. Thanks I guess.

  • @madcow5833
    @madcow5833 Жыл бұрын

    Not a patreon yet, but I liked and subscribed. And now I wrote a comment. Great stuff!

  • @McBreadbox
    @McBreadbox Жыл бұрын

    I’ve learned everything I know about game development from Aceroller! My FPS Voxel MMO is gonna be awesome when I finish his tutorial series

  • @binkbonkbones3402
    @binkbonkbones3402 Жыл бұрын

    Actually I've been looking specifically for this, this is extremely helpful, thank you. 👁👄👁

  • @TavishMcEwen
    @TavishMcEwen Жыл бұрын

    Glad to see another video :3

  • @technoo4891
    @technoo4891 Жыл бұрын

    Great video as always.

  • @simonstrandgaard5503
    @simonstrandgaard5503 Жыл бұрын

    Graphics algorithms, a hobby of mine. Love your explanations.

  • @_jonathancollins
    @_jonathancollins Жыл бұрын

    This is brilliant and inspiring! Thanks for breaking things down so well!

  • @dbbgba
    @dbbgba Жыл бұрын

    Yay! My CG rope behind Franco's head made it into one of your videos!!!

  • @jairorodriguezblanco615
    @jairorodriguezblanco615 Жыл бұрын

    These videos are like asmr, cheers

  • @lucolesco
    @lucolesco Жыл бұрын

    I wish I could understand half of the things said in the video. Great video!

  • @p3tro
    @p3tro Жыл бұрын

    finding an amazing channel is goated :3

  • @theveryloosegoose
    @theveryloosegoose10 ай бұрын

    As someone getting into painting, the Basic Kurosawa filter feels like it'd be good enough by itself. Like, you get rid of some detail off of your reference and then use that easier image to do a painting. But still, the generalized and anisotropic versions look awesome.

  • @valles6903
    @valles690329 күн бұрын

    "papers, please" ahh filter good work man! ❤

  • @BeaNoodl3
    @BeaNoodl3 Жыл бұрын

    The almost all persona bgm for the music choice is awesome

  • @floatytrouty
    @floatytrouty Жыл бұрын

    The ink drawing aesthetic is looking amazing

  • @fiveoneecho
    @fiveoneecho9 ай бұрын

    Wow using the eigen vectors of the structure tensor is actually really smart… That’s really cool!

  • @totidoki05
    @totidoki057 ай бұрын

    finally some love for the kuwahara filter, i'm stunned it is so underused, zelda skyward sword used it on the wii and it was awesome! though on the switch release they didn't change the kernel size to fit with the increased resolution so it's almost non existant, making a huge visual feature of the game forgotten now. I'd love to see new uses of it like you showcased!

  • @morganlak4337
    @morganlak4337 Жыл бұрын

    Tbh I'm much more interested in the texture space version of the effect! It's cool in real time, but you give up a lot of control as an artist, and it's never fun to fight against your art pipeline to make things look good. Excited for the next video!

  • @steubens7
    @steubens76 ай бұрын

    the manifold garden edge shader stuff is from siggraph 2020, "that's a wrap"; the section that starts around 10 minutes

Келесі