필터 지우기
필터 지우기

Error IMBLEND: unsupported class for FG?

조회 수: 3 (최근 30일)
dinesh bharathi
dinesh bharathi 2022년 9월 12일
편집: DGM 2023년 3월 9일
Hi @DGM ,
I just tried the toolbox with just the basic codes. Both images are of the same dimensions and all the values are same. I couldn't figure out what went wrong. Can you help on this!? Using matlab R2022a
fg=imread('New1.png');
bg=imread('New2.png');
outpict = imblend(fg,bg,1,'colordodge',1);
imshow(pris);
Error using imblend
IMBLEND: unsupported class for FG

답변 (1개)

DGM
DGM 2023년 3월 9일
편집: DGM 2023년 3월 9일
I guess the @ notification didn't work here.
For passers-by, I'm pretty sure this problem had been caused by a missing file. I had several screwups with the scripts I used for generating the packages. Hopefully that's been fixed. Much of the confusion stems from imblend() suppressing the complete error message backtrace. That much has been improved.
The suspicion that this might possibly be an issue which manifests only in newer MATLAB versions appears to be false. I've since successfully tested the given code sample in the forum editor (R2022b), both with and without IPT passthrough enabled. I used peppers.png, but I don't believe the problem had anything to do with the image itself.

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by