필터 지우기
필터 지우기

how to covert Gray-scale video into RGB video

조회 수: 6 (최근 30일)
syscon
syscon 2014년 8월 27일
댓글: Ank 2014년 8월 28일
Dear friends, For the fast performance i had converted the video into Gray-scale format. now. In my project i need to show the output in RGB (true color) after the object detection process. Kindly share any close idea related to this .

답변 (1개)

Image Analyst
Image Analyst 2014년 8월 27일
Do you want to know how to make a movie from a series of gray scale image? Where is the color coming from? Are you adding graphics or something?
  댓글 수: 3
Image Analyst
Image Analyst 2014년 8월 28일
편집: Image Analyst 2014년 8월 28일
I did not understand the answer and don't have my questions answered. But anyway, to convert a grayscale image to color, you can do this:
rgbImage = cat(3, grayImage, grayImage, grayImage);
or this;
rgbImage = ind2rgb(grayImage, someColorMap);
And I don't know why Simulink is in the product list or tags list.
Ank
Ank 2014년 8월 28일
I guess after your processing instead of overlaying tracking blobs on the gray scale image do it directly on your RGB image that you already have it. It solves your problem right?

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

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by