Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

overlay

1 view
Skip to first unread message

kikou

unread,
Jul 14, 2008, 12:10:10 PM7/14/08
to
Hi
I am using IMAQ in VB6 and i have some problems with overlays...I have a big image (7000 * 7000) and i plot using overlays functions ovals, rectangles, text....I have a lot of informations to plot...I want to save the result and so i use the merge functions to make my overlays part of my image!
i have in VB6 the error code 31000...Other times i only have some overlays (not all) after the merge functions any ideas? How many overlays can we make in an image?Here is an ewample code:  imaqdisplay.Image.Overlays(1).DrawRectangle rect, cwimaqOverlayModePaint, vbYellow  imaqdisplay.Image.Overlays(1).Merge
 
thanks a lot

kikou

unread,
Jul 16, 2008, 1:10:13 PM7/16/08
to
Hi MichelleIt is the error code in VB 31000 (error of execution)I can do this operation with hundreds of overlays but i have to overlay thousands of regions ;o)I also have noticed that it is impossible to merge some overlays and later merge other overlays in the same image....You will have an error, amazing.Should we have to save and read the new image????Is it possible to clear only some overlays (not all)?Another question in VB6 how to read an image in an oimaqdisplay and select a Region of interest to view?Suppose i have an image of 1000 x 10000 and i want to see in the viewer 5000 x 5000....There is some properties missing in zoom operation such as soomsingle....In labview you have zoom single property not in VB6
ThanksPS: I also was an AE ;o)

kikou

unread,
Jul 18, 2008, 11:10:10 AM7/18/08
to
HiHere is an example of image....Difficult to explain... My overlays are rectangle, ovals...depending of the kinfd of the particle i have in my image....I also have a mask, i mean that i have another overlay that separates my image in many regions....I want to keep the particles , but clear only the "mask" overlay....When i merge 15000 circles, i only have some of them in the image....
 
Thanks  


Image binarisee_0.png:
http://forums.ni.com/attachments/ni/230/4044/1/Image binarisee_0.png

Michelle_B

unread,
Jul 21, 2008, 1:40:09 PM7/21/08
to
Also, what is your end application/goal? Would particle
analysis work for this? I've attached a screenshot of an example
particle analysis step. The dots are numbered indicators showing where
each particle is located. Thanks!


2008-07-21_1230111.gif:
http://forums.ni.com/attachments/ni/230/4050/1/2008-07-21_1230111.gif

0 new messages