MATLAB: Is there a block in the Video and Image Processing Blockset 2.8 (R2009b) that is equivalent to IMFILL from the Image Processing Toolbox

Computer Vision ToolboxImage Processing Toolbox

I would like use a block that performs the same operations as IMFILL from the Image Processing Toolbox while using the Video and Image Processing Blockset.

Best Answer

The ability to perform an operation equivalent to IMFILL using a shipped block is not available in the Video and Image Processing Blockset.
To work around this issue, if possible, either implement the function's algorithm in Simulink by using Embedded MATLAB or the blocks that are available in the Video and Image Processing Blockset.
Embedded MATLAB Function library (list of functions for which code generation is supported):
<http://www.mathworks.com/access/helpdesk/help/toolbox/eml/ug/bq1h2z7-9.html>
Block reference for the Video and Image Processing Blockset:
<http://www.mathworks.com/access/helpdesk/help/toolbox/vipblks/ref/f6010dfi1.html>