Exercise Recreate Figure Similar One Shown Using Grayscale Image Choice 128 256 512 1024 Q37262472

code in matlab!
Exercise: Recreate a figure similar to the one shown here using a grayscale image of your choice. 128 256 512 1024Exercise: Recreate a figure similar to the one shown here using a grayscale image of your choice. 128 256 512 1024 Show transcribed image text Exercise: Recreate a figure similar to the one shown here using a grayscale image of your choice. 128 256 512 1024


Answer


we can simply use imresize function from matlab for thispurpose.

code:

x=imread(“file-path”); % put file location path inside thisfunction which reads the image%

y=imresize(x,0.5); %resizes the image to half%

y1=imresize(x,0.25); %resizes the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.