Matlab-数字图像处理基础实验-获取图片rgb颜色分量及截取子图
Problem Statement 问题描述
1.Proficient in Matlab tools and complete two Matlab functions GetColorCom() & GetSubImage().
2.Write a Matlab function (GetColorCom) with input string of an image name, read image in and display the image with its 3 color components in one display window if the input image is a color image. Return the image with its 3 color components if there are.
获取彩图rgb颜色分量图片
3.Write a Matlab function(GetSubImage) with input image, parameters of sub-image size and it’s the left-top coordinates in the input image, return the subimage to caller.
从左上角截取任意大小子图
Procedure (steps) 思路
(A)GetColorCom(img_String)
(1) Read an image into img_A by img_String and assign values to im_blue, im_red, and im_green respectively (initialize).
(2) Read out the RGB component channels of the three graphs re

最低0.47元/天 解锁文章
220

被折叠的 条评论
为什么被折叠?



