Find C/C++ code of function imregionalmax

1 visualizzazione (ultimi 30 giorni)
Yudong
Yudong il 21 Giu 2014
Modificato: Image Analyst il 21 Giu 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.

Risposte (1)

Image Analyst
Image Analyst il 21 Giu 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.

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by