How can I use MATLAB C/C++ compiler for "imread" function

답변 (1개)

Walter Roberson
Walter Roberson 2015년 10월 19일

0 개 추천

It is not allowed to generate C code for imread() .
imread() invokes a series of different libraries depending upon the image type. Some of the libraries are moderately large. For example the TIFF library is approximately 1 3/4 megabytes of .zip source, which compiles down to about 600 Kb of binary.
If you want to be able to read image files in your C/C++ code then push your imread() into a routine and coder.external() the routine and link to appropriate source code.

카테고리

도움말 센터File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

질문:

2015년 10월 19일

답변:

2015년 10월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by