halcon Allows users to write custom functions , At the same time, you can save this function in other projects .

 
With halcon12 Explain
 
  • Create a custom function
 
 
  • Local program function : After creation, it can only be used in the current project
  • hdevelop Function file : After creation, it can be reused in other projects , The default is saved in C:/Program Files/MVTec/HALCON-12.0/procedures/ Next
 
Parameters : first + The number icon is the input parameter , the second + The number icon is the output parameter
Icon parameters :image\region\xld All etc. object object
Control parameter : Unification index htuple, Including numerical values \ character \ Array
 
  • Example
*
 
  • Add a list of external functions
 
Hdevelop Search for files in the set path Directory , The function file saved in the directory can be referenced in any project
 

How to be in Hdevelop Add more articles about your own operators

  1. Halcon relevant

      1.Halcon My self description Program Logic Ø Each program consists of a sequence of HALCON operators Ø The progra ...

  2. halcon operator

    halcon A list of operators for   Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm function : Take a training sample ...

  3. halcon A list of operators for

    Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm function : Add a training sample to a Gaussian mixture model ...

  4. Halcon Operator translation ——assign

    name assign- Assign a new value to the control variable usage assign( : : Input : Result) describe Assign a new value to the control variable . In the full text editor , Just use := You can assign a value , for example :  u : ...

  5. Halcon Common operators are used in many situations

    Chapter 1 :Classification 1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm function : Add a training sample to a Gaussian mixture model ...

  6. Halcon The correlation operator of a cycle in

    Conditions <condition> ,<condition> Inside is calculated as an integer or boolean value The expression of . Value of expression 1 Then the condition is true , Otherwise it is false . 1.if( ...

  7. Halcon Operator interpretation

    Halcon Operator explanation Halcon/Visionpro Video tutorials and materials , Please visit Recoding network , website : http://www.211code.com Chapter 1 :Classification 1. ...

  8. HALCON A complete collection of operators in ( Chinese English comparison )

    HALCON A complete collection of operators in ( Chinese English comparison ) Chapter 1 :Classification1.1 Gaussian-Mixture-Models1.add_sample_class_gmm function : Give me a lesson ...

  9. HALCON A complete collection of learning operators

    1.1 Gaussian-Mixture-Models 1.add_sample_class_gmm function : Add a training sample to the training data of a Gaussian mixture model . 2.classify_class_gmm ...

Random recommendation

  1. javaScript obtain url Parameters in

    var urlTools = { // obtain RUL Parameter values getUrlParam: function(name) { /*?videoId=identification */ var params = ...

  2. Design patterns singleton -Singleton

    singleton pattern Singleton When to use ? When you need a unique object , Please think of him . give an example : Thread pool (threadpool), cache (cache), Dialog box , Handling preferences and registry (registry) The object of , Driving range ...

  3. Spring Configuration mode

    1.bean Configuration mode : By full class name ( Reflection ), By factory method ( Static factory method & Example factory method ).FactoryBean. 2. Static factory method : You can directly call a static method of a class to return bean Example . cla ...

  4. Android:ImageView Image browser for applications

    ImageView Control to achieve a simple picture browser One . Pure display pictures : introduction : When the reader is doing this thing , You need to import the image in the source program . Readers should pay attention to : Before all the imported pictures , Pictures can only be named in lowercase English and numbers . design sketch ...

  5. c3p0 Link pool

    Frequent linking to databases is very performance intensive , So we used to save a certain amount of links in a pool , This pool we call link pool . Details please see :http://baike.baidu.com/link?url=dlTW-fTS3N_-j ...

  6. javascript obtain url The value after address hello , Including question marks

    javascript obtain url The value after address hello , Including question marks <!DOCTYPE html> <html lang="en"> <head> < ...

  7. Add... In the corner of the page GitHub Link icon

    Add... In the corner of the page GitHub Link icon Add... To the page HTML Code : <a href="https://github.com/you"> <img style=&qu ...

  8. GrayLog + Logspout + Docker Implement distributed log aggregation

    Prerequisite : It's already installed on your server Docker and Docker Compose One . install GrayLog(Docker The way ) version: '2' services: mongodb: image: m ...

  9. Guava BiMap AbstractBiMap

    BiMap BiMap It's a structure , He defined a Map structure , On behalf of the Map Of key and value They are all unique , And you can generate a reverse view of the relationship , The data of the reverse view will follow the ontology BiMap Change by changing /* * ...

  10. vim in E121: Unable to open and write to file solution

    1. Use command   :w !sudo tee %  Save it . among : The colon (:) It means that we are in vim The exit mode of : Exclamatory mark (!) It means that we are running shell command : sudo and tee All are shell command : % From ...