How do I Select an Image From a Previous Step in VBAI? Primary Software: Vision Builder for Automated InspectionPrimary Software Version: 2.6 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a sequence of steps in a VBAI inspection that takes a picture of an image and process it. In one of the last steps, I want to access the original image, but VBAI automatically uses the latest image that I have. Is there a way for me to choose to use one of my previous images from the inspection instead? Solution: Each step in a VBAI inspection will have an image that gets acted upon it in some way. By default, the active image is the result of the previous step. Using the Select Images step, you to can programmatically choose which image in your inspection the step uses from any of the images of all the previous steps. This can be helpful if you would like to process multiple images in the same VBAI inspection. An inspection can only execute steps in sequence. If, for instance, you were using a Vision Assistant step to extract a color plane from an image, and you wanted to extract all three planes from the same image, you would have to call the step three times in a row. In between each one, you would need to call the Select Images step in order to make the active image [that you are extracting the plane from] is the original image. There is an option that you can enable called Copy Current Image Overlay. When enabled, the step will copy the overlay of the current image to the image you selected from the Image Selection list. It is important to note that not all VBAI steps result in a new image (ie: measurement steps would not create a new image). In the Image Selection list, only the steps that create distinct, new images will be available to choose from. Also, you cannot place a Select Image step before an image has been loaded into VBAI in a previous step. You will receive an error if you try to do so when you click on the step in the inspection steps palette. Related Links: Attachments:
Report Date: 10/20/2005 Last Updated: 10/25/2005 Document ID: 3QJ7704Y |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
