Error-Double inputs must have integer values in the range of ASSUMEDTYPE. Question asks me to create a union of a constant image and skeleton image.

조회 수: 2 (최근 30일)
function [w]=IM_negative(y)
y=imread('ImgSkeleton.jpg');
q=ones(317,167,3)*0.5;
disp(q);
figure(4)
imshow(q);
figure(1)
imshow(y);
yb=imcomplement(y);
figure(2)
imshow(yb);
f=double(q);
g=double(y)
yc=bitand(f,g);
figure(3)
imshow(yc)

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by