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 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!