Halo, need support. After working with regions , I want to save this from graphics window as png or jpeg and the resolution also should be same as input image.which command I can use?.....I tried using write_image...but it's not working
If you want to save the content of the graphics window, you can use dump_window and dump_window_image. However, the resulting image has the resolution of the graphics window at that moment, so to get the resolution of the original image, you first may have to resize the window (dev_set_window_extents (0, 0, ImageWidth, ImageHeight), dev_set_part (0, 0, ImageHeight - 1, ImageWidth - 1)). If you have further questions, please contact our technical support: support@mvtec.com
Erinnert an die Grundlagen der Digitalen Bildverarbeitung im Studium. Kommt einem viel interessanter vor, wenn man die Funktionen nur verwendet und nicht erst schreiben muss.
I have an image with multiple parts, I chose one region/ part , then I did reduce domain to get the region/part. Now... I want to create a background of different colors in Halcon (not gray values) and paint the region (also in rgb) which I chose before in this background. The final image should be rgb. how can I do that? ( Note: I tried over paint, gen image proto...etc....it is creating a background and region with gray values, not rgb)
@@sgt.mcgragon359 Since we are not sure whether we understand your questions correctly, we'd like to ask you to contact our free technical support at support@mvtec.com, ideally describing your application in more detail. Thank you.
@@sgt.mcgragon359 You can create a new procedure by selecting the desired code in the Program Window, right-clicking your mouse, and selecting "Create New Procedure". More information in chapter 6.4.5 "Creating Procedures" of our user's guide: www.mvtec.com/fileadmin/Redaktion/mvtec.com/documentation/manuals/hdevelop_users_guide.pdf
Great example! Thanks a lot
Halo, need support. After working with regions , I want to save this from graphics window as png or jpeg and the resolution also should be same as input image.which command I can use?.....I tried using write_image...but it's not working
If you want to save the content of the graphics window, you can use dump_window and dump_window_image. However, the resulting image has the resolution of the graphics window at that moment, so to get the resolution of the original image, you first may have to resize the window (dev_set_window_extents (0, 0, ImageWidth, ImageHeight), dev_set_part (0, 0, ImageHeight - 1, ImageWidth - 1)). If you have further questions, please contact our technical support: support@mvtec.com
Erinnert an die Grundlagen der Digitalen Bildverarbeitung im Studium.
Kommt einem viel interessanter vor, wenn man die Funktionen nur verwendet und nicht erst schreiben muss.
Great as usual !
I have an image with multiple parts, I chose one region/ part , then I did reduce domain to get the region/part. Now...
I want to create a background of different colors in Halcon (not gray values) and paint the region (also in rgb) which I chose before in this background. The final image should be rgb. how can I do that?
( Note: I tried over paint, gen image proto...etc....it is creating a background and region with gray values, not rgb)
Please contact our free technical support via support@mvtec.com. They will be able to help you. Thank you.
Cannot download the finished example programs
Sorry for that. We've corrected the link.
How can I use two threshold values using if statement?
How can I get the value of y axis from gray histogram to use it in if statement
@@sgt.mcgragon359 Since we are not sure whether we understand your questions correctly, we'd like to ask you to contact our free technical support at support@mvtec.com, ideally describing your application in more detail. Thank you.
How can we create our own procedures in Halcon?......
@@sgt.mcgragon359 You can create a new procedure by selecting the desired code in the Program Window, right-clicking your mouse, and selecting "Create New Procedure". More information in chapter 6.4.5 "Creating Procedures" of our user's guide: www.mvtec.com/fileadmin/Redaktion/mvtec.com/documentation/manuals/hdevelop_users_guide.pdf
How can I copy one region from an image to another image?
If you want to apply a region to an image, you can use the operator reduce_domain. To first get the domain of an image, use the operator get_domain.