2022 Converting Images between Color RGB, Grayscale, and HSV in MATLAB | Image Processing

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

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

  • @alexarunyan
    @alexarunyan 2 года назад +3

    Really great explanation of the different color spaces to view image data in! Thank you

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

      Thank you Alexa! Hope you enjoyed transforming the photos - I know I did haha.

  • @soner8780
    @soner8780 8 месяцев назад +1

    ig there are typos at the end in hsv section. which one should we use to split hsv, "img" or "img_raw"?

    • @philparisi_
      @philparisi_  8 месяцев назад

      Hey there, in line 285 they should all use ‘img’.
      1.) convert img_raw to an HSV img
      2.) pull apart the color spectrums of img

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

    Hello Phil,
    What is the purpose of grayscaling the image in image processing?

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

      Hi Inderjit,
      Converting to grayscale is a common preprocessing step for other applications (see below two video). It is easier to work with grayscale images than color, as grayscale is an MxNx1 matrix as opposed to an MxNx3 matrix for color images.
      Threshold an image ruclips.net/video/9yoCvw_RxXA/видео.html&feature=share&EJGixIgBCJiu2KjB4oSJEQ
      Morphological Operations ruclips.net/video/US6h5gBEwiw/видео.html&feature=share&EJGixIgBCJiu2KjB4oSJEQ

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

    Hi Phil , I have question which language do you like more python or matlab ?

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

      Which language do you use more

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

      Hi Mahadevan, great question! My personal opinion is that I like using MATLAB for mathematical tasks and python for most other things.
      If I'm doing calculations or simulations or image processing, I'm working with MATLAB because it's quick and easy.
      If I'm doing anything with handling the operating system or automation or servers or data science or twitter bots, then I shift to Python.
      If I need something to run faster that is deployable to a real system, then C++ (it's painful, but fast as ever).
      And I like R for data science, but Python and R share many commonalities here.
      What are your thoughts?

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

      @@philparisi_ Oh okay thank you 😊

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

      @@mahadevanar5307 yup! It's good to think of each language as a 'tool' that you use depending on a situation.