c# - How to remove less concentrated pixels and leave the most dense part -
c# - How to remove less concentrated pixels and leave the most dense part -
i know title not create much sense here situation i'm working on computer vision algorithm , end
working algorithm way expensive , no matter how big threshold add together there noise (that less concentrated lime green).
all need end concentrated pixels , @ point need clever thought save processing.
no don't need code, thought me going.
i think usual approach there pick random greenish pixel , start walking around, counting how many greenish pixels create continuous area. if number of pixels, can to, less %\theta%, pixel , neighbors 'noise' , should discarded.
maybe easier way might work well: can apply gaussian filter first in order smooth greed pixels downwards , utilize threshold delete pixels below %\theta%. point that, if pick right sigma gaussian filter kernel, single pixels diluted down, groups of pixels have higher intensity. please comment, if confusing.
c# image image-processing graphics computer-vision
Comments
Post a Comment