Misclassification pixels Correction based Greedy Algorithm
1 回表示 (過去 30 日間)
古いコメントを表示
I have pseudo code to correction misclassification pixel based-Greedy algorithm from Benaichouche et al. research. I tried to apply it in matlab code but it is very difficult. Anyone can help?
Pseudo Code
Step 1: Extraction of potentially misclassified pixels 〖(x〗_l)
- l←1
- for all pixels x_i of the image do
- if("label"(x_i)≠"label"(x_j∈N_ns))then
- x_l←x_i
- for all clusters m in N_rl neighborhood of the pixel x_l do
- Calculate the local variance σ_m^((l) )
- Calculate the local mean μ_m^((l)
- end for
- l←l+1
- end if
- end for
- returnx_l,σ_m^((l) ) and μ_m^((l) )
Step 2: Reclassification of the extracted pixels
- for all pixels x_i of the image do
- for all clusters m in N_rl neighborhood of the pixel x_ldo
- Calculate the objective function J_i using eq. (26)
- Find j=argmin (J_i)
- Assign the pixel x_i to the cluster j
- end for
- end for
Thanks
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!