Debugging error with marcos



I downloaded the 1.51u version and started debugging and found out
that my threshold is going on to the boundaries instead of to the areas
inside the boundaries. When i do it manually it’s working but here the
condition is reversed. Can you help me with this please.


Hi Sneha.

Try the following:

setOption("BlackBackground",true) instead of …,false)


No doesn’t seem to work

This should be the actual result but this is come out like this


this is the actual foam picture that i am tryingg to work on.


I worked with the macro and found out one thing today. When the original mage on which the macro is recorded is open, its working perfectly. but when only the macro program is asked to run its giving out a dfifferent result. any suggestions any one?