Matlab - How to measure the dispersion of black in a binary image? -
i comparing rgb images of small colored granules spilled randomly on white backdrop. current method involves importing image matlab, converting binary image, setting threshold , forcing pixels above white. next, calculating percentage of pixels black. in comparing images 1 another, measurement of % black pixels great; however, not take account how granules dispersed. although % black 2 different images may identical, images may far being alike. example, assume have 2 images compare. both show % black pixels of 15%. in 1 picture, black pixels randomly distributed throughout image. in other, clump of black pixels in 1 corner , sparse in rest of image.
what can use in matlab numerically quantify how "spread out" black pixels purpose of comparing 2 images?
i haven't been able wrap brain around 1 yet, , need help. thoughts/answers appreciated.
found answer similar problem -> https://stats.stackexchange.com/a/13274
basically, use average distance central point every black pixel measure of dispersion.
Comments
Post a Comment