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.
Show older comments
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)
Answers (0)
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!