필터 지우기
필터 지우기

Misclassification pixels Correction based Greedy Algorithm

조회 수: 1 (최근 30일)
dian_pratama
dian_pratama 2015년 3월 4일
편집: dian_pratama 2015년 3월 4일
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)
  1. l←1
  2. for all pixels x_i of the image do
  3. if("label"(x_i)≠"label"(x_j∈N_ns))then
  4. x_l←x_i
  5. for all clusters m in N_rl neighborhood of the pixel x_l do
  6. Calculate the local variance σ_m^((l) )
  7. Calculate the local mean μ_m^((l)
  8. end for
  9. l←l+1
  10. end if
  11. end for
  12. returnx_l,σ_m^((l) ) and μ_m^((l) )
Step 2: Reclassification of the extracted pixels
  1. for all pixels x_i of the image do
  2. for all clusters m in N_rl neighborhood of the pixel x_ldo
  3. Calculate the objective function J_i using eq. (26)
  4. Find j=argmin (J_i)
  5. Assign the pixel x_i to the cluster j
  6. end for
  7. end for
Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by