MVTec Halcon wrapper with XLD serialization

版本 1.0.6 (11.3 KB) 作者: T. Dunker
Matlab wrapper for MVTec Halcon functions with XLD serialization
54.0 次下载
更新时间 2021/12/3

MatlabHalcon

Matlab wrapper for MVTec Halcon functions with XLD serialization.

A modification of the MVTec Halcon wrapper by Dirk-Jan Kroon permitting to use functions with HObject of type XLD as input or return value.

This MVTec Halcon wrapper can pass HObjects of type XLD between functions. The XLD is not mapped to a Matlab structure. It is simply serialized to a byte stream.

The build process is packed into the function build(). Executing build() will create a new folder "../halcon-XXX-YYY-ZZZ/+halcon", where XXX stands for the Halcon version, YYY for the matlab('arch') and ZZZ for the short name of the mex C++ compiler.

After adding the "halcon-XXX-YYY-ZZZ" folder to the matlab path one can e.g. use the model finding functions

xld = halcon.EdgesSubPix(templateImage, ...);
modelId = halcon.CreateScaledShapeModelXld(xld, ...);
[rows, cols, angles, scales, scores] = halcon.FindScaledShapeModel(searchImage, modelId, ...);

There is some real code to try in example.m.

View MVTec Halcon wrapper with XLD serialization on File Exchange

引用格式

T. Dunker (2024). MVTec Halcon wrapper with XLD serialization (https://github.com/T-Dunker/MatlabHalcon/releases/tag/v1.0.6), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2019a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.6

See release notes for this release on GitHub: https://github.com/T-Dunker/MatlabHalcon/releases/tag/v1.0.6

1.0.5

See release notes for this release on GitHub: https://github.com/T-Dunker/MatlabHalcon/releases/tag/v1.0.5

1.0.4

moved sources to https://github.com/T-Dunker/MatlabHalcon

1.0.3

ambiguity between function and variable names removed

1.0.2

removed error in build.m

1.0.1

Prevent dynamical unloading of the dll when clearing for a halcon mex function is called by mexLock(). This avoids the hang of matlab.

1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库