Find C/C++ code of function imregionalmax

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by