halcon

Halcon - 3D equivalent of affine_trans_contour_xld

六眼飞鱼酱① 提交于 2020-12-13 04:40:05
问题 I have a XLD contour that i need to convert from world plane to image plane.. but I can only find affine_trans_contour_xld , that accepts a 2D Mat, and not a 3D mat.. how can I transform the xld Contour from the world plane to the image plane? basically what I need is the inverse of contour_to_world_plane_xld EDIT: I THINK that the solution would be to find the 2D Mat of the XY plane, but couldnt find how to do that either.. 回答1: I solved it this way: *get the points of a 100 mm square on my

Halcon - extend region where it intersects with another region

天大地大妈咪最大 提交于 2020-12-13 03:12:37
问题 Left image is my starting situation: red is a region, and black is a XLD rectangle. The right is what I would like to achive. I would need that wherever the Region touches the Rectangle, the region is stretched out by X pixel.. my approach would be to draw a rectangular region with Width "X" and then unite it "union2()" but I have a difficult time to figure out the Y coordinates of the rectangles. Better yet, I can find the intersections, but I do not know how to find out if it is the

Halcon - extend region where it intersects with another region

时间秒杀一切 提交于 2020-12-13 03:10:27
问题 Left image is my starting situation: red is a region, and black is a XLD rectangle. The right is what I would like to achive. I would need that wherever the Region touches the Rectangle, the region is stretched out by X pixel.. my approach would be to draw a rectangular region with Width "X" and then unite it "union2()" but I have a difficult time to figure out the Y coordinates of the rectangles. Better yet, I can find the intersections, but I do not know how to find out if it is the

Halcon - extend region where it intersects with another region

被刻印的时光 ゝ 提交于 2020-12-13 03:10:10
问题 Left image is my starting situation: red is a region, and black is a XLD rectangle. The right is what I would like to achive. I would need that wherever the Region touches the Rectangle, the region is stretched out by X pixel.. my approach would be to draw a rectangular region with Width "X" and then unite it "union2()" but I have a difficult time to figure out the Y coordinates of the rectangles. Better yet, I can find the intersections, but I do not know how to find out if it is the

Halcon - how to set white balance

我是研究僧i 提交于 2020-05-17 06:04:02
问题 I have this code to try around with halcon. Images are quite greenish, and cannot figure out how to set whitebalance. I cannot find it in the samples, in the documentation, on google, and in the parameters. How is whitebalance set on halcon? * Image Acquisition 06: Code generated by Image Acquisition 06 * Image Acquisition 06: Attention: The initialization may fail in case parameters need to * Image Acquisition 06: be set in a specific order (e.g., image resolution vs. offset). open

Halcon - how to set white balance

て烟熏妆下的殇ゞ 提交于 2020-05-17 06:03:18
问题 I have this code to try around with halcon. Images are quite greenish, and cannot figure out how to set whitebalance. I cannot find it in the samples, in the documentation, on google, and in the parameters. How is whitebalance set on halcon? * Image Acquisition 06: Code generated by Image Acquisition 06 * Image Acquisition 06: Attention: The initialization may fail in case parameters need to * Image Acquisition 06: be set in a specific order (e.g., image resolution vs. offset). open