errors when running a function

1 回表示 (過去 30 日間)
nour
nour 2022 年 12 月 13 日
コメント済み: nour 2022 年 12 月 13 日
this what happens whenever I click the complement button

採用された回答

DGM
DGM 2022 年 12 月 13 日
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 件のコメント
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 件)

カテゴリ

Help Center および File ExchangeThermal Analysis についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by