ImagePro>Accumulate count


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Accumulate count



Hi
 
I have too count objects of different size that are fairly round (in contrast to the surrounding "noise"). Smaller objects are rounder than bigger ones. Thus I try to make a stepwise count with "accumulate count" toggled on and the desired filter ranges applied. I tried all possible combinations:
A: starting with small, very round objects to bigger and less round objects
B: inverse
C: starting with the whole size range and roundness range, getting smaller and rounder
D: inverse
It didn't work anyway. What do I wrong? According to the description in the handbook I would say that case A should work.
 
 
A short outline of my macro to get the idea:
....
 ret = IpBlbSetFilterRange(BLBM_AREAPOLY + CALIB_UNIT, 1600, 2500)
 ret = IpBlbSetFilterRange(BLBM_ROUNDNESS + CALIB_UNIT, 1, 2.1)
    
 ret = IpBlbCount()
 ret = IpBlbUpdate(0)
 
 ret = IpBlbSetFilterRange(BLBM_AREAPOLY + CALIB_UNIT, 800, 1600)
 ret = IpBlbSetFilterRange(BLBM_ROUNDNESS + CALIB_UNIT, 1, 1.6)
  
 ret = IpBlbCount()
 ret = IpBlbUpdate(0)
.........
 
Georg
 
*******************************************
Georg von Arx
Geobotanical Institute ETH
Zürichbergstrasse 38
CH-8044 Zürich
vonarx@geobot.umnw.ethz.ch
 
Tel.: +41-1- 632 77 87
Fax:  +41-1-632 12 15



Search this Archive