02-17-2010 04:23 AM
Hey!
I have this program that detects mistakes on a product. The tamplate that I use in compare golden template will be changeged from time to time. I would like to make an automatic creation of new templates. The problem is that I don't know how to put ignore region on a golden template(picture). Ignore region would be the same all the time (universal) so it would be stored like an image(I think..). The image that it would be pasted on would change everythime new templates are created. Both together would be the new tempalate that the main program would use to detect mistakes on the mesured product.Ihope you know whatmy problem is 🙂
Thanks!
02-17-2010 04:50 AM
02-17-2010 06:14 AM
Hey muks,
I don't think you understood me. I know that its posible to draw that regions in vision asistant or template editor, but I would like to paste the same shape of Region to ignore on diferent pictures. We would like to do that besouse the problem is, that during production the printing on the product is slightly diferent, becouse of the tempureture, pressure etc., so new templates have to be made everytime ne series of production is made. We would have to make this automatic so every time a worker would pres make templates button new templates would be created with ignore regions puten over it. I hope it is celar now.
Tnx
02-17-2010 06:52 AM
02-17-2010 07:58 AM
02-17-2010 08:00 AM
I don't know if this will help, but when training an image for pattern matching there is a separate input for a mask image. The mask image controls what areas are ignored during training. You could create a mask image from an ROI using ROItoMask.
Bruce
02-18-2010 04:04 AM
02-18-2010 04:11 AM
Thanks Bruce, I think I have an idea how to make this application. Thanky you!