채택된 답변

Image Analyst
Image Analyst 2014년 12월 24일

0 개 추천

What do you want to fill the gap with? A uniform color, like white? If so...
grayImage(row1:row2, col1:col2) = 255;

댓글 수: 2

Abo
Abo 2014년 12월 24일
thank you for your answer. yes, uniform color (white), but I dont know how can I use 'grayImage(row1:row2, col1:col2) = 255;' in the mentioned demo?
Image Analyst
Image Analyst 2014년 12월 24일
What is the name of your image variable? Replace my "grayImage" with your variable name. What rows and columns do you need replacing? Just assign them to row1, row2, col1, and col2.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

질문:

Abo
2014년 12월 24일

댓글:

2014년 12월 24일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by