채택된 답변

DGM
DGM 2022년 12월 13일

0 개 추천

It's unclear what situation you're in. It appears that you don't have Image Processing Toolbox. I thought that im2gray() was part of IPT, but it's possible that I'm wrong. If you don't have IPT, you won't be able to use imcomplement. For class-agnostic image inversion see this answer:

댓글 수: 3

nour
nour 2022년 12월 13일
how can I download IPT because I searched for it and i can't find it
DGM
DGM 2022년 12월 13일
편집: DGM 2022년 12월 13일
IPT (Image Processing Toolbox) is fairly common among non-base toolboxes, but if it's not something you have, it might be found via:
otherwise, MIMT is here:
Note that IPT and MIMT themselves are not equivalent, but in this case, IPT imcomplement() and MIMT iminv() are equivalent. Also, I should remind that the linked copy of iminv() requires neither MIMT nor IPT.
nour
nour 2022년 12월 13일
thank you

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

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2022년 12월 13일

댓글:

2022년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by