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 visualizaciones (últimos 30 días)
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)

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by