This is the Difference of Gaussians
Vložit
- čas přidán 23. 12. 2022
- In the realm of image based edge detection, aesthetically pleasing edges are hard to come by. But, what if we could get stylized edge lines by just blurring our image twice?
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:
users.cs.northwestern.edu/~sc...
Music:
Sandgem Town (Day) - Pokemon Diamond OST
Joy - 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
Soft Oversight - Sonny Boy OST
Summer Storm - Sonny Boy OST
ソウとセイジ - Sonny Boy OST
arrow in thumbnail drawn by thlurp
Thanks for watching!
This video is dedicated to my friend, Alotryx.
#acerola #graphics #gamedev #unity3d #graphics #shaders - Věda a technologie
Acerola: as you can see, the fine detail gets preserved
Me, watching on 144p on mobile: Undoubtedly
This channel produces consistently entertaining educational videos that feel like total shitposts and I couldn't ask for more
Agreed. Instead I would like to ask for less goblin sharks.
@@PropaneWP I would like to ask for more
This channel is the difference of gaussians
Moar dog, plz.
When you randomly come across a tech channel... Dig the presentation style and watch more... Only to find one of your old papers being the topic covered in the video 🤯 The pronunciation of my name leaves something to be desired, but the rest of the explanation and delivery was something I only wish I would've had the skills or time for back then! Super well done 👏Keep up the good (and entertaining!) work
omg how flattering, your work is by far my favorite post processing effect I've implemented
sorry about pronunciations! I try my best lol
This is the difference of gaussians
The difference of gaussians this is
Of gaussians the difference this is
This Difference is Gaussian of the
Different this of is the Gaussians
This is the difference of gaussians
This video, particularly the edge tangent flow and line integral convolution, helped me out a tremendous amount with my job, and led to a breakthrough in a problem I was working on. This is particularly surprising, considering my work has nothing to do with video filters - but it's not an exaggeration to say this saved me weeks, maybe months, of fumbling around. Thanks mr aceroller :)
omg thanks so much!! I'm glad I could help out.
Now im very curious to know what was the work. Can you say it?
Finally, a video that explains what the D.O.G. doin'.
This video fascinated me as a mechanical engineer to see a different application of all the various math tools we were taught for things like controls and dynamic systems. Everytime a new term I knew came up I got hyped. "We can use this tensor" omg yes! _Sick!_ "and then use these eigenvectors" *YYEEEEEESSS!*
Glad to know at least 1 viewer knows what a tensor is
PROVIDENCE! it's me frank
@@user-me7hx8zf9y Frank! Wow, fancy you finding me all the way on this other side of the internet. You've always been a man of good taste.
Randomly changing cross hatching direction in real time every frame (or every few frames) might give you an animated look, like its being redrawn or something
I do think that's the thing that'll really drive the effect home for real time, animating it in a way that doesn't look awful
@@Acerola_t yeah, i wonder if there’s a way to get that kinda worbly line effect that animated objects have when theyre redrawn, in a way that isnt super expensive
@@khing5720 maybe by selecting the cross hatch direction locally with some kind of continuous but varying noise? Varying the noise parameters could vary the "wobble" effect's intensity and frequency. Maybe you could make it totally random temporally so it looks like it's being re-drawn every frame (or every several frames)
I'd simply make the crosshatch mask an animated loop that wiggles nicely lol
You would probably want to lock the framerate of the changing crosshatch texture to something low, like 12 fps. Maybe make it dependent on a motion vector extracted directly (good luck) or derived from depth & normal buffers.
Incredible, you made me interested in signal processing after 2 teachers bored me to death with it
If only your channel existed 15 years ago.
@@owa1985this would be too high quality for a channel of that time
The intersection between art, math, and computer science here is amazing.
You are absolutely crushing the dead center of the "wildly entertaining meets comprehensively informative” Venn Diagram🙌
I feel like some of these DoGs could make a cool horror game setting, the high contrast could lead to interesting atmospheres
I can only answer this question with "Yes." Thanks to how chonky the Dog is from all those settings, especially double or.... three way dogs, you can get away with forcing a lot of interesting color choices/patterns but there is definitely a lot of fine tuning required. Like many hours of it -_-
There's a detective game called "Return of the Obra Dinn" with a similar style. I think they use dots and dithering moreso than edge detection
@@1224chrisng I really don't think Obra Dinn used DoG's except for maybe some edge detection.
if you had a quantum computer, you could try all variations of the parameters at once, and then use the quantum reverse fourier transform to extract the one that you think looks the best using a neural network trained on your preferences
At first I thought this was just an insane joke, but then I realized this could be totally possible! We just need a NN designed for dealing with quantum sines, allowing us to connect it directly to the superposition, no need for FFT!
As something of a cultured nerd myself, I approve of this technobabble 👍
This is top tier content. I'm eternally grateful for a great knowledge you've provided Acerola. I can't stop thinking of an infinite possibilities this technique provides
i think it'd be super cool to use the vector flow field to drive the rotation for the crosshatching texture, with the first and darkest layers being parallel to the VFF and the additional layers being varied parpendicular angles rather than random rotation. This would give you a more accurate crosshatching pattern that takes form into account rather than just using raw values.
I love those references to Tatami Galaxy and Monogatari in the editing of the video! Also the topic is presented in a very clear way, it really makes me want to code it up myself
Same. Also the whole style is a Monogatari reference and so is the name of the channel
"in signal processing" triggered my fight or flight
Calling it the DOG is way funnier to me than it should be. I don't really care about shaders, but calling it the DOG kept me watching.
Also loved those transitions, this is a well-made video :)
Love the references to Monogatari series and Tatami Galaxy! And love the use of Persona music too!
The explanation is very good too, I should try watching it when my brain isn't melted due to lack of sleep though
idk why but the arrow with the transparent background got me better than anything else today. very silly and good comedy
What a banger video! Not only did you manage to reteach me complicated topics I had encountered in a more intuitive way, supported by examples, but also you manages to sustain the feel of a casual conversation throughout. What a video. Subscribed.
"It's kinda like the stellaris tech-tree" "Image processing / stellaris" is the intersection of topics I would've expected to see on youtube when I woke up this morning
First video i watched from you. The explanations are technically in depth but still easy to understand. This makes me want to watch more Videos and learn more about the topic. Great work
That's so crazy that artstyle can be defined by equations and numbers. To be able to bridge art and logic is mind blowing
I'm a simple guy. I see Tatami Galaxy, I like.
I love the pencil cross hatch! Please continue making more videos!
You're a seriously great communicator. I wish I had this back in my undergrad visual computing classes.
crazy dedication man, not sure how many other creators have invented a time machine to improve their stuff, but you're part of a select few
Thanks man. Had a hard time recently to stay motivated so I started playing around with webGPU and some of your filters as a side project. I'm really having a blast with it thanks to you. Hope you are doing well, bro!
Thanks! WebGPU is definitely in need of some implementations of these effects
This is awesome! I love how you actually go into the technical details.
Woah. I think that you already have the best stylization! The crosshatch really got me. Incredible work
One of my new favorite channels to watch! Funny and educational
god i just love these videos so much. please keep it up
You are special, I enjoy how much you seem to enjoy making these :)
Amazing!
Yeah, that's all I have to say for now - I haven't worked much with this stuff myself, but watching this has made me excited to explore further.
Wonderful channel! Please keep making these videos!
Phenomenal video, one of my favourites of yours yet!
Finally, he’s back
yes
That moment at 1:35 with the chicken has me dead. I couldn't believe it. I was genuinely shocked it worked so well and the glasses just add that spice
I'm only 2:30 in, but holy cow, you have provided so much useful information that is easy to understand. Thank you!
Awesome and hilarious explanations of image processing! Congrats!
I didn't expect to find so many sonny boy reference in one of your videos. Pure gold.
Bruh. All your videos slap. I have no experience in this field or real understanding of how this stuff works, but your shit makes me laugh, get curious, and wanna try it for myself. I can't support you on patreon, but it'd be worth the money if I had it.
Very clear and amusing explanation. I like the format as well. Keep it up!
I really like the crosshatch and watercolor ones. Your videos are amazing!
I've spent two days watching this video on loop with the UE4 material editor open. Thank you for this information.
I'd recommend referencing the paper in my description for a more true to form description of the implementation as I do neglect mild yet important details for the sake of watchability.
Woah, that crosshatching style looked amazing!
I can't explain why, but this video feels like a masterpiece to me. Great work man, keep it up!
Mad props for using the Sonny Boy OST in the background, that show slapped!
I liked the charcoal pencil filter best, but it was all very cool! Thank you for another visually and mathematically interesting video!
Very cool! Happy holidays!
I don't regret my follow.
Literrally dying under math functions, but you answered so many questions i didn't know that they could have an answer in one go. That's amazing !
I love your channel! It's so useful as a learning tool to improve my shading ❤
I could totally see stuff like this being used for in-game cinematics! Like cutscenes, quick scripted action events, or just stylised screenshots. Could even go as far as a stylistic theme / visual concept for the entire game. In a game, you'd also have things like depth buffers and surface normal differences available to provide a guide for the "true edges", and I wonder if the algorithm could be adapted to use that as a form of guidance/correction.
Your passion for this is really showing through. I'll probably subscribe soon, but I'll watch another video or two first.
Best video of the holiday so far
I think my favorite was the last one, though I think there is a lot more to explore with color which can significantly elevate it for certain use cases.
Regardless, awesome video as always!
Love the videos, keep up the good work
Insane amount of work you did here. Thank you
Ok, time to playlist your whole channel. Thanks for sharing this.
I don't have enough words or actions left to praise you the minimum satisfactory for that high-quality content. Thank you ❤
Holy shit I LOVE the Tatami Galaxy reference :)
AMAZING video as always :)
Have I told you how amazing you are? Damn dude you're an inspiration!
Thanks :)
Goddamn the videos just get better and better
Absolutely amazing video! Subscribed.
Super interesting stuff! Keep it coming
This and your video on the Kuwahara filter is really making me wish I had some decent game ideas to try the techniques out on
Structuring the video with the tatami galaxy sequence is great
On top of the content itself, I always love your title cards!
woah ok so forget the title card the crosshatching blew me away
Keep up the good work, i learn so much from you!
Thanks so much!!
here again because my computer vision course brought up the difference of Gaussians, this vid is unironically super helpful for me now
This is some of the best content on CZcams
i really like your content, please make more of theses, thank you!
Opening ue5 to try implemet this method, i was using normal and depth diference for edge detection but this method is waaay more stylized and cool!! TY
Every episode are rising my love to math. Thank you for quality content.
Thankyou so much you intelligent gift to us editors and coders. This is ammazing
This is going in the Chanpions hall of stuff I listen to while drawing. I am enthralled
This is like a video from 2007, I love it so much.
wow. i don't understand shit yet i'm so fucking intrigued. unbelievable how much goes into something i just tick a checkbox for. we really do stand on the shoulders of giants like you.
wake up babe, new Acerola video
I found your channel with your grass generation video and honestly I am so glad I did. These videos are so interesting. Can the shaders made for the final fantasy game be easily applied to unity scenes and that sort of thing?
Yeah I render all the image examples in Unity in real time technically, I just blit the images to the Unity viewport and then apply the post processing effects through the camera onRenderImage hook lol
The Unity shaders are also linked in the description, but they aren't intended to be used as a production ready asset.
just found this channel. Loving it :)
This popped up in my home feed, and I'm glad it happened.
despite being Not-Smart about how these worked I had a lot of fun playing around with these before the recent gshade update (rip). putting a dither behind/before them (instead of after them) with the two-point interpolation turned on made for some really interesting results!
omg I never tried a pre dither, that sounds interesting
and yeah hopefully the gshade shader cloning returns, very upsetting.
@@Acerola_t If you set the amount of colours in the Dither pretty high you can end up with something a bit like a cel-shade oil puddle effect on darker colours
and, yeah... hard same. every single preset I have ever made, entirely unusable. feels so bad.
Ey yo
That monogatari opening tho
Nice
This video is my favorite yet
Currently my favorite channel
An amazing video as always!
I have been a big fan of your channel for a while now. I am a university student studying software engineering wanting to get into the video game industry. Your videos have really inspired me to focus my learning into graphics programming. I have tailored my schedule to take as many graphics programming electives as I can, but I wont be taking those courses until fall semester next year. Do you have any advice for me? Was there anything in particular that was really beneficial? Thanks for any advice you give. Your videos are so incredible. Have a happy new year!
I would just try and do as much in your free time as you can! The classes should help a lot, but what will get you into the industry is personal projects. For instance, my grass was a big portfolio piece that I got asked a lot about during my interviews.
Blessed be another video!
Two different Gaussians walk into a bar, because they can't see where they are going.
The three toned Swift image looks pretty slick. Woof woof.
I love your videos,please keep going.
Ace Rolla keeps on rollin'!
Absolutely cool script and edit !!
no idea why youtube showed this video to me, but it was fascinating-- great stuff!
the math looks so legitimately legit, you almost made me do math right here.
What an absolute goldmine of a channel. Fucking brilliant work 🌟🌟🌟🌟
i need to implement this, I've been looking for something like this
the blatant disregard for the arrow png transparency background in a video about digital signal processing applied to images conquered my heart
that intro is really good
the crosshatching look is really gorgeous imo, especially with color
why the hell this channel isnt a 100k subs one already
You don't know how much your video help me!
Dude, you're awesome! Thank you very, very much.
Acerola, tu é brasileiro?