필터 지우기
필터 지우기

i want to display binary image in blue color...

조회 수: 1 (최근 30일)
Elysi Cochin
Elysi Cochin 2012년 10월 17일
i want to display binary image in blue color...that is i have an image of black lines in white background... i want to display the black lines in blue color in white background.... how can i do it?

채택된 답변

Teja Muppirala
Teja Muppirala 2012년 10월 17일
You can change the colormap to contain blue and white. Like this:
I = im2bw(imread('cameraman.tif'));
imshow(I)
colormap([0 0 1; 1 1 1]) % Blue = [0 0 1], White = [1 1 1]

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Blue에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by