click below
click below
Normal Size Small Size show me how
ImgProcessingCode
| Question | Answer |
|---|---|
| In Matlab, the median filtering is implemented using the function _______. (answer only using the function name) | medfilt2 |
| The Matlab commands given below can be done by using only the edge command, write that command that does this. >> log=fspecial('log',13,2); >> edge(img,'zerocross',log); | edge(img,'log',0,2); |
| Write a Matlab command the will apply Sobel filter on image img. (do not include unnecessary spaces on your answer, end your command with a semicolon) | edge(img,'sobel'); |
| Write a Matlab command that uses fspecial implements unsharp filter with an alpha value of 0.5 (do not include unnecessary spaces on your answer, end your command with a semicolon). | fspecial('unsharp',0.5); |
| Write a Matlab command that will apply the Prewitt filter on image img using the edge function. (do not include unnecessary spaces on your answer, end your command with a semicolon) | edge(img,'prewitt'); |
| The Matlab commands given below can be done by using only the edge command, write that command that does this. | edge(img,'log',0,2); |