Histogram matching in digital image processing

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ย. 2024

ความคิดเห็น • 72

  • @amerjabar7825
    @amerjabar7825 2 ปีที่แล้ว +21

    Image processing exam saved because of you. Many thanks!

  • @suhasshelar4639
    @suhasshelar4639 3 ปีที่แล้ว +17

    Hey ur a life saver!! Hats off great explanation

  • @Dheemantha
    @Dheemantha 2 ปีที่แล้ว +29

    What happend to remaining 10 pixels, and also there is a chance that final histogram have more pixel than the image.

  • @arpitgoyal189
    @arpitgoyal189 9 หลายเดือนก่อน +2

    Last minute semester savior amazing and really helpful content. 👌

  • @arslanytcrazxx7491
    @arslanytcrazxx7491 ปีที่แล้ว

    SAVE MY DAY BEFORE PAPER . THIS VIDEO HELPS ALOT.

  • @subashadhikari3290
    @subashadhikari3290 2 ปีที่แล้ว +2

    Thankyou so much from the land of mountains, Nepal

  • @Rakesh_Zeus_Gaming
    @Rakesh_Zeus_Gaming ปีที่แล้ว +1

    Your voice is so sweet

  • @TakuAngwaOtto
    @TakuAngwaOtto ปีที่แล้ว +7

    After studying this video. great presentation. I feel like the output should be 0 0 0 80 0 100 180 30. I might be wrong

  • @parameshkumar6580
    @parameshkumar6580 8 หลายเดือนก่อน +11

    ig this is wrong because the no of pixels values of the original image and final image are not same.

  • @faaizuddin5090
    @faaizuddin5090 3 ปีที่แล้ว +1

    Thank you for uploading this kind of video its help me for preparations of exam.🙂
    🇵🇰🇵🇰🇵🇰

  • @shreekarsiri7973
    @shreekarsiri7973 3 ปีที่แล้ว +1

    short and sweet explanation.... thankyou

  • @muralisubbarao4253
    @muralisubbarao4253 ปีที่แล้ว +1

    A simple unified way to treat both histogram equalization and histogram specification is the following: represent each pixel as a triple: (row index , column index, gray-level value). Now, sort all the pixels in the input image based on their grey-level in increasing order and store all the pixels of the input image in the triple format-- (row, column, value) - in an array whose size is equal to the number of pixels in the input image. This can be done efficiently as the number of gray-levels is limited, with number of operations proportional to the number of pixels (not N logN, but only N). If the entries of the given histogram to be matched are h0, h1, h2, ..., hk, with k+1 grey levels, then the output image having this histogram is computed easily as follows. As the pixels are sorted in increasing order, the monotonic transformation of gray-values is naturally satisfied. The first h0 pixels in the sorted list of pixels is assigned value 0, the next h1 pixels in the sorted list of pixels is assigned value 1, then the next h2 pixels are assigned value 2, and so on until the last hk pixels are assigned the value k. This assignment is done easily because the sorted list contains not only the gray level value of each pixel, but it also contains the associated position of the pixel in the image specified by row index and the column index, because the pixels are stored as triplets (row, column, value) in the sorted list. One efficient algorithm for sorting the pixels in time proportional to the number of pixels is this: use an array of k linked lists, one list corresponding to each grey level, and inserting each pixel into the list corresponding to its gray value, by scanning the input image for each pixel, and inserting all the pixels. After this, merge the k lists by simply appending the second list to the end of the first, the third list to the end of the second, the fourth list to the end of the third, etc. This merging is similar to that found in the radix-sort algorithm, but with only one iteration. There is an easier way to sort pixels using the cumulative histogram and an array instead of linked lists. That is left as an exercise for the reader! There are variations/modifications of this algorithm that avoid the sorted list but use only the cumulative histograms, and those that map pixels with same values in the input image to a new but same values in the output image, etc. But those are details that can be studied by a more serious student of digital image processing. Good luck! If you have questions, post your email address here in reply. I will answer the first 10 questions. I have the source code in C++.

    • @KaiSyunHou
      @KaiSyunHou 5 หลายเดือนก่อน

      Looks not quite simple bro

  • @md.alamintalukder3261
    @md.alamintalukder3261 3 ปีที่แล้ว +2

    Thank you so much . Beautiful represention.

  • @yannickraam8911
    @yannickraam8911 3 ปีที่แล้ว +11

    After the mapping do you still have to normalize? Because the new histogram has 380 pixels, which is 10 less than the original

    • @UpendraYadav-gc3bd
      @UpendraYadav-gc3bd 2 ปีที่แล้ว

      bro calculate it is not 380
      390 aa raha hai ek baar firr kar le calculate

    • @wangdexiangyaya
      @wangdexiangyaya 2 ปีที่แล้ว

      i think the teacher is wrong, 是不是博主讲错了……

    • @adishjain8715
      @adishjain8715 ปีที่แล้ว

      @@UpendraYadav-gc3bd
      bsd wale calculate krke hi bola tha

  • @chetanmodhvadiya5774
    @chetanmodhvadiya5774 3 ปีที่แล้ว +2

    Nice explaination !!

  • @grayyan5966
    @grayyan5966 3 ปีที่แล้ว +7

    Mapping should be done from the input image to the specified image.
    The video did it reversely.

    • @rhyss9813
      @rhyss9813 11 หลายเดือนก่อน

      exactly, thats what i was thinking too!!

  • @emreipek4485
    @emreipek4485 2 ปีที่แล้ว

    Many many thanks for the video. U helped me to understand this subject :)

  • @ramankumar41
    @ramankumar41 ปีที่แล้ว

    very nice explanation !!!

  • @rashmi_gaur
    @rashmi_gaur 2 ปีที่แล้ว

    Clear explanation!

  • @understandayurveda6668
    @understandayurveda6668 8 หลายเดือนก่อน

    Mam, I have a doubt.
    The last 2 columns for histogram 1 are Histogram equalization level and Nk. that means Nk is the last column.
    But for histogram 2 the last column is Histogram equalization and not Nk.
    Why you did not calculated Nk for histogram 2.

  • @parthdoiphode1283
    @parthdoiphode1283 ปีที่แล้ว +1

    Great explanation U explained the topic better than my cllge sir😂😂thank u so much🫶🏽👏🏾

  • @anastasiiakasprova5214
    @anastasiiakasprova5214 3 ปีที่แล้ว

    Thank you for your video!

  • @hardikarora7681
    @hardikarora7681 9 หลายเดือนก่อน

    tysm mam saved my a**

  • @akeemlouigarde4946
    @akeemlouigarde4946 3 ปีที่แล้ว +5

    @5:45 why does Histogram 2 need to be greater than Histogram 1?

    • @rayedkaleem1147
      @rayedkaleem1147 8 หลายเดือนก่อน

      same question? Also one more thing that we are taking same pixel value of 1 for 2 and you are saying it should be greater?

  • @prudhvirajteki9919
    @prudhvirajteki9919 2 ปีที่แล้ว

    thank you.helped a lot

  • @selendis4117
    @selendis4117 11 หลายเดือนก่อน

    god bless you

  • @rushikeshjadhav6346
    @rushikeshjadhav6346 2 ปีที่แล้ว

    what a explaination......

  • @shivamgoyal3888
    @shivamgoyal3888 2 ปีที่แล้ว +9

    I have a question, the total number of pixels in the final histogram is not matching with the first.

    • @shakyaabeytunge4459
      @shakyaabeytunge4459 2 ปีที่แล้ว

      I have the same question.

    • @shivamgoyal3888
      @shivamgoyal3888 2 ปีที่แล้ว

      @@shakyaabeytunge4459 Tell me also if you found solution

    • @franckrooseveltngongtiomo8184
      @franckrooseveltngongtiomo8184 ปีที่แล้ว +1

      I got the answer

    • @shivamgoyal3888
      @shivamgoyal3888 ปีที่แล้ว

      @@franckrooseveltngongtiomo8184 tell the answer then

    • @lokeshseela5869
      @lokeshseela5869 ปีที่แล้ว

      @@shivamgoyal3888 While equalizing histogram (ii) for the gray level 4 we get (sk *7) = 2.506 so histogram equilization level is 3 so mapping it we get 100 and in final we get same pixel values

  • @mihiragarwal1269
    @mihiragarwal1269 3 ปีที่แล้ว +1

    Eazy pezy!
    Cause of the video😇

  • @noureldeenbassamabdelaal7775
    @noureldeenbassamabdelaal7775 ปีที่แล้ว

    thanks it was great

  • @voyage7601
    @voyage7601 2 หลายเดือนก่อน

    so you replaced image 2 with image 1 instead of 1 with 2???

  • @surplushunger5405
    @surplushunger5405 3 ปีที่แล้ว +1

    Great video , just a little bit sound issue .

    • @collegefriendly
      @collegefriendly  3 ปีที่แล้ว +1

      Thanks, will take care of that next time!

  • @mohsinikhlaqjaam
    @mohsinikhlaqjaam 3 หลายเดือนก่อน

    thankyou

  • @kommalapatipraveen4403
    @kommalapatipraveen4403 2 ปีที่แล้ว

    Thank tou

  • @namanjain8970
    @namanjain8970 3 ปีที่แล้ว +1

    pls also make videos on this topics:-
    Discrete Fourier transform : Importance of fourier spectrum and Phase angle, Steps of Frequency
    domain filtering algorithm, Ideal Lowpass filter, Ideal Highpass filter.
    Color image models: RGB and CMY.
    Image Restoration: Image Degradation model, Gaussian Noise Model, Spatial domain restoration
    in presence of noise: Mean filter, Order statistic filters-Max, Min, Median.
    Image Compression: Coding Inter-pixel and Psycho visual redundancy, Image Compression
    model, Metrics: Compression Ratio, Entropy and Mean Square Error, Error free compression:
    Huffman, Runlength coding, Lossy Compression: Introduction to still Image Compression standardJPEG.
    Image Segmentation: Detection of discontinuities- Laplacian operator, Gradient operator,
    Thresholding, Region Growing.
    Image Representation: Using chain code Method and Image description using statistical moments.
    Image Recognition: Pattern, Pattern Classes, Matching by Correlation.
    Define the terms: Digital Watermarking, Image Morphing, Image registration, Image Spoofing and
    Digital image forensics

    • @collegefriendly
      @collegefriendly  3 ปีที่แล้ว +3

      I have tried to include most of these in the series. But will try to work on the remaining if possible

  • @shaktiprasannapani9941
    @shaktiprasannapani9941 2 ปีที่แล้ว

    actually my proffesor said that we take step values not rounded off values

  • @Abidemi-r1y
    @Abidemi-r1y 10 หลายเดือนก่อน

    At 2.44, histogram equalization should be 2 not 1, because, 1.9 approximate is 2 not 1

  • @doguhanmermer3396
    @doguhanmermer3396 2 ปีที่แล้ว

    nice implementation thanks, how can I express the histogram of the product of 2 images as their own histograms of those images individually?

  • @RajSingh-uv6eq
    @RajSingh-uv6eq 3 หลายเดือนก่อน

    Apex College kathmandu bata ko ko xan. Eta attendance dini hai.

  • @adeshkumardubey9140
    @adeshkumardubey9140 6 หลายเดือนก่อน

    mam can you please provide notes of ip that you tought

  • @roshanchauhan1123
    @roshanchauhan1123 2 ปีที่แล้ว

    Mam make a video on haar function 😭😭 pls

  • @sahuji5874
    @sahuji5874 2 ปีที่แล้ว

    Hey, is your name Greata???

  • @reviveal7191
    @reviveal7191 2 ปีที่แล้ว

    Super 150 mai ho kya?

  • @akeemlouigarde4946
    @akeemlouigarde4946 3 ปีที่แล้ว +1

    I'm still confused, why are we matching histogram 2 with histogram 1? Aren't they both two different histograms?

  • @rnjnmhta.catomato
    @rnjnmhta.catomato 2 ปีที่แล้ว

    imp:solve ques urself

  • @mukulYdv_y
    @mukulYdv_y 7 หลายเดือนก่อน

    sound very less

  • @miteshparab928
    @miteshparab928 2 ปีที่แล้ว +1

    you done little bit wrong.....

  • @Rakesh_Zeus_Gaming
    @Rakesh_Zeus_Gaming ปีที่แล้ว +1

    Can u share ig id or account?