Resizing Images - Computerphile

  Рет қаралды 475,027

Computerphile

Computerphile

Күн бұрын

Пікірлер: 413
@tiltedtesseract8210
@tiltedtesseract8210 8 жыл бұрын
"So there's a 3x3 image. It's- y'know, 's- high quality."
@Horny_Fruit_Flies
@Horny_Fruit_Flies 5 жыл бұрын
I couldn't stop laughing. It was the way he said it.
@TehBurek
@TehBurek 8 жыл бұрын
Bilinear sampling/scaling is used for almost everything[1] in modern real-time 3D graphics (3D games, etc.) because there are dedicated hardware parts for that operation in every GPU, and as such it's dirt cheap to use. Some games in some situations use nearest neighbour, usually for style, like Minecraft (blocky textures stay blocky however close you are). Back in the early-to-mid '90s it was usually nearest neighbour everywhere, because there was no GPU to help out, and CPU couldn't afford to waste cycles on interpolation math for every single screen pixel (one read, one write VS one read, three pairs of subtraction, addition and multiplication, and then write). Early 3D home consoles, like Playstation 1. did the same. The first Unreal game had an interesting approach (in its software rendering mode) - to use dithering instead of interpolation. In that way, no intermediate (interpolated) colours needed to be calculated, but the exact same source colours (like for nearest neighbour) were "shuffled" around to create an ilusion of gradient. So yeah, those were my 5 cents, maybe someone will find it interesting. (1 - trilinear and anisotropic just build on top of the same basic idea)
@Madsy9
@Madsy9 8 жыл бұрын
And yet it's soooo slow to do in a software rasterizer. Just as slow or slower than anisotropic texture lookups :(
@hivijay999
@hivijay999 8 жыл бұрын
Never seen a youtube comment this relevant and informative. Thanks :)
@TehBurek
@TehBurek 8 жыл бұрын
soylentgreenb Quake used 16 pixel intervals for perspective division to essentially "hide" that cost, because you had some parallelism between integer and floating point operations (done on FPU), so it dispatches perspective calculations, does inbetween pixels using integer math, and then the floating point results arrive just-in-time for next batch of pixels. Very clever :)
@StanleySathler
@StanleySathler 4 жыл бұрын
Thank you, man! I should confess most of these things I couldn't fully understand, but I clearly see a lot of valuable information here.
@aurelia8028
@aurelia8028 3 жыл бұрын
Oh wow. Most people only have 2 cents to give but you have 5! very generous of you
@hugomelchers9123
@hugomelchers9123 8 жыл бұрын
"If you're a pixel-artist, doing... uh, you know... pixel-art..."
@Exxag
@Exxag 4 жыл бұрын
Ah yes, finally somebody understanding what's really important at being a pixel artist!
@buizelmeme6288
@buizelmeme6288 Жыл бұрын
Sarcasm at its finest 🫠🤌
@SleeveBlade
@SleeveBlade 8 жыл бұрын
I just love this guy :). Brilliant at explaining these things. He makes a lot of stuff sound real easy, and in this case it really is, but on myself or by the usual professor it would definitely take longer to understand. Or maybe I just have a different kind of attention in class than while watching KZbin. And the graphics always are on point as well. Not too much info to distract, but right enough to consume the information easier.
@Computerphile
@Computerphile 8 жыл бұрын
+Xaab Xaa thanks, Mike will appreciate that & a lot of thought goes into those graphics! >Sean
@VivekGawande1
@VivekGawande1 8 жыл бұрын
Totally agree with you! He makes it seem so easy and explains it pretty damn good
@Squidward1314
@Squidward1314 8 жыл бұрын
Very interesting as always! :)
@ProfessorEisenoxid
@ProfessorEisenoxid 8 жыл бұрын
+Xaab Xaa I wanted to write the same but now I simply put my autograph under your comment!
@minihjalte
@minihjalte 8 жыл бұрын
Yeah i love Mike as well. He is great at explaining stuff.
@JohnMichaelson
@JohnMichaelson 8 жыл бұрын
Explaining bilinear and bicubic with the side view was very illustrative and conceptually helpful, thank you!
@RobustEnigma
@RobustEnigma 8 жыл бұрын
Damn I get so excited when Dr. Mike Pound is in the thumbnail. XD
@RobustEnigma
@RobustEnigma 8 жыл бұрын
***** the password video blew my mind. Even though I've known for a while the importance of a strong password, he just delivered the message so well. :D
@ManuLeach
@ManuLeach 7 жыл бұрын
RobustEnigma agreed! watched his password video this morning and then spent the next two hours changing all my passwords
@RobustEnigma
@RobustEnigma 7 жыл бұрын
Manu Leach hahaha, LastPass is my friend! 9+ for basics, 13+ for important stuff. Mike is awesome!
@Fingerblasterstudios
@Fingerblasterstudios 5 жыл бұрын
Sounds like you like to get taken to Pound town...
@rzeka
@rzeka 5 жыл бұрын
@@Fingerblasterstudios or Poundland
@schogaia
@schogaia 8 жыл бұрын
Mike is my favorite Computerphile member, I just love his videos
@stevesynan3910
@stevesynan3910 8 жыл бұрын
Why couldn't I have had teachers with such clarity when I was going through school? On some of these videos I gain more perspective in 10 minutes than I did with entire lectures in class. Keep up the great work, this channel is awesome!
@JeoshuaCollins
@JeoshuaCollins 8 жыл бұрын
I think of this kind of stuff every time I see a cop-drama where they have some low resolution image and then magically "blow it up" to get a license plate number or something else that was clearly not visible before. That's not how this works, television!
@kamoroso94
@kamoroso94 8 жыл бұрын
I know right, it's so annoying. I think only once have I seen a TV show where they blow up the image and it remains blurry.
@JeoshuaCollins
@JeoshuaCollins 8 жыл бұрын
Jay, I wanna restore your comment, but KZbin won't let me. He posted a great video of tons of examples from pop culture. Search "Let's Enhance" on KZbin.
@AceandDuce
@AceandDuce 8 жыл бұрын
Enhance!
@jmkyarrow
@jmkyarrow 7 жыл бұрын
Gotta love mystery diners!
@aDifferentJT
@aDifferentJT 7 жыл бұрын
If you have a low resolution video you might be able to do something.
@hesgrant
@hesgrant 8 жыл бұрын
Mike is just phenomenal at explaining how things work. What a brilliant guy.
@massimilianotron7880
@massimilianotron7880 8 жыл бұрын
A 9x9 parker square
@MrHSX
@MrHSX 8 жыл бұрын
+ To da top you go!
@Twitchi
@Twitchi 8 жыл бұрын
+ get this man higher up
@funny_monke6
@funny_monke6 8 жыл бұрын
+
@beginna
@beginna 8 жыл бұрын
+ I tip my hat to you.
@vamshidarisi8400
@vamshidarisi8400 8 жыл бұрын
hahahaha
@MrTxiz
@MrTxiz 8 жыл бұрын
more with Mike please! As a student of computer science I can tell that he is way more interesting to listen to than many of my professors!
@Capeau
@Capeau 4 жыл бұрын
Its 'simple' things like these we take for granted but when looked at closer it makes you realize how absurdly fast an average computer is these days. Being able to do this at a massive scale many times per second.
@andrewharrison8436
@andrewharrison8436 3 жыл бұрын
Underrated comment. You are right is my computer slow? or am I asking it to do too much? p.s. I remember when computers really were slow - programming games on a Commadore Pet
@007drak007
@007drak007 8 жыл бұрын
More Mike videos, please. This guy has so good explanations and the way of talking, just wow. Good.
@daledude66
@daledude66 3 жыл бұрын
Gee wonder why this has shown up in my feed today 😂
@Jan-f1e
@Jan-f1e 8 жыл бұрын
Really like this guy, he explains it so well and it's a joy to watch him talk about this stuff!
@ilzt8504
@ilzt8504 8 жыл бұрын
I understand the "basics" in the videos Dr Mike Pound is starring but the math itself I have no clue whatsoever. I wish my math teacher in highschool was as talented in the art of teaching. I find "math" intriguing but I got lost somewhere along the road some 20 years ago. As usual A+ Dr Mike Pound video :D
@DavidVaughan00
@DavidVaughan00 8 жыл бұрын
Unfortunately a lot of the math that goes into the topics he covers aren't high-school-level math. You should go check out some books and lectures online. Don't let crappy high school teachers stop your education :D
@jony7779
@jony7779 8 жыл бұрын
The animation at 7:49 was a brilliant clarification of what he was trying to get at.
@prasasus
@prasasus 3 жыл бұрын
The way he explained was outstanding!
@malteeaser101
@malteeaser101 8 жыл бұрын
I love this channel. I know about computers, and it confirms things I thought or gives me the small and fun details that you may not learn in uni.
@minxythemerciless
@minxythemerciless 8 жыл бұрын
Back in the day I did interpolation of wind fields on a map using a sparse set of weather station data. One of my algorithms was inverse-square weighted. I could use a selected set of weather stations to interpolate a particular grid point - even ones far away from the point. The inverse square effect made far ones negligible and heavily favoured near ones.
@emanwe01
@emanwe01 8 жыл бұрын
"But that's for another video" Gah! Again you tease us with a cliffhanger!
@FazilBTopal
@FazilBTopal 7 жыл бұрын
Dr. Mike Pound. I really enjoy when i listen to this guy. It is like he can explain anything to you. He was born to teach!.
@maxwellstrange9450
@maxwellstrange9450 8 жыл бұрын
Literally watch the videos for Dr. Mike
@prashanthvaidya
@prashanthvaidya 3 жыл бұрын
Do add this to the Computer Vision series. :) I see a lot more videos on CV but haven't been added to the playlist. Thankyou for making them. ^ ^
@kippers12isOG
@kippers12isOG 5 жыл бұрын
New to computerphile but I must say that this presenter is fantastic!
@DMSG1981
@DMSG1981 7 жыл бұрын
It actually helps A LOT to think of pixels not as points in the picture but as areas.
@latergator915
@latergator915 3 жыл бұрын
This man needs more books on his shelves.
@boofygoober
@boofygoober 3 жыл бұрын
Here are your court summons.
@Holobrine
@Holobrine 8 жыл бұрын
6:15 It seems that you could simply take a weighted average of all 4 points. You can calculate the distances with the Pythagorean theorem and scale them down proportionally so that they add up to 100%, and use the resulting numbers as weights.
@agentrsdg
@agentrsdg 7 жыл бұрын
This explanation is sooo much better than the one in the book I studied from! thanks!
@diegodejesusramirezrodrigu8671
@diegodejesusramirezrodrigu8671 5 жыл бұрын
The elements of statistical learning in the background, nice
@goommenter
@goommenter 6 жыл бұрын
Thank you computerphile. I know this is an old video but this video helped me to understand GIS interpolations.
@marcinsobianowski8385
@marcinsobianowski8385 6 жыл бұрын
"3x3 image. It's you know, high quality" lmfao xD
@woodywoodlstein9519
@woodywoodlstein9519 6 жыл бұрын
This is about the only guy I en joy watching in this series.
@-dash
@-dash Жыл бұрын
Nearest Neighbor is interesting since, in a sense, it allows for lossless scaling. If your scale factor is an integer, if you upscale, you can always downscale later on and return to your original image without any loss. I’ve found this to be a useful method for reducing analog noise in SNES captures since the noise gets averaged out (i.e. capturing at a 2x scale and transcoding losslessly to a 1x scale, allowing for arbitrary Nearest Neighbor scaling later on during post-processing). Nearest Neighbor gets most of its usefulness when paired with an integer scale factor.
@sebbes333
@sebbes333 6 жыл бұрын
6:12 Why just getting the interpolation in 1 direction, will it be better if you look sideways too?
@typedef_
@typedef_ 7 жыл бұрын
Since you mentioned zooming out, can you do a video on anti-aliasing ?
@jhwblender
@jhwblender 8 жыл бұрын
I'm excited to learn how resizing smaller works
@Wazzaps
@Wazzaps 8 жыл бұрын
A video about perlin noise would make my day!
@coolmoviewatcher
@coolmoviewatcher 8 жыл бұрын
I'd love to learn more about image scaling done by tools like Waifu2x that use things like "Deep Convolutional Neural Networks". Really, the images that you can get out of tools like these are AMAZING, especially when it comes to lineart and/or digitally produced art. I believe this particular tool was designed to upscale comic book pages.
@Andrew90046zero
@Andrew90046zero 4 жыл бұрын
deep learning ai: "Hold my beer"
@mathgeniuszach
@mathgeniuszach 5 жыл бұрын
Actually, if you're a pixel artist its a bad thing to use that form of nearest neighbor because you want to keep pixel aspect ratio. Good pixel artists will use what Sean says, where 1 pixel becomes 4, 9, 16, etc. I think the more practical form of nearest neighbor (and better illustration) is where 1 pixel becomes the center of a larger grid of pixels depending on your scaling ratio.
@Jokker88
@Jokker88 8 жыл бұрын
Usually when i want to downsize a photograph to release online the way i get the sharpest results with the least amount of artifacts (aliasing and moiré) is to first determine what my final resolution should be, say it's 1600 pixels wide, and the image is currently 5120px wide. What i do is i first upscale it to 6400px wide (which is 1600x4) using bicubic, then i usually blur the image just a tad using gaussian blur (with a strength of maybe 2px) then i usually sharpen the image a slight bit using unsharp mask and a factor of maybe 1.4. What this does is it reduces the amount of moiré in the final image, the blur and sharpening needs to be adjusted for each image depending on the content. Then finally i do a bilinear resize from 6400px to 1600px and it is the sharpest results i've ever gotten with the least amount of artifacts. I'm not really sure exactly why it produces a lot better results than from resizing directly from the original size but it does.
@roeesi-personal
@roeesi-personal 8 жыл бұрын
but what about, for example, the pixels with coordinate 8 in your example? to my understanding, it gets the color of pixel 2 in nearest neighbor, so then column 2 gets 4 new columns and column 0 gets 2 new columns, and that doesn't make any sense. the man behind the camera suggested much more reasonable idea, because in his idea every old column gets 3 new columns. also with bilinear there is a problem with these pixels because they aren't among any pixels, so what is done with them in this method?
@World_Theory
@World_Theory 8 жыл бұрын
Of course, there are plenty more methods for resampling an image: "Pixel Mixing" and "Box Filters" are a few of those. My favorite is Pixel Mixing though, but it seems that very few programs use it. Also, keep in mind that when you resize something, the program *should* (but too often will not) have converted the image to a linear RGB colorspace first, to do the actual math of the resizing, and then convert the image back to it's original colorspace. For most images tossed around on the Internet, the standard is to store them in the sRGB colorspace, which is not a linear colorspace.
@rorypenstock1763
@rorypenstock1763 2 жыл бұрын
After seeing this, I feel like I could actually implement it. Great explanation.
@Taras195
@Taras195 8 жыл бұрын
Can't wait to see he video on the other interpolation methods
@roi12555
@roi12555 6 жыл бұрын
how do you scale down? I didn't understood how is it the dual to the problem
@rich1051414
@rich1051414 3 жыл бұрын
For linear interpolation between two points, the actual formula is: pixel1 + (pixel2 - pixel1) * weight
@Danicker
@Danicker 3 жыл бұрын
That's just another way of saying the same thing. The way Mike phrased was pixel1 * (1-weight) + pixel2 * weight. They are equivalent expressions
@JimCullen
@JimCullen 8 жыл бұрын
Awww. I hope bicubic is coming soon! That looks really interesting! This whole video was really fascinating, to be honest. I had always just assumed it worked in that way Sean Riley described it at the beginning: that way that's similar to but not quite the same as nearest neighbour.
@fe4000
@fe4000 8 жыл бұрын
Great video, as most of them. You know what would be funny to do? The "paper change" moment that happens in some of the Numberphile videos. =D
@appu6517
@appu6517 Ай бұрын
liked before watching since the same tutor easily make me understand the demosaicing 🙂🙂
@rob4214
@rob4214 8 жыл бұрын
Could you leave a link showing what the scaling looks like for the differing techniques?
@bob32qwerty
@bob32qwerty 8 жыл бұрын
I'm curious as to why you used 50 fps instead of 60. Is that still the standard in the UK?
@Computerphile
@Computerphile 8 жыл бұрын
+bob32qwerty yep, see the linked 'fps' video for reference :) >Sean
@colbortson
@colbortson 8 жыл бұрын
Its the standard in europe, since we use 50hz electricity instead of 60hz. With digital stuff it doest matter as much as analog stuff from the past, but it somehow stuck around.
@itsukarine
@itsukarine 8 жыл бұрын
Computer monitors too? That seems like it'd be detrimental to any lower-wage competitive gamers when everyone else has monitors that provide ~17% more information. Though I guess you guys would just buy them from Amazon anyways generally
@itsukarine
@itsukarine 8 жыл бұрын
ty
@ba_livernes
@ba_livernes 8 жыл бұрын
I'd also guess it doesn't matter like at all. Ten extra hertz wont tell you much more informations
@frankbucciantini388
@frankbucciantini388 2 жыл бұрын
A short TL;DR: PointResize() -> i.e nearest neighbor, crappy BilinearResize() -> Better, but blurry BicubicResize() -> Sharper, but with ringing LanczosResize() -> Slightly less sharper than bicubic, but with way less ringing BlackmanResize() -> Same as Lanczos but with less ringing Spline64Resize() -> Sharp and with little ringing (slightly prone to aliasing) Nowadays what it's used is something like NEEDI3 (Neural Network Edge Directed Interpolation 3) which uses a Neural Network to upscale images rather than applying normal resizing kernels. Of course there are other resizing kernels like GaussResize(), SincResize() etc but they're for different use.
@-dash
@-dash Жыл бұрын
Nearest Neighbor isn’t always crappy. There’s a video demonstrating that on my channel. That footage would look like garbage were it not for Nearest Neighbor.
@ELYESSS
@ELYESSS 8 жыл бұрын
That is awesome, I was googling image resizing algorithms a few hours ago.
@Bugside
@Bugside 8 жыл бұрын
what about the upscaling done in emulators, like Super Eagle 2, SAI...
@TheKmert
@TheKmert 8 жыл бұрын
Really nice explanation, but I would love to see the graphical result of these re-sizing methods
@Alex55555
@Alex55555 8 жыл бұрын
Explanation is very concise and simple.
@PixelOutlaw
@PixelOutlaw 8 жыл бұрын
Programmers who have implemented Perlin Noise are VERY familiar with pixel interpolation. :D "smoothstep" interpolation is preferred over linear most times for Perlin.
@MichaelGraves3304
@MichaelGraves3304 8 жыл бұрын
I'd love to see an explanation of the fractal scaling process that was used in the 90s. Lizard Tech owned the technology at one point. It was used to take early digicam images to post sizes or larger.
@22BIKS
@22BIKS 8 жыл бұрын
thumbnail is just legendary
@DEWGOFFICIAL
@DEWGOFFICIAL 8 жыл бұрын
Deep learing algorithms like waifu2x have a lot of potential for upscaling images. They are also a way to add real "new" information to images when upscaling. And for video there is Superresolution of course.
@JeoshuaCollins
@JeoshuaCollins 8 жыл бұрын
Superresolution is just a bigger image displayed in a frame which is smaller in size, right? That does involve resizing, but it has nothing to do with upscaling. The source image isn't made small then scaled up, it starts huge and scales down. Similar, but very different concept. In upscaling you're (re)creating information that was not there, while in downscaling you're selectively throwing out information and fitting the remainder to a smaller grid. I mean, it uses the same algorithms, but the intent and usage behind it are not the same as what is being described in the video. Waifu2x does seem interesting, but one must be careful how one trains deep learning algorithms. The name Waifu makes me think they trained it on manga and anime pictures, so it would probably be more suited to rescaling cartoons, and might have strange artifacts when working on photographs.
@JeoshuaCollins
@JeoshuaCollins 8 жыл бұрын
DEWG Ah yes. That's why I asked if you meant the same kind of superresolution that I knew of, since it seemed odd you would be bringing it up in a discussion of "upscaling", when it's quite clearly the inverse of that and by no means a novel application of scaling in general. On the other hand, this superresolution that you just showed me is pretty interesting. It's not so much a novel application of upscaling as it is a different idea, entirely. It requires multiple slightly different images tho, so would be more applicable to video than images. It might be useful for professional photographers, but if they truly care about the deep resolution of their images they would likely be using film.
@Vulcapyro
@Vulcapyro 8 жыл бұрын
_"The name Waifu makes me think they trained it on manga and anime pictures [...]"_ _"If you're training entirely on road signs, then it may be helpful in up scaling road signs, but it'll fair horribly at reconstructing a face."_ They never said otherwise. That's exactly how it works.
@JeoshuaCollins
@JeoshuaCollins 8 жыл бұрын
Vulcapyro Not badmouthing it, by any means. I made that comment before I even looked it up... and I was right.
@soylentgreenb
@soylentgreenb 8 жыл бұрын
You can indeed add new "real" information while upscaling. But it will be domain specific or wrong. Google "google deep dream"; you can go looking for cats in a picture of grass, and you can find them and put cats in there. If you're upscaling and allow a neural network not specifically trained on grass to fill in the missing pixels while upscaling, you'll just end up with a lawn full of cronenbergs.
@liamh1621
@liamh1621 5 жыл бұрын
Fun fact: the thumbnail for this video was actually a rejected cover design for I Have No Mouth And I Must Scream.
@neofintch2
@neofintch2 8 жыл бұрын
British Toby McGuire sure knows a lot about computers.
@dykam
@dykam 8 жыл бұрын
Wouldn't the default assumption be that pixels are "in the middle", the pixel at 0,0 is really rooted at 0.5,0.5, so scaling it 3 times makes it 1.5,1.5. Which for demonstration purposes makes nearest neighbour much more intuitive and correct to what actually happens. As the example @ 2:58 is properly wrong, somehow scaling by a factor of 3 gets you a 2*2 scaled pixel in the topleft? I assume it's an oversight, but it stuck out to me.
@basteagui
@basteagui 8 жыл бұрын
this is a bit too simple for me since i already knew this but i am excited for the bicubic interpolation video. i'll definitely watch that one
@MrTridac
@MrTridac 8 жыл бұрын
When Mike is in the thumbnail, there's no scrolling further.
@Twitchi
@Twitchi 8 жыл бұрын
That cliffhanger ...
@asdfghyter
@asdfghyter 5 жыл бұрын
I was kind of disappointed that you didn't show an example of how a scaled image with bilinear (and bicubic) interpolation would look, preferably the same image that was used as an example of nearest-neighbor. Other than that, great video as always!
@Willzp360
@Willzp360 8 жыл бұрын
Another great video! It would be helpful to see some animations to show how each sampling type changes the look of a 3x3 array into the output array, just for intuition
@wintersummers3085
@wintersummers3085 8 жыл бұрын
I really like his watch
@gibbytravis
@gibbytravis 3 жыл бұрын
I would love this revisited in light of the Rittenhouse trial, and types of interpolation, and whether or not they are adding information that didn't exist in the original or if they are true the original source.
@tompov227
@tompov227 8 жыл бұрын
I'm honestly a fan of 50fps 60fps sometimes sickens me if i watch it too long but 50 is a nice balance between smooth and calm good job england
@unvergebeneid
@unvergebeneid 8 жыл бұрын
Blind test or it didn't happen ;)
@unvergebeneid
@unvergebeneid 8 жыл бұрын
Crazy Luigi Are you saying the bandwidth on KZbin doesn't scale accordingly for 60fps?
@crazyluigi6664
@crazyluigi6664 8 жыл бұрын
Penny Lane Only when it has that option altogether.
@EllipticGeometry
@EllipticGeometry 8 жыл бұрын
Most computer monitors refresh at 60 Hz. On those, 50 fps causes a lot of judder, especially relative to the smoothness it has otherwise. As far as I'm concerned 24/25/50 are basically a relic of traditional filmmaking and PAL television. It's a little sad that many professionals take this practice to a context where it doesn't belong.
@EllipticGeometry
@EllipticGeometry 8 жыл бұрын
Penny Lane The power grid hasn't been used as a reference in forever. It might help if you want to synchronize exposures to those types of lights. In that case you'd better make sure there the rate is actually synchronized and you have a global shutter. A variable refresh rate gets slightly hairy. Monitors need predictable timing to function optimally. Things like overdrive can only work properly when you know the timing of the next refresh. If the refresh comes sooner than expected, you could have overdriven harder. If it comes later, you end up overshooting. Tech like G-Sync isn't perfect because it has to deal with this. It's also more difficult to get consistency with multiple screen updates. Suppose there are two updates within a millisecond of each other. If the first one triggers a refresh, the next one suffers an unpredictable and inconsistent delay. You pretty much need exclusive/dominant access to reap the benefits. I'm sure it will eventually become commonplace. Just know that it isn't as simple as it may seem.
@Navitron
@Navitron 8 жыл бұрын
That cliffhanger. Love these videos. Would be cool if you could do a video on neural net upscaling algorithms like NNEDI3 and Waifu2x also.
@kennynvake4hve584
@kennynvake4hve584 5 жыл бұрын
This guy is the fastest thinking person I have ever heard.
@ZipplyZane
@ZipplyZane 8 жыл бұрын
I hope Bicubic also brings up the other methods of which bicubic is just a special case of. And then there's the spline method. And then the lineart methods like hqx and such. They try to only use colors from the original.
@pixel3000nerd
@pixel3000nerd 8 жыл бұрын
What about how image blurring works? Like when one uses Gaussian Blur in something like Photoshop or Paint.NET
@martin231199
@martin231199 8 жыл бұрын
It looks like there is a rounding error at 5:06.
@OMARYassin1
@OMARYassin1 6 жыл бұрын
Yes, it really pissed me off Where is @numberphile from this?
@sareen1331
@sareen1331 6 жыл бұрын
The first book at the back is Elements of Statistical learning. I wish someone makes lectures for that.
@vishu226
@vishu226 7 жыл бұрын
This helped me understand a Computer vision concept. Thanks!
@janakiraman5232
@janakiraman5232 5 жыл бұрын
Bro can u explain this concept? I can't understand
@orbik_fin
@orbik_fin 8 жыл бұрын
I was hoping for a follow-up that explains that in common computer images pixel values (0-255) are NOT intensity values, and should not be interpolated directly. They are gamma-encoded, and should first be translated to linear intensity values, interpolated, then converted back. For example, middle point between 0 and 255 is 187, not 128 (or 127.5)
@BazicShotz
@BazicShotz 8 жыл бұрын
I think he knows that but he isn't talking about it because it doesn't help explain the topic of this video.
@UnashamedlyHentai
@UnashamedlyHentai 8 жыл бұрын
Did not know that. Thanks for that info.
8 жыл бұрын
The most important part he didn't explain, how to scale down images without creating blockiness or moiré.
@marcan42
@marcan42 8 жыл бұрын
Bilinear filtering doesn't work for downscaling images, especially not for factors
@ernestwagner6842
@ernestwagner6842 6 ай бұрын
Love ow you explain IT. Great stuff!
@oisiaa
@oisiaa 3 жыл бұрын
How do you downsize an image?
@Mobin92
@Mobin92 8 жыл бұрын
How about an algorithm that uses linear interpolation if the 2 original pixels have a similar color, and nearest neighbour if the colors are very different? So gradients would stay nice, while edges would be preserved.
@albertdandl
@albertdandl 8 жыл бұрын
Ha - finally someone could explain that to me so that I understand it. Thank you! Have you done a video on Photoshop bending (screen, multiply, etc) - can you think of doing one? I like the way you explain it.
@shadfurman
@shadfurman 8 жыл бұрын
Is the track paper standard use over there? I really miss track paper. I think I may get a box to see if I like it over a chalkboard.
@djsigmann
@djsigmann 4 жыл бұрын
What kind of paper is that? Everyone featured on computerphile seems to use it.
@flamencoprof
@flamencoprof 6 жыл бұрын
I have often rotated digital photo's of LP covers to get nicely aligned pix. Now I think it would be better to leave them sloppily aligned, but more digitally accurate.
@izzieb
@izzieb 8 жыл бұрын
How about fractal based image compression? I think it'd be quite useful in the future.
@hannovb5379
@hannovb5379 8 жыл бұрын
how so?
@izzieb
@izzieb 8 жыл бұрын
+Integral Cube It means that you can enlarge images more easily with less apparent loss in quality. Only thing is you have loss quality as it's more of an approximation than anything of the detail that was there.
@MushookieMan
@MushookieMan 8 жыл бұрын
Do you mean fractal based scaling, rather than (file) compression? Since most real images vary smoothly at small scales as far as the human eye can tell, I think smooth curves make more sense.
@gabslefloch755
@gabslefloch755 8 жыл бұрын
He's so good at explaining, thanks!
@ebrahimnejati7694
@ebrahimnejati7694 5 жыл бұрын
I wonder how would it in nearest neighbor if the new pixel is exactly in the middle. Basically happens when scaling ratio is an even number.
@Treblaine
@Treblaine 8 жыл бұрын
ahh, so close to covering bilinear vs trilinear filtering that is the choice almost every video game offers yet I never understood why.
@descarteslancaster9843
@descarteslancaster9843 3 жыл бұрын
What if the scale factor is fraction or less than one? is this method still can work?
@millomweb
@millomweb 5 жыл бұрын
I think my best analogy to this is like driving on the wrong side of the road. You can do it but that doesn't mean it's right.
@RealMcDudu
@RealMcDudu 6 жыл бұрын
I don't understand what you say about scaling down... if I scale down there's no more "pixel values that sit in between the original pixels". I have to throw away some of my original pixels, and map them differently. Maybe if it's a x2 down sizing, take an average of every 4 pixels in the original image to represent 1 pixel in the down-sized image.
@dennisthegamer2376
@dennisthegamer2376 6 жыл бұрын
What is with the alpha value, when doing the linear interpolation?
@end-quote
@end-quote 7 жыл бұрын
LOL the thumbnail, "When you start feeling it"
Deep Learned Super-Sampling (DLSS) - Computerphile
15:34
Computerphile
Рет қаралды 421 М.
Cracking Enigma in 2021 - Computerphile
21:20
Computerphile
Рет қаралды 2,5 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Texture Sampling #2: Bilinear & Bicubic Samples
29:49
javidx9
Рет қаралды 25 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
Harder Drive: Hard drives we didn't want or need
36:47
suckerpinch
Рет қаралды 1,7 МЛН
TWISTED: The dramatic history of twisted-pair Ethernet
28:30
The Serial Port
Рет қаралды 425 М.
Why does this balloon have -1 holes?
32:40
Stand-up Maths
Рет қаралды 1,3 МЛН
Bicubic Interpolation - Computerphile
8:36
Computerphile
Рет қаралды 266 М.
How to Resize an Image for Large Prints
9:11
Pixels and Grain
Рет қаралды 156 М.
How Ray Tracing Works - Computerphile
20:23
Computerphile
Рет қаралды 100 М.
Tunnelling through a Mountain - Numberphile
8:06
Numberphile
Рет қаралды 721 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН