Find C/C++ code of function imregionalmax

1 回表示 (過去 30 日間)
Yudong
Yudong 2014 年 6 月 21 日
編集済み: Image Analyst 2014 年 6 月 21 日
MATLAB function imregionalmax solves my image (2-D) processing work very well. Now I need to know how to implement imregionalmax in C/C++. I find that imregionalmax is supported for C/C++ generation, so I write the following function in order to generate C/C++ code using MATLAB Coder.
function B = FindRegionMin(A)
%#codegen
B = imregionalmax(A, 8)
But MATLAB Coder tells me there is an unsupported MATLAB function call:
What is my problem of doing that? How can I use MATLAB Coder to generate the C/C++ code of imregionalmax?
If MATLAB Coder is not a proper way, I want to know how MATLAB implement imregionalmax? I could not find any hint from Google and the official introduction of the function is too brief to know how exactly it works.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 6 月 21 日
There is no reference given for that function so you're on your own. You'll have to write your own code to do it. Good luck.

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by