Linear interpolation and resampling | Image processing

  Рет қаралды 10,223

Edgar Programmator

Edgar Programmator

3 жыл бұрын

Bilinear interpolation in image processing. Resampling data using linear interpolation.
Slideshow: isedgar.github.io/linear-inte...
Reference: en.wikipedia.org/wiki/Linear_...
JS demo: github.com/isedgar/interpolation
My Instagram: / edgardocpu

Пікірлер: 14
@Leon-pu3vm
@Leon-pu3vm 2 жыл бұрын
Lovely video thank you very much!
@EdgarProgrammator
@EdgarProgrammator 2 жыл бұрын
🙏
@AliHamza-xp8uq
@AliHamza-xp8uq 2 жыл бұрын
Great thank you for your video 😊
@EdgarProgrammator
@EdgarProgrammator 2 жыл бұрын
👍 Thank you
@matinfazel8240
@matinfazel8240 3 ай бұрын
very helpful :))
@ckcson1
@ckcson1 Жыл бұрын
Hi Edgar, I'm sorry for bothering you again. I'm doing some study on coordinate conversion and find out that there is another way to decide the resampling location which is calculate the center location first. once we get the center location , then we can calculate the pixel distance to center location and multiply the distance by scaling factor to form a new position. for example , if center location is x=4 , then X' = (x-4) * scaling factor . do you have any opinion for this kind of resampling method? does it matched the alignment you talk in the video ? nice to see your feedback.
@NeoZondix
@NeoZondix 3 ай бұрын
You're Chopping it
@ckcson1
@ckcson1 Жыл бұрын
Hi, Thanks for your sharing . It's very helpful :) However I'm so confusing when you are talking about " to align with the default point" begins in the video 2:30 . I'm just not sure what exactly "Align" means and how does it work. Here is my thought ( should be wrong) for interpolating from 3 point into 4 points. Initially we have X= 0 , 1 , 2 (3 points, 2 intervals) , then why don't we just fixed the boundary X=0 and X=2, then split the whole intervals into 3 equally distance parts ? ( 4 points, 3 intervals) If we do that, then we should have X=0 , X=2/3 , X=4/3, X=2 for new 4 points.(instead of X= -0.125, 0.625,1.375,2.125) and The Y(gray value) will be 155, 173, 176,163 respectively. Could you shed some lights on it ? Thanks for your kindly response.
@EdgarProgrammator
@EdgarProgrammator Жыл бұрын
Yes, you are right. It is another form of linear interpolation. But the interpolated images won't look aligned (compared to the original image) if you do it that way. You can do the test. Thank you for your question.
@alicandogan1330
@alicandogan1330 Жыл бұрын
How we can find 0,625 | 1,375 | 2,125 ? I don't understand this, please help me about that
@ckcson1
@ckcson1 Жыл бұрын
You can just simple solve the equation by assign n from 0 to 3
@Bu11et_Hel
@Bu11et_Hel 6 ай бұрын
P-1, P-2. ULTRAKILL brain rott
@miladgoudarzi775
@miladgoudarzi775 Жыл бұрын
gave you a thumbs up, but next time please narrate the video by a human and not a machine. Thanks.
@EdgarProgrammator
@EdgarProgrammator Жыл бұрын
🙏
Cubic interpolation and resampling | Image processing
8:08
Edgar Programmator
Рет қаралды 10 М.
Resizing Images - Computerphile
9:22
Computerphile
Рет қаралды 468 М.
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 43 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 12 МЛН
Happy 4th of July 😂
00:12
Alyssa's Ways
Рет қаралды 67 МЛН
Image Histograms - 5 Minutes with Cyrill
5:16
Cyrill Stachniss
Рет қаралды 14 М.
Interpolation in 5 minutes
5:31
Graphics in 5 Minutes
Рет қаралды 16 М.
Windowing technique
32:12
Syed Saleem Feed The Needy
Рет қаралды 9 М.
Bicubic Interpolation - Computerphile
8:36
Computerphile
Рет қаралды 262 М.
Non-Linear Image Filters | Image Processing I
15:24
First Principles of Computer Vision
Рет қаралды 50 М.
Animation vs. Math
14:03
Alan Becker
Рет қаралды 65 МЛН
How I think about Gradient Descent
5:31
How I think about
Рет қаралды 1,4 М.
Lanczos interpolation and resampling | Image processing
4:24
Edgar Programmator
Рет қаралды 7 М.
Texture Sampling #2: Bilinear & Bicubic Samples
29:49
javidx9
Рет қаралды 23 М.
15 Sorting Algorithms in 6 Minutes
5:50
Timo Bingmann
Рет қаралды 24 МЛН
Rate This Smartphone Cooler Set-up ⭐
0:10
Shakeuptech
Рет қаралды 2,1 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 6 МЛН
Top 50 Amazon Prime Day 2024 Deals 🤑 (Updated Hourly!!)
12:37
The Deal Guy
Рет қаралды 1,4 МЛН
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 1,1 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 2,3 МЛН