Problems:
1. Still clear patterns
2. The dark areas are too light and the white areas have too many pixels chosen.
3. Clumping
The radius of the mask is 3.
Ci is the contrast.
The chosen function is as follows.
maxin = max(0.5,((1-Ci)*I0 * (pow(Ii,0.4f)/(pow(255,0.4f))))/(3*r));
detI = min(maxin, 255-Ii);
What does "size is 3" mean? Radius or diameter? I would go with a radius of 3, and also try radius 5.
ReplyDeleteThere are still lots of lattice effects, suggesting that the discretization is causing problems, which in turn suggests that the mask is either too small or that its boundary conditions have big discontinuities.