Misclassification pixels Correction based Greedy Algorithm
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!