Auto Thresholding using Otsu's method for HDL Code generation

HDL Coder compatible Simulink model of Auto Thresholding algorithm
226 Downloads
Updated 2 Feb 2018

View License

This example shows how to create HDL Coder compatible Simulink model of Auto Thresholding algorithm by using Vision HDL Toolbox. Otsu's method is well known as a auto thresholding algorithm that chooses the threshold value to minimize the intraclass variance of the thresholded black and white pixels. MATLAB and Image Processing Toolbox provides some functions that uses Otsu's method, but these functions are not supported by HDL Coder. So, this example can be used to learn how to create auto thresholding algorithm in Simulink by using Simulink and Vision HDL Toolbox.
大津法は画像処理で良く用いられる閾値算出のアルゴリズムの1つです。クラス間分散とクラス内分散から分離度を求め、分離度が最大になる点を閾値として算出します。Image Processing Toolboxではこの大津法が含まれる関数が幾つか提供されていますが、何れもHDL Coderのサポート外となっており、直接VHDL/Verilogを生成することが出来ません。本モデルは大津法による自動2値化の処理を行うサブシステムを含み、HDL Coderを使ってVHDL/Verilogを生成することが可能です。
[Keyward]
画像処理・2値化・大津法・HDL・FPGA・自動コード生成・デモ・IPCVデモ・VHDL・Verilog

Cite As

Kei Otsuka (2024). Auto Thresholding using Otsu's method for HDL Code generation (https://www.mathworks.com/matlabcentral/fileexchange/65854-auto-thresholding-using-otsu-s-method-for-hdl-code-generation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Code Generation in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0