Larger regions draw first: they calculated based on corresponding bin value within a neighbour area.
To avoid inclusion of upper small and same color layers on top of existing regions: I used considered the gray values for certain thresholds, where: the region will be drawn if the difference of grays between the upper region and previous color on the canvas is more than a threshold. The idea did not work well, as I expected.
0 Comments
Leave a Reply. |
Categories |