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 - image_points_to_world_plane -> x1 and y1 format

In Halcon's sample camera_calibration_multi_image.hdev there is following code: image_points_to_world_plane (CamParam, Pose, Row, Col, 'mm', X1, Y1) distance_pp (X1[0:11], Y1[0:11], X1[1:12], Y1[1:12], Distance) Documentation says that x and y…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - Sort tuple based on list of indices

I have 2 Tuples, representing a list of point coordinates. I need them sorted by row. Following code sorts the rows tuple, and returns a new tuple containing the the change it made in the ordering of the tuple.. Now I would need to use this…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
1 answer

Halcon - how to set white balance

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…
sharkyenergy
  • 3,842
  • 10
  • 46
  • 97
0
votes
0 answers

Issue when start, pause and continue embedded HALCON application in windows forms using independent thread

I am in a bottleneck finishing a GUI in Windows Forms C#. I am 100% new doing this and I think that I am mixing and messing around. Someone could help me please? I am embedding an artificial vision application (developed in HALCON software and…
Erik Martinez
  • 23
  • 1
  • 4
0
votes
2 answers

Filter for noisy image with low contrast

I try to implement OCR in a really noisy image. There is also a low contrast between the number and background. I have tried to use some median filter to smooth background noise and edge enhancement method but without sensible effect. Does anyone…
Bartek
  • 9
  • 2
0
votes
1 answer

gen_contour_region_xld control parameter error in c#

After I developed my code in HDevelop, find_local_deformable_model (ImageReduced1, ImageRectified, VectorField, DeformedContours, ModelID...) gen_region_contour_xld (DeformedContours, EdgeRegion, 'margin') union1(EdgeRegion, RegionUnion)…
Ben
  • 9
  • 4
0
votes
1 answer

3D triangulation using HALCON

My aim is to calibrate a pair of cameras and use them for simple measurement purposes. For this purpose, I have already calibrated them using HALCON and have all the necessary intrinsic and extrinsic camera Parameters. The next step for me is to…
MSK
  • 448
  • 2
  • 5
  • 18
0
votes
1 answer

Can I use python to run a C# script file(.cs)?

I'm working with python on a project using OPT GIGE cameras. What I need now is to show the camera vision and capture a frame with my Python script. I didn't find anyway to connect to the gige camera with opencv in python, so I decide to use halcon…
Liu Alex
  • 11
  • 1
  • 3
0
votes
1 answer

error: use of undeclared identifier 'scale_image_range'?

I'm using Halcon and QT together,and i export the algorithm in halcon into c++,then i put the exported code in QT. I found the function "scale_image_range" can not be recognised. How to solve this problem? i try to add the #include "HalconCpp.h",…
H Mang
  • 1
  • 1
0
votes
1 answer

Faster saving method of bitmap C# wpf

I'm currently working on machine vision project. The issue is saving all of the images fast enough so that the queue of images doesn't build up in RAM and drain the user's memory. Is there any other method available for fast image saving? This…
Sam Koay
  • 1
  • 1
0
votes
1 answer

Is there a way to redirect a DLL's filesystem access (only read) to a memory mapped file/directory?

First: maybe this is an XY-Problem: what I am really trying to solve is a poor-man's protection scheme against spying on our source code. We are using HALCON (an image processing library) in a C# project; The thing is that the HALCON parts are…
Vroomfondel
  • 2,704
  • 1
  • 15
  • 29
0
votes
1 answer

Issue on connecting to the Image Acquisition Device using HALCON

My setup includes a POE camera connected directly to my computer on which I have HDevelop. From the past few days I am running into a problem wherein the first attempt to connect to the camera using HDevelop fails. When using Connect from the…
MSK
  • 448
  • 2
  • 5
  • 18
0
votes
1 answer

HDevelop record videos

I am using USB3 camera with HDevelop,and I will like to record a video with the real time image. I know that it is possible to take pictures, but I can not find the way to record a video. Is it possible?
Aitul
  • 2,982
  • 2
  • 24
  • 52
0
votes
2 answers

Halcon FindNccModel causes memory leak in C#

Using the Halcon 13 function FindNccModel in C# causes the following error: HALCON error #6001: Not enough memory available in operator find_ncc_model class Program { static void Main(string[] args) { HImage Image = new…
Vladimir Perković
  • 1,351
  • 3
  • 12
  • 30
0
votes
1 answer

Emboss an Image in HALCON

Original Image: OpenCV Processed Image: The first Image is the original. The second image is OpenCV's processed image. I want to realize the effect in HALCON too. Can someone give me advise on which method or HALCON operator to use?
1 2 3
8
9