histogram equalization transformation function

4 ビュー (過去 30 日間)
pandu hanifa
pandu hanifa 2018 年 12 月 8 日
コメント済み: CANDY 2022 年 10 月 4 日
Suppose that a given 3-bit image(L=8) of size 64*64 pixels (M*N=4096) has the intensity distribution shown as below. How to obtain histogram equalization transformation function and then compute the equalized histogram of the image?
Rk nk
0 800
1 520
2 970
3 660
4 330
5 450
6 260
7 106
  2 件のコメント
Saiteja B
Saiteja B 2019 年 11 月 22 日
Did u get the code for histeq without matlab tool or code for your mentioned problem,if yes please post here? Thank u.!!
CANDY
CANDY 2022 年 10 月 4 日
hi dear were you able to get the answer to this work ?
if yes , can you show me the codes ?

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2018 年 12 月 9 日
Call histeq() followed by imhist().
  2 件のコメント
pandu hanifa
pandu hanifa 2018 年 12 月 9 日
編集済み: pandu hanifa 2018 年 12 月 9 日
if equation i know how to finish it,, i want to know the code( without in-built function matlab), and if its c++ i aldy try and can,, but in matlab the code i write keep eror idk why
rk nk c sk = c/MN (L-1)sk rounded value
0 800 800 0.195 1.365 1
1 520 1320 0.322 2.254 2
2 970 2290 0.559 3.913 4
3 660 2950 0.720 5.04 5
4 330 3280 0.801 5.601 6
5 450 3730 0.911 6.377 6
6 260 3990 0.974 6.818 7
7 106 4096 1.000 7.0 7
Image Analyst
Image Analyst 2018 年 12 月 9 日
Why without built-in functions???
Why would you want to compute the histogram, then the cdf, then invert it, and use intlut() when you can just do it in one line of code?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by