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.

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)

Réponses (0)

Catégories

En savoir plus sur Display Image dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by