Use of function of Image Processing Toolbox for code generation

Hi everyone,
I am doing some video processing with Simulink and I want to use the functions 'bwareaopen' and 'imclose' from the Image Processing Toolbox, I use the inside a Matlab Function block and I want to use Rapid Accelerator but I get the following error for both of them:
The function 'bwareaopen' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
However, I found in Matlab documentation that the function does support it. Functions supported for Code Generation - Alphabetical List
When I use 'coder.extrinsic ('bwareaopen', 'strel','inclose'), the simulation runs, but it is too slow, so I am trying to speed it up.
I am using Matlab version R2013a.
Thanks in advance.

 Respuesta aceptada

Steven Lord
Steven Lord el 16 de Oct. de 2015
The documentation to which you linked is for the most recent release, which is currently release R2015b. According to the first entry in the Release Notes for release R2015b of Image Processing Toolbox BWAREAOPEN was enabled for code generation with MATLAB Coder in release R2015b.

Más respuestas (0)

Categorías

Más información sobre Computer Vision Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Oct. de 2015

Comentada:

el 16 de Oct. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by