Hi i just Worked on an Assignment and Im having some deficulties with it.....Canany one check whats wrong...
Note: Assignment is to modify the background image to display a Logo on it.
something like this,
I'm still new with Matlab please can anyone help me with this...
The code I have been working is the following.
Bgimg = imread("Background_Image.jpg");
Bgimgdouble = im2double(Bgimg);
Fgimg = imread("Forground_Image.png");
FgimgRs = imresize(Fgimg, [576 720]);
FgimgRsComp = imcomplement(FgimgRs);
Fgimg2bw = im2bw(FgimgRsComp, 0.4);
img = zeros(size(Fgimg2bw));
new_pixel = pixel;
im = image(img);
im.AlphaData = max(img,,3);
This is the Result im getting.....