How Image Compression Works

Поделиться
HTML-код
  • Опубликовано: 22 ноя 2024

Комментарии • 182

  • @oleksandrabaga799
    @oleksandrabaga799 4 года назад +59

    You have explained this in less than 10 minutes better than my professor for Image Processing in 90 minutes. Thanks.

    • @spark_6710
      @spark_6710 Год назад +1

      That's what I was thinking ,too !! Much lesser time than others which is incredibly needed for us as the most people don't wanna spend more than 15 ,or 10 minutes to watch videos on phone !! Some are super busy . 👍👍💜🥁🐉🎤🎶💞

  • @skymeister
    @skymeister Год назад +10

    a 2 hours course compressed in a 6 minutes video. well done!

  • @TheOnce2ever
    @TheOnce2ever 5 лет назад +60

    thank you so much I spent days trying to understand the compression steps and you illustrated them in minutes, I am so grateful

  • @mamadzhanov3326
    @mamadzhanov3326 4 года назад +24

    Thank you! You've shrinked my three uni lectures into 7 minute video!

  • @cats_lao_jiao
    @cats_lao_jiao 3 года назад

    The most easy to understand video I've found so far...after several days of struggling

  • @anirudhkundu722
    @anirudhkundu722 2 года назад +2

    And this was my entire semester, this is way better though

  • @stephenfairris4246
    @stephenfairris4246 4 года назад +4

    As a web dev completely new to image compression, I found this video a super helpful introduction, thank you!

  • @Lyf4rMusic
    @Lyf4rMusic 4 года назад +15

    Though I couldn't understand the complete explanation due to my lack of the knowledge on this particular subject, I got how it relatively woks :) Thank you for this video!

  • @danielaguiar9807
    @danielaguiar9807 2 года назад

    Oh my god someone finally explained it in a way that didn’t make my brain explode or fall asleep you have saved me

  • @NoobGamer-zr5cc
    @NoobGamer-zr5cc 5 лет назад +9

    U just made it very easy for most of everyone to understand image compression
    Thanks a lot man

  • @ganishk3568
    @ganishk3568 2 года назад +1

    More useful than I expected from the thumbnail 😅😅😅 I clicked this one since it is relatively a shorter one

  • @emrearkan9413
    @emrearkan9413 6 лет назад +85

    Nicely done! Had a couple of 'a-haa' moments while watching.

    • @leoisikdogan
      @leoisikdogan  6 лет назад +2

      Emre Arıkan Thanks! I'm glad to hear that.

    • @teeheee2
      @teeheee2 4 года назад +1

      @@leoisikdogan Dude, you are a real teacher. A real gem, above many others. Two videos in and my mind is blown again and again. Thank you!

  • @MrLamakei
    @MrLamakei 4 года назад +8

    duuude amazing content. My class covered this topic in like 2 seasons, 2h in total and you broke it down to 7 min. Well, to be fair it is also more detailed than this but nice overview of basic principles

  • @AbhinavanandSingh
    @AbhinavanandSingh Год назад

    RUclips should crown this human!

  • @Bastlzz
    @Bastlzz 3 года назад

    The first video on jpeg compression that actually explains why DCT is applied to the image

  • @noobie6784
    @noobie6784 4 года назад +1

    i have'nt expected that voice tone

  • @harleychesney7453
    @harleychesney7453 4 года назад +6

    I really enjoyed this video. I recently have delved into image processing for my work and this game me as many questions as answers. Great Stuff!

  • @antoniss1997
    @antoniss1997 3 года назад

    One of the best presentations I have ever seen

  • @mohammadatif1614
    @mohammadatif1614 10 месяцев назад

    you are so much great my professor only teach the compression technique but dont even explain when and how and why they are used m thanks to you i understand this now

  • @newbie8051
    @newbie8051 5 месяцев назад

    Read about this in my Image Processing class, but tbh we didn't had much time and clarity to this topic. Thanks !

  • @sumantopal558
    @sumantopal558 4 года назад +9

    I learnt more than
    my 30 lectures of my semester

  • @liquidmasl
    @liquidmasl 4 года назад

    you flew over the frequency/quantization stuff in no time and I finally understood! thanks!

  • @kushalgalipally3510
    @kushalgalipally3510 7 месяцев назад

    Amazing quick explanation. Thanks for the video!

  • @janzaibmbaloch5484
    @janzaibmbaloch5484 5 лет назад +10

    You've done such a great job, man!.

  • @errorerror1337
    @errorerror1337 5 лет назад

    Wow man, this is badass and a very thorough explanation! Not sure how this vid doesn't have a million views.

  • @immersiveparadox
    @immersiveparadox 3 года назад

    You deserve more subs. Never thought I'd be learning so deeply about a compressed imagine for my blog. Lol. Thanks!

  • @yashjadhav3135
    @yashjadhav3135 3 года назад +1

    Well explained! The way you illustrate the concepts is amazing.

  • @Mudsta
    @Mudsta 4 года назад

    You sir, are an absolute G! This was so clear!

  • @faranaktohidi7369
    @faranaktohidi7369 3 года назад +1

    Very nice explaining, so brief, useful, and understandable, thank you so much

  • @otonashi___
    @otonashi___ Год назад

    واضح يعطيك العافية thank you it was very clear

  • @NiMareQ
    @NiMareQ 4 года назад +1

    The information about frequency dependant contrast sensitivity is way too interesting. Would you please link more resources? I am mostly interested in the fact that it varies from person to person and as my curve peak is moved quite a bit to the right, I would want to know why.

    • @leoisikdogan
      @leoisikdogan  4 года назад

      It's indeed interesting. I've seen it in an image processing class taught by my doctoral advisor Alan Bovik. If I remember correctly, it was also covered in his book titled "The Essential Guide to Image Processing." You can also do a web search on the Contrast Sensitivity Function find more information about it.

  • @emmap4339
    @emmap4339 3 года назад

    very good explanation, will watch again to understand all the points.
    please look at fractal compression because it is as good at least for compression rate but have no information loss

  • @abhimanyu2842
    @abhimanyu2842 5 лет назад +2

    Thank you for making it easy and understandable.

  • @MrHellolenin
    @MrHellolenin 3 года назад

    your illustrations are very relatable...your voice is so clear...thank you for the videos....can you do a video on different image formats and different colour spaces?

  • @125delgado
    @125delgado 2 года назад

    Good information, This video was explained well. Thank you

  • @goroyeh56
    @goroyeh56 20 дней назад

    Hi, thanks for making this great video! May I ask what does each individual "value" in the 8x8 matrix mean in 3:47? Thank you!

  • @SaurabhYadav-nm9ju
    @SaurabhYadav-nm9ju 4 года назад

    I am doin this as my college project. Thanks a lot from India

  • @srujangoppu7860
    @srujangoppu7860 4 года назад

    Very informative!! and deserves more than a million views.

  • @princyyu7443
    @princyyu7443 Год назад

    OMG this saves my final exam! thank you sooo much!!!

  • @jerrywzc1246
    @jerrywzc1246 4 года назад

    You just saved my math essay! Thanks a lot!

  • @trav3ll3r
    @trav3ll3r 4 года назад

    That was such a great video on a topic that I didn't know was even interesting before now! Thank you for that!

  • @bensonk4038
    @bensonk4038 3 года назад

    wow great detailing .. please which software do you recomend for image compresions

  • @hkazxc7309
    @hkazxc7309 5 лет назад +3

    Very clear explanation~ Thank you

  • @anon8857
    @anon8857 3 года назад

    Woah ! This was an amazing watch!

  • @johneygd
    @johneygd 2 года назад

    Well the more those blocks getting quantized/blurred based on the frequenccy’s to remove, the more more blurrier the image will be,you could use sharpening to compensate for that but still.

  • @angelicamarino2883
    @angelicamarino2883 3 года назад

    This saved my life, thank you

  • @trench01
    @trench01 5 лет назад +1

    Interesting. thumbs up. So in 6:50 you have 8x8 (=64 cells) which values can be from 0 to 255 in color range for each layer of color. So if you have every possible combination besides zig zag the Permutation total would be :o over 130 digits long. Again that is just for a 8x8 with 255 numbers for one color in total. What if your compression program was 1 gigabyte then would that mean the compressed file would be smaller since the program will have all the combinations sorted from highest to low. In the end its compression /speed ratio.
    but it all seems to come down to luck if the numbers show up just right. for example its easier to compress a number like this 3,486,784,401
    (10 digits) to divided it by 9 at 9 times to be 1 digit (3 digits long total) 66% shrink down. Even at higher digits it becomes even more efficient over 80%. But to even remove 1 random digit from the number the math is off and good luck getting even 1/2 the efficiency.
    multiple techniques have to be used which one key thing many are not using which would help the most is to have the file be set up so that it can be knocked down to be compressed. Again this 10 digit 3,486,784,401 is faster and better to compress than this 5 digit 84,401. Better to have a bigger file structured properly than to have a smaller disorderly file. But then again who pays attention.

  • @asrarafi6322
    @asrarafi6322 3 года назад

    Nicely done! Can you make a video for dicom image compression and decompression?

  • @abusyaseyd5547
    @abusyaseyd5547 3 года назад

    really nice video. Hello from Kazakhstan

  • @natecastronovo
    @natecastronovo 3 года назад

    Fantastic breakdown. Love this.

  • @nachiketasharma5791
    @nachiketasharma5791 3 года назад

    Perfectly explained!!!

  • @papimacaroni7769
    @papimacaroni7769 Год назад

    Thank you so much for this explanation.

  • @luizcarlosv.b.das.junior7477
    @luizcarlosv.b.das.junior7477 2 года назад

    This is a very useful video, thank you!

  • @farazhedayati
    @farazhedayati 3 года назад

    nicely done Leo!

  • @babookumarheerani50
    @babookumarheerani50 3 года назад

    Nice explanation Madam/sir thanks

  • @srikarraoayilneni7074
    @srikarraoayilneni7074 5 лет назад +1

    Thank you for your wonderful explanation.

  • @tassnimdardouri7004
    @tassnimdardouri7004 5 лет назад +1

    Very well explained! Thanks!

  • @DasAutoLoco
    @DasAutoLoco 4 года назад

    i got it perfect idea from this video. Thanks dude

  • @priyankajayan6221
    @priyankajayan6221 4 года назад +1

    Sir it is very nice video.But i have a doubt the fractal compression of images.How can it possible?

    • @leoisikdogan
      @leoisikdogan  4 года назад +1

      It’s possible to get a better compression than jpeg while preserving the perceptual image quality using more computationally expensive methods. I never tried using fractal image compression but it seems to rely on self similarly. Searching for similar image patches can require a lot of computation. It’s very hard to beat well established image compression methods without increasing computational complexity.

    • @priyankajayan6221
      @priyankajayan6221 4 года назад

      @@leoisikdogan 💓💓

  • @nida.maqsood
    @nida.maqsood 5 лет назад +1

    Excellent explanation

  • @ApoorvPandeyDev
    @ApoorvPandeyDev 5 лет назад

    Awesome video! You deserves 100M+ Views

  • @mamadoukeita6893
    @mamadoukeita6893 2 года назад

    I really enjoyed this video. Thank you so much ! Just what is the effect of compression on noisy image (for example an image with gaussian noise). Thanks

    • @leoisikdogan
      @leoisikdogan  2 года назад

      Sure! Noise usually makes images harder to compress. A noisy image would have a larger size and lower quality after compression as compared to a clean image.

    • @f.k.b.16
      @f.k.b.16 2 года назад

      @@leoisikdogan Do you happen to know why early jpgs had very poor quality whites? In so many jpgs back in the 90's the color white nearly always came out blueish or dingy. I just saw it again on a video game from 1995ish... it was the Sony Interactive logo and all the whites were very off color. Just curious if you knew. I can't find anyone else talking about that.

  • @thecandel5479
    @thecandel5479 4 года назад

    What you mean by subsampling, can you explain it, please? Thanks very much Leo!

  • @oOoKandoooOo
    @oOoKandoooOo 4 года назад

    I forgot why I wanted to watch the video or why it was open in the first place. But well, I learned a lot and it was a very nice video.... win-win I guess :D

  • @nepalinationals4268
    @nepalinationals4268 3 года назад

    Awesome Explanation

  • @eshaankirpal5878
    @eshaankirpal5878 5 лет назад +5

    Amazing video. Thank you for this. I am inspired.

  • @indoorda
    @indoorda 4 года назад

    Thank you Peter Parker, that was an extremely well put explanation.

  • @walissongpi
    @walissongpi 4 года назад

    Amazing explanetion!

  • @nurbbiss3967
    @nurbbiss3967 3 года назад

    nice explanation and thanks for shortening my lectures to little video, but let me be little bit critical, your voice

  • @trueberryless
    @trueberryless Год назад

    Wow, that's well explained. The only thing I think is (kinda) wrong: It should not be Megabyte (MB), but instead Mebibyte (MiB). Because Megabytes are base 2 which means 12MB = 12.582.912 Bytes, and Mebibyte are base 10 which means 12MiB = 12.000.000 Bytes.
    Another fix would be to say that the original image is 4.096x3.072 pixels...
    However, this mistake is in almost every Literature, so it doesn't actually matter and, moreover, it's not the point of the video... ❤

  • @byk522
    @byk522 3 года назад

    YOU SAVED MY LIFE

  • @gastondemourgues2884
    @gastondemourgues2884 4 года назад +1

    Hi ! Thank you so much for your help! I was wondering, how did you manage to separate the Y, Cb and Cr images ? I have been searching all ver the internet but I can't find it.

    • @leoisikdogan
      @leoisikdogan  4 года назад

      Hi! If you are using OpenCV in Python, then you can do so by:
      img = cv2.cvtColor(img, cv2.COLOR_BGR2YCR_CB)
      Y = img[..., 0]
      Cr = img[..., 1]
      Cb = img[..., 2]

    • @gastondemourgues2884
      @gastondemourgues2884 4 года назад

      @@leoisikdogan Thanks ! But I don't know openCV unfortunately. I guess I was hopping for a easier photoshop solution. But I mean, you are capable of creating paintings with AI so ... this might explain why it's also hard to create this kind of pictures !

    • @leoisikdogan
      @leoisikdogan  4 года назад

      You can do it in Photoshop too. You can find them in the channels window next to the layers. You may need to change the color space from RGB to Lab first.

    • @gastondemourgues2884
      @gastondemourgues2884 4 года назад

      @@leoisikdogan Yes it worked, thank you !

  • @ksdnsdkumar1375
    @ksdnsdkumar1375 2 года назад

    After huffman coding, is there any binary encoding ? Because Computers store memory in binary form.

  • @suryansh70
    @suryansh70 2 года назад

    very good explanation

  • @115qasim
    @115qasim 4 года назад

    you are amazing ..God bless you!

  • @slmjkdbtl
    @slmjkdbtl 3 года назад

    vector is beautiful it's like midi in images

  • @shinnychinni4408
    @shinnychinni4408 5 лет назад +1

    I am doing a project for memristor based hardware accelerator for image compression .In this project i using xilings ise design software and matlab .But in xilings ise desing 14.5 how to change when no of inputs given and change speed , area, delay plzzz tell .e

  • @rafaellara9264
    @rafaellara9264 7 месяцев назад

    Beautiful video

  • @gofuroov
    @gofuroov 2 года назад

    Hi, Thank you for video. Can you share a slide?

  • @ParveenSharma-ee9gl
    @ParveenSharma-ee9gl Год назад

    2:58 : the highlighted circle is high contrast high frequency region. Why you call it as "low contrast low high frequency"? Its confusing me.

  • @AhmedThahir2002
    @AhmedThahir2002 4 года назад

    Hi, when scaling down images, sharpness is lost.
    A large image with 25% quality setting is sharper than a small image with 75% quality setting.
    However, I'm afraid that my google pagespeed score and seo rating will down (as pagespeed prefers correctly sized images)

  • @chaudhary3394
    @chaudhary3394 3 года назад

    Can you build an algorithm to compress an image? It will be more interesting 🙂

  • @debajyotimajumder472
    @debajyotimajumder472 5 лет назад

    wow...learned a lot...thanks Leo

  • @tomi01628
    @tomi01628 4 года назад

    Easy to understand

  • @bouchrad.339
    @bouchrad.339 5 лет назад

    Hi, what a great video ! Thank you ,
    Can you please share more about computer vision and image processing ?
    Thank you

    • @leoisikdogan
      @leoisikdogan  5 лет назад

      Thanks, sure! You can take a look at this one if you haven't seen it already: ruclips.net/video/9-8Js62wzQs/видео.html

    • @bouchrad.339
      @bouchrad.339 5 лет назад

      @@leoisikdogan actually, it is what made me want to learn it efficiently!

    • @leoisikdogan
      @leoisikdogan  5 лет назад

      @@bouchrad.339 Happy to hear that!

  • @naimasadaoui2675
    @naimasadaoui2675 2 года назад

    now its clear thank's alot

  • @3DShe
    @3DShe 3 года назад

    Nice work!

  • @sametocsy
    @sametocsy 3 года назад

    Hi, how to make image compression for live web camera ? Is there a resource for this ? github or videos ? can you help me ? please...

  • @spark_6710
    @spark_6710 Год назад

    A very good video ! Thanks ! 👍👍💜🥁🐉🎤🎶💞

  • @QromaPhoto
    @QromaPhoto 3 года назад

    Excellent!

  • @hexamirofficial
    @hexamirofficial 4 года назад

    Not sure how I ended up here at 1am but like, not complaining haha

  • @doubled9645
    @doubled9645 5 лет назад

    Thank you Leo, very cool

  • @qusai2111
    @qusai2111 4 года назад

    Really like your way ,, keep going man :D

  • @pulkitbanga8139
    @pulkitbanga8139 4 года назад

    Nicely explained video 🔥🔥🔥🔥

  • @harishkudiya3992
    @harishkudiya3992 3 года назад

    How can we do programmatically????

  • @mm-ro7th
    @mm-ro7th 4 месяца назад

    thank you for your video

  • @muzza49
    @muzza49 5 лет назад

    good explanation, good content!

  • @user-rf5um7wt2l
    @user-rf5um7wt2l 4 года назад

    okay, someone does it with more technical terms!! :) well done

  • @govindaescobar8902
    @govindaescobar8902 3 года назад

    This is great!

  • @abdullahmoiz8151
    @abdullahmoiz8151 5 лет назад

    Thanks a lot very helpful