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
1
vote
0 answers

Is there any way to create a Halcon Image (HImage) from an URI in C#?

I am trying to create a HSmartWindowControlWPF and to set it's HalconWindow property. It seems like a String does not work if the Image is not in the same directory. So I would like to create a HImage from a Uri in some way like this: //create…
Monocito
  • 117
  • 1
  • 12
1
vote
2 answers

How can I use Python to read and capture images from a GIGE camera?

I have been working on a codebar recognition project for weeks,. I was asked to use GIGE cameras to recognize the code bars from a PCB and I choosed to use python for the job. So far, I've finished the recognition of codebars from a picture with…
Liu Alex
  • 11
  • 1
  • 3
1
vote
2 answers

encode and decode strange .shm file data to and from base64 c#

first a depressing fact: https://www.base64decode.org/ can do what i want to do. i´m trying to encode and decode (to and from base64) a model file (.shm) generated by the image processing tool MVTec Halcon because i want to store it in a xml…
Michel
  • 25
  • 4
1
vote
1 answer

Displaying a HALCON HImage in QT

I am trying to display an HImage in a QT graphicsview object using c++. Can anyone please point me in the right direction? I haven't been able to find any clues on the internet so far.
MSK
  • 448
  • 2
  • 5
  • 18
1
vote
1 answer

Conflicting performance using Image acquisition GUI and the exported HDevelop code

I have a setup with a camera and a flash system, which when used with the Image acquisition GUI within HDevelop gives me proper performance. i.e, image capture with the flash triggered once. I go to the Code generation tab and export the code for…
MSK
  • 448
  • 2
  • 5
  • 18
1
vote
1 answer

Halcon 9.0 generating errors under Windows 10 (but not Windows 8.1)

We are currently developing a C++ application (with VS2015) which uses Qt (5.9, for the UI framework) and Halcon 9.0 (for image processing). Recently we decided to use Squish to facilitate UI tests, and the initial test suites were executed without…
CharonX
  • 2,130
  • 11
  • 33
1
vote
1 answer

How to call dynamic library(.so file) with root priority in Ubuntu

I'm writing camera interface for HALCON 13.0 in Ubuntu platform, the interface is named hAcqxVision and realized by file with name hAcqxVision.so, and this interface fill will cal the vendor's driver named libtycam.so, but calling libtycam.so should…
Tommy
  • 31
  • 1
1
vote
1 answer

How to calculate the edge line distance of below image?

For below image, how to get the edge lines length and draw the fitting line of them. Any advice will be appreciated. Thanks.
QH. Zhu
  • 95
  • 1
  • 6
1
vote
3 answers

How to convert a greyscale image to an rgb image in HALCON?

I am troubleshooting a HALCON operator that is failing on single channel images, but works on color images. What is the simplest way to convert a greyscale image to an rgb image in HALCON? I am not picky about how the color conversion is done;…
Andrew Wagner
  • 22,677
  • 21
  • 86
  • 100
0
votes
0 answers

calculating Homography matrix from intrinsic and extrinsic camera matrices

I am working on opencv , halcon. I am trying to implement halcon's gen_image_to_world_plane_map algorithm. I read some articles about homography martix, and I tried to calculate using intrinsic and extrinsic camera matrices. Unfortunately, result is…
Ershat
  • 29
  • 4
0
votes
0 answers

Not enough calibration object poses: For the hand-eye-calibration at least three calibration object poses Halcon

i am trying to do a hand-eye calibration for machine vision with halcon. this is my code: PositionGeneration (Socket, WindowHandle, TupleWithPositions) CaptureWithZivid (Image) select_obj (Image, ColorPhoto, 5) dev_display (ColorPhoto) * Saving…
0
votes
1 answer

Image to process has wrong gray value type (HALCON error code: 9001)

i am trying to make a calibration program for machine vision with Halcon. What i am doing is i use the image acquisition assistant to connect to my external camera and then i insert the generated code for the acquisition of a picture. Then i am…
0
votes
1 answer

How to multiply Matrix with Vector in Halcon?

I am trying to multiply 4x4 transformation matrix with a Point Vector(4x1) in Halcon. Which command should i use since so far i haven't found anything I tried to multiply with with hom_mat3d_compose and matrix_multiply but nothing so far.
0
votes
1 answer

Find frequency from FFT Image

i have the following picture and i want to calculate the periodicity of the light drafts in the picture, i was suggested to use fourier transform. I got as far as calculating the power spectrum but then I can't continue. i am working in halcon this…
0
votes
1 answer

Create pose-array in Halcon

Ive seen a pose array a few times generated by a Halcon procedures like find_surface_model. When I try to create one myself I cant get it to work. I tried tuple_concat() and a few array notation things but the result is the same, one lengthy…
Malinko
  • 124
  • 11
1 2
3
8 9