Hi thanks for your tutorial. I am running Halcon 18.11 and saving function that you used " write_image_mouse_click() " is not supported. could you introduce me another function and its parameters to save image please.
Thank you for your comment. The function in the video is supported within HALCON 18.11. However, it is not a function/operator but a local procedure. This is also mentioned at 4:42. In the video description, you can find a link (www.mvtec.com/services-support/videos-tutorials/single-video/image-acquisition-with-mvtec-halcon-hdevelop/) that opens our website where this video is embedded. In the right panel under Downloads, you can download the script named "Image Acquisition". Within this script, you can find the local procedure "write_image_mouse_click()" which can be integrated in any of your HALCON applications. We hope that this information is helpful for you.
Do you have any example of auto focus? Here you have to manually set focus of camera. A lot of GigE cameras have Focus and Iris parameter. How to write program which will check for grey values in histogram and adapt iris. Could I use threshold command and then sum space of all the regions above threshold. And if selected space is more than 1% of space of image then i should lower Iris value. Or hysteresis_threshold and if i get any region then i have to decrease Iris. How to detect if picture is in focus? I bought DFK Z30GP031 GigE camera with text autofocus on it ... but camera do not have auto focus. So I'm wondering if i can make HALCON program, which will calculate sharpness of image and adjust Focus parameter of camera to achieve best sharpness value. Which method should I use? edges_image to get list of all edges ... info_edges to get list of edges wider than 2 pixels ... is there some better way?
Thank you very much for your question. We would like to refer you to our example script determine_sharpness.hdev, that example shows how to measure the sharpness of an image using four characteristic quantities. What you said about gray value histogram, threshold and others, they all can be realized in HALCON. Whether you can adapt the iris automatically we are not sure, but exposure time and other parameters of camera can be adapted per e.g. GigEVision. About why DFK Z30GP031 GigE camera does not have auto focus, you should contact the manufacturer. If you have more question about how to implement your application, we would like to ask you to contact the HALCON distributor in your country. You can find them at www.mvtec.com/company/partner-network/halcon-distributors/
@@mvtecsoftware Thank you for your help. I was able to add auto-focus functionality to my program. :) In DFK Z30GP031 camera from Imaging Source, auto-focus only works if you use program from manufacturer, which runs on PC. So camera have not integrated auto focus inside of camera.
To answer your question, we need to see your program. Thus, we kindly ask you to reach out to our distributor in your country. All distributors have direct contact to MVTec in case they need help with answering your questions. Here you can find them: www.mvtec.com/company/partner-network/halcon-distributors/ Thank you for your understanding.
Since this question cannot be answered in a short comment here, we kindly ask you to contact our local distributor in your country. All our distributors have direct contact to MVTec in case they need help with answering your questions. Here you can find our distributors: www.mvtec.com/company/partner-network/halcon-distributors/ Thank you for your understanding.
Hi thanks for your tutorial.
I am running Halcon 18.11 and saving function that you used " write_image_mouse_click() " is not supported.
could you introduce me another function and its parameters to save image please.
Thank you for your comment.
The function in the video is supported within HALCON 18.11. However, it is not a function/operator but a local procedure. This is also mentioned at 4:42. In the video description, you can find a link (www.mvtec.com/services-support/videos-tutorials/single-video/image-acquisition-with-mvtec-halcon-hdevelop/) that opens our website where this video is embedded. In the right panel under Downloads, you can download the script named "Image Acquisition". Within this script, you can find the local procedure "write_image_mouse_click()" which can be integrated in any of your HALCON applications.
We hope that this information is helpful for you.
Do you have any example of auto focus? Here you have to manually set focus of camera. A lot of GigE cameras have Focus and Iris parameter.
How to write program which will check for grey values in histogram and adapt iris.
Could I use threshold command and then sum space of all the regions above threshold. And if selected space is more than 1% of space of image then i should lower Iris value. Or hysteresis_threshold and if i get any region then i have to decrease Iris.
How to detect if picture is in focus? I bought DFK Z30GP031 GigE camera with text autofocus on it ... but camera do not have auto focus. So I'm wondering if i can make HALCON program, which will calculate sharpness of image and adjust Focus parameter of camera to achieve best sharpness value. Which method should I use?
edges_image to get list of all edges ... info_edges to get list of edges wider than 2 pixels ... is there some better way?
Thank you very much for your question.
We would like to refer you to our example script determine_sharpness.hdev, that example shows how to measure the sharpness of an image using four characteristic quantities.
What you said about gray value histogram, threshold and others, they all can be realized in HALCON. Whether you can adapt the iris automatically we are not sure, but exposure time and other parameters of camera can be adapted per e.g. GigEVision.
About why DFK Z30GP031 GigE camera does not have auto focus, you should contact the manufacturer.
If you have more question about how to implement your application, we would like to ask you to contact the HALCON distributor in your country. You can find them at www.mvtec.com/company/partner-network/halcon-distributors/
@@mvtecsoftware Thank you for your help. I was able to add auto-focus functionality to my program. :)
In DFK Z30GP031 camera from Imaging Source, auto-focus only works if you use program from manufacturer, which runs on PC. So camera have not integrated auto focus inside of camera.
How can I do it in C#? I just cannot run infinite loops because my program stops working. Please help me =(
To answer your question, we need to see your program. Thus, we kindly ask you to reach out to our distributor in your country. All distributors have direct contact to MVTec in case they need help with answering your questions. Here you can find them: www.mvtec.com/company/partner-network/halcon-distributors/ Thank you for your understanding.
How can I connect HDevelop with camera of mobile android?
Since this question cannot be answered in a short comment here, we kindly ask you to contact our local distributor in your country. All our distributors have direct contact to MVTec in case they need help with answering your questions. Here you can find our distributors: www.mvtec.com/company/partner-network/halcon-distributors/
Thank you for your understanding.