1. Grayscale
>> citra1 = imread('1.jpg');
>> imshow (citra1);
>> citra2 = imread('2.jpg');
>> j = rgb2gray(citra2);
>> imshow (j);
>> figure, imshow(citra1), figure,
imshow(j);
Tampilan pada matlab :
2. Blending
>> rgb=imread('1.jpg');
>> rgb2=imread('2.jpg');
>> rgbgray=rgb2gray(rgb);
>> rgb2gray=rgb2gray(rgb2);
>> add = imadd(rgbgray,rgb2gray);
>> w1=0.5;
>> w2=w1;
>> imshow(add); title('hasil penggabungan');
Tampilan pada matlab :
Blending
2
>>
RGB = imread('1.jpg');
>>
RGB2 = imread('2.jpg');
>>
w1 = 0.5;
>>
w2 = w1;
>>
RGBBlend1 = immultiply(RGB,w1);
>>
RGBBlend2 = immultiply(RGB2,w2);
>>
Blend=RGBBlend1+RGBBlend2;
>>
imshow(Blend);
Blending
3
>>
RGB = imread('1.jpg');
>>
RGB2 = imread('2.jpg');
>>
w1 = 0.5;
>>
w2 = w1;
>>
RGBBlend1 = immultiply(RGB,w1);
>>
RGBBlend2 = immultiply(RGB2,w2);
>>
Blend2=RGBBlend1+RGB2;
>>
imshow(Blend2);
3. Negasi
>> rgb = imread('1.jpg');
>> k=200-rgb;
>> figure, imshow(k);
Tampilan
pada mathlab
4. Histogram
>> citra2
= imread('2.jpg');
>> k=225-citra2;
>> j=rgb2gray(citra2);
>> subplot(2,1,1);
>> imshow(k);
>> subplot(2,1,2);
>> imhist(j),title('histogram
negatif');
1 Comments
As stated by Stanford Medical, It is in fact the one and ONLY reason this country's women get to live 10 years more and weigh on average 19 KG lighter than us.
ReplyDelete(And realistically, it is not related to genetics or some hard exercise and absolutely EVERYTHING to "how" they are eating.)
P.S, What I said is "HOW", and not "what"...
TAP this link to reveal if this brief questionnaire can help you unlock your true weight loss possibilities