Find C/C++ code of function imregionalmax

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일

0 개 추천

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.

카테고리

도움말 센터File Exchange에서 MATLAB Coder에 대해 자세히 알아보기

질문:

2014년 6월 21일

편집:

2014년 6월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by