Questions tagged [halcon]

Halcon (proprietary notation: HALCON) is a proprietary library of algorithms for image processing and machine vision. The software is developed by the Munich company MVTec.

Halcon (proprietary notation: HALCON) is a proprietary library of algorithms for image processing and machine vision. The software is developed by the Munich company MVTec.

The Halcon library provides about 2000 different operators and provides interfaces to many cameras and frame grabbers. It is designed for operation on multicore systems and for GPGPU.

Halcon is used predominantly in industrial and medical applications. Similar proprietary libraries include the Cognex Vision Library and the Matrox Imaging Library.

The IDE uses the proprietary HDevelop. Otherwise, there is also an extension for Microsoft Visual Studio.

128 questions
0
votes
1 answer

Halcon - Region Symmetry

Is there a way to detect if a region is symmetric or not on its vertical center axis? I have this region: The left side is correct, the right side has this hole.. I need to detect it and would like to do it with symmetry. I was not able to find any…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
2 answers

Halcon - Move XLD line

I have a Iconic variable BackWallBoundaryLineXLD It containts 2 points and the line connecting them. I would need to move this line upwards 40 pixels, so basically change the row coordinate of the line to Currentvalue-40. Is there a simple and clean…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - Get a score for branches

I need to find shapes that have many branches.. But with only the region_features i'm not able to make this work. basically, I'd need a score for a "branch factor".. for example, a star would have a rather high score, since each tip would be a…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
4 answers

Halcon - What is the fastest blur filter available

What is the fastets blur filter in Halcon? I dont need a specific type of blur, I just need it to be blurred as fast as possible.. About 3/4 px in size. Currently I am using the binomial_filter as it seems to be faster than the gaussian, but still…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - Rotate pose

I know that there is set_origin_pose to shift a pose in X/Y/Z. But I was not able to to rotate a pose along its own X Y or Z axis. I cant simply add an angle to the pose's values, because they refer to the camera's coordinates. How can a pose be…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Programmatically select DrawingObject in HWindowControlWPF

I'd like to select a created DrawingObject to highlight it and show the handles without the user needing to click it. I am using Halcon 13 and tried using SendMouseDoubleClickEvent() (Docu) but this only seems to be available for the new Halcon…
Florian H.
  • 89
  • 10
0
votes
1 answer

Halcon - detect bright spots compared to local surroundings

I'd need to detect bright regions in the image. Would be quite easy with threshold. But I need to get spots that are bright compared to its surroundings, not based on an absolute value. What would be a good way to do this? Unfortunately I do not…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - Subtract regions

I'd need to subtract one region from another. I found how to combine two, but cannot figure out how to subtract one from another.. What I want to do is this: I have a Image splitted in its H L S channels. I want the Region of the L Channel between…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
2 answers

Halcon - Count number of holes

I have a region, created with threshold on the H channel of a image. Now i have a new Region, and reduced its domain to have a new image. On this new image, I need to count the holes. By holes I mean areas where there are no pixels. For example, if…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - how to handle different colored objects

I have objects with 3 different colors: black, dark green, and bright blue. When I take pictures of them, I do not yet know the real color of the object, thus my image can only be so bright that the bright blue object does not blow out to white. If…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - Flip coordinate system in pose

How can I flip the +/- direction of a single axis in a pose? i want Z to go upwards, not downwards.. Thanks
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - get lowest pixel of a region along a line

I have a random region, and would need the coordinates in the world plane of the intersection between the region and the center of the image, with the highest y coordinate. this is what I have so far: fill_up(SelectedRegions,…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
2 answers

Halcon - Inverse of image_points_to_world_plane

with image_points_to_world_plane I pass Row/Col coordinates in Pixel and get a coordinate back in mm referred to the world plane.. Is there way to invert this? I need for example to know what Row/Col pixel contains the 0/0 coordinate of the world…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

2D from 3D points in HALCON

Given a 3D point coordinate, the internal and the external camera parameters in a calibrated stereo camera setup, is there a HALCON method that gives me the 2D pixel coordinates on each camera? Regards, MSK
MSK
  • 448
  • 2
  • 5
  • 18
0
votes
1 answer

Halcon - get area of region in world coordinates

I have following code: image_points_to_world_plane (CamParam, Pose, intersection_points_row, intersection_points_col, 'mm', X1, Y1) distance_pp (X1[2], Y1[2], X1[3], Y1[3], Measure1) this code retunrs the values in mm. now the code goes on as shown…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
1 2 3
8 9