Histogram matching in digital image processing

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • In this video, we talk about Histogram matching in digital image processing which includes equalization and mapping of histograms.
    Kindly like, share and subscribe if you like the video!
    Check out our previous videos!
    Introduction to digital image processing - • Introduction to Digita...
    Key stages in digital image processing - • Key stages in digital ...
    Sampling and Quantization in digital image processing - • Sampling and Quantizat...
    Relationship between pixels Neighbourhood and Adjacency of Pixels-
    • Relationship between p...
    Distance Measures Between Pixels with examples- • Distance Measures Betw...
    Arithmetic Operations and Logical Operations between Images in digital image processing-
    • Arithmetic Operations ...
    Point operations in digital image processing with examples -
    • Point operations in di...
    Contrast Stretching and intensity level Slicing in digital image processing with examples -
    • Contrast Stretching an...
    Logarithmic Transformation and power-law Transformation in digital image processing with examples -
    • Logarithmic Transforma...
    Image Enhancement in digital image processing with Histogram Equalization -
    • Image Enhancement in d...

КОМЕНТАРІ • 70

  • @amerjabar7825
    @amerjabar7825 2 роки тому +18

    Image processing exam saved because of you. Many thanks!

  • @suhasshelar4639
    @suhasshelar4639 3 роки тому +15

    Hey ur a life saver!! Hats off great explanation

  • @Dheemantha
    @Dheemantha 2 роки тому +27

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

  • @arslanytcrazxx7491
    @arslanytcrazxx7491 Рік тому

    SAVE MY DAY BEFORE PAPER . THIS VIDEO HELPS ALOT.

  • @subashadhikari3290
    @subashadhikari3290 2 роки тому +2

    Thankyou so much from the land of mountains, Nepal

  • @arpitgoyal189
    @arpitgoyal189 6 місяців тому +1

    Last minute semester savior amazing and really helpful content. 👌

  • @shreekarsiri7973
    @shreekarsiri7973 3 роки тому +1

    short and sweet explanation.... thankyou

  • @md.alamintalukder3261
    @md.alamintalukder3261 3 роки тому +2

    Thank you so much . Beautiful represention.

  • @TakuAngwaOtto
    @TakuAngwaOtto Рік тому +5

    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

  • @faaizuddin5090
    @faaizuddin5090 3 роки тому +1

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

  • @parameshkumar6580
    @parameshkumar6580 6 місяців тому +6

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

  • @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 3 місяці тому

      Looks not quite simple bro

  • @yannickraam8911
    @yannickraam8911 2 роки тому +10

    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 Рік тому

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

    • @adishjain8715
      @adishjain8715 Рік тому

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

  • @Rakesh_Zeus_Gaming
    @Rakesh_Zeus_Gaming Рік тому +1

    Your voice is so sweet

  • @chetanmodhvadiya5774
    @chetanmodhvadiya5774 3 роки тому +2

    Nice explaination !!

  • @grayyan5966
    @grayyan5966 2 роки тому +6

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

    • @rhyss9813
      @rhyss9813 8 місяців тому

      exactly, thats what i was thinking too!!

  • @emreipek4485
    @emreipek4485 2 роки тому

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

  • @akeemlouigarde4946
    @akeemlouigarde4946 2 роки тому +5

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

    • @rayedkaleem1147
      @rayedkaleem1147 5 місяців тому

      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?

  • @rashmi_gaur
    @rashmi_gaur 2 роки тому

    Clear explanation!

  • @anastasiiakasprova5214
    @anastasiiakasprova5214 3 роки тому

    Thank you for your video!

  • @mohsinikhlaqjaam
    @mohsinikhlaqjaam 19 днів тому

    thankyou

  • @ramankumar41
    @ramankumar41 Рік тому

    very nice explanation !!!

  • @parthdoiphode1283
    @parthdoiphode1283 Рік тому +1

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

  • @shivamgoyal3888
    @shivamgoyal3888 2 роки тому +8

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

    • @shakyaabeytunge4459
      @shakyaabeytunge4459 Рік тому

      I have the same question.

    • @shivamgoyal3888
      @shivamgoyal3888 Рік тому

      @@shakyaabeytunge4459 Tell me also if you found solution

    • @franckrooseveltngongtiomo8184
      @franckrooseveltngongtiomo8184 Рік тому +1

      I got the answer

    • @shivamgoyal3888
      @shivamgoyal3888 Рік тому

      @@franckrooseveltngongtiomo8184 tell the answer then

    • @lokeshseela5869
      @lokeshseela5869 11 місяців тому

      @@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

  • @prudhvirajteki9919
    @prudhvirajteki9919 2 роки тому

    thank you.helped a lot

  • @rushikeshjadhav6346
    @rushikeshjadhav6346 Рік тому

    what a explaination......

  • @mihiragarwal1269
    @mihiragarwal1269 3 роки тому +1

    Eazy pezy!
    Cause of the video😇

  • @hardikarora7681
    @hardikarora7681 6 місяців тому

    tysm mam saved my a**

  • @understandayurveda6668
    @understandayurveda6668 6 місяців тому

    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.

  • @noureldeenbassamabdelaal7775

    thanks it was great

  • @selendis4117
    @selendis4117 8 місяців тому

    god bless you

  • @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?

  • @surplushunger5405
    @surplushunger5405 3 роки тому +1

    Great video , just a little bit sound issue .

  • @namanjain8970
    @namanjain8970 2 роки тому +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  2 роки тому +3

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

  • @kommalapatipraveen4403
    @kommalapatipraveen4403 Рік тому

    Thank tou

  • @akeemlouigarde4946
    @akeemlouigarde4946 2 роки тому +1

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

  • @shaktiprasannapani9941
    @shaktiprasannapani9941 2 роки тому

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

  • @roshanchauhan1123
    @roshanchauhan1123 2 роки тому

    Mam make a video on haar function 😭😭 pls

  • @RajSingh-uv6eq
    @RajSingh-uv6eq 22 дні тому

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

  • @adeshkumardubey9140
    @adeshkumardubey9140 3 місяці тому

    mam can you please provide notes of ip that you tought

  • @user-so6ux8mm5d
    @user-so6ux8mm5d 8 місяців тому

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

  • @sahuji5874
    @sahuji5874 2 роки тому

    Hey, is your name Greata???

  • @mukulYdv464
    @mukulYdv464 4 місяці тому

    sound very less

  • @reviveal7191
    @reviveal7191 Рік тому

    Super 150 mai ho kya?

  • @rnjnmhta.catomato
    @rnjnmhta.catomato Рік тому

    imp:solve ques urself

  • @miteshparab928
    @miteshparab928 2 роки тому

    you done little bit wrong.....

  • @Rakesh_Zeus_Gaming
    @Rakesh_Zeus_Gaming Рік тому +1

    Can u share ig id or account?