This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a=imread('lena.png'); | |
| subplot(2,2,1); | |
| imshow(a); | |
| [M,N]=size(a); | |
| title 'Original Image'; | |
| r1=input('enter value r1: '); | |
| r2=input('enter value r2: '); | |
| for i=1:1:M | |
| for j=1:1:N | |
| if a(i,j)>=r1 && a(i,j)<=r2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a=imread('Penguins.jpg'); | |
| subplot(2,2,1); | |
| imshow(a); | |
| title 'Original Image'; | |
| b=im2double(a); | |
| a1=input('enter value a'); | |
| ga1=input('enter value gamma'); | |
| s=(a1*(b.^ga1))*256; | |
| s1=uint8(s); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a=imread('Penguins.jpg') | |
| subplot(2,2,1) | |
| imshow(a); | |
| title 'Original Image' | |
| b=im2double(a) | |
| s=(1*log(1+b))*256; | |
| s1=uint8(s) | |
| subplot(2,2,2) | |
| imshow(s1); | |
| title 'c=1' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a=imread('Jellyfish.jpg'); | |
| figure,imshow(a) | |
| R=a(:,:,1); | |
| G=a(:,:,2); | |
| B=a(:,:,3); | |
| % figure,imshow(R) | |
| %figure,imshow(G) | |
| % figure,imshow(B) | |
| subplot(2,2,1) | |
| imshow(a) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % Original Code By ATHUL JAYARAM | |
| % [email protected] | |
| function imout = myimfcn(im) | |
| % IM - input image. | |
| % IMOUT - output image. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Dynamic Form that changes Combo-box value based on value on another Combo-box without reload | |
| Original Code By ATHUL JAYARAM | |
| [email protected] | |
| */ | |
| <p> | |
| <div id="label" style="width: 140px; text-align: right; display: inline-block;">NAME: </div> | |
| <input name="firstname" type="text" id="firstname" placeholder="First" size="15" /> |
NewerOlder