Find C/C++ code of function imregionalmax

1 view (last 30 days)
Yudong
Yudong on 21 Jun 2014
Edited: Image Analyst on 21 Jun 2014
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.

Answers (1)

Image Analyst
Image Analyst on 21 Jun 2014
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.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!