필터 지우기
필터 지우기

How to replace "imwrite" in MATLAB Coder?

조회 수: 7 (최근 30일)
WanYu
WanYu 2020년 5월 13일
댓글: David 2022년 4월 16일
Hi,
So far I understand that MATLAB Coder do not support using imread, imwrite etc, I wish to write the image data into a file and save it.
How can I achieve at MATLAB Coder?
Please help!
Thank you

답변 (1개)

Walter Roberson
Walter Roberson 2020년 5월 13일
You use coder.cevel() or similar techniques to call your own writing function passing in the data and the file name.
Depending on your target system, you might be able to take advantage of available third-party libraries such as libpng http://www.libpng.org/pub/png/libpng.html
  댓글 수: 3
David
David 2022년 4월 16일
Everybody says "just use these external libraries" to solve this apparently very common problem (no imwrite/imread in Coder) but I haven't been able to find a single example piece of code on HOW to do it.
Anyone have an example. It's my first foray into ceval.
Thanks ahead of time.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by