Home Image-Pro Plus Automation with Macros
Options

SetRange in 16-bit Image

(Originally posted by alleemio on 3/19/2007)

I am writing a macro where I want to set the intensity range that will be used to count the objects in my image.

The statement:
ret=ipblbsetrange(lowervalue,uppervalue)
only accepts values from 0 to 255, whereas I want to use higher values (such as 20000) to threshold on my 16-bit images. Any ideas?

 

Comments

  • Options

    (Originally posted by YuriG on 3/19/2007)

    You can use:
    ret = IpSegSetRange(0, 20000, 65535)

Sign In or Register to comment.