algorithm - detect white areas with sharp boundary -
in grayscale image shown below, how can accurately detect white region having sharp boundary (marked red color)?
in particular image, simple thresholding might work, however, have several images in there similar areas around corner of images want ignore.
also, there might more 1 regions of interest, both having different intensities. 1 can bright in example image, other can of medium intensity.
however, difference between interested , non-interested areas follows:
the interest areas have sharp defined boundaries.
non-interested areas don't have sharp boundaries. tend gradually merge neighbourhood areas.
when sharp boundaries, have think gradient. sharper boundaries, bigger gradient. therefore apply gradient , see stronger around shapes want segment.
but in case, can observe area want segment brightest. try noise reduction (median filter) plus convolution filter (simple average) in order homogenize different zones, thresholding keeping brightest/right peak.
Comments
Post a Comment