How to encode edge features in Matlab?

I am making a simple demo in Matlab. I want to extract edge maps from video sequences then encode both frame & edge maps to bit stream. Then I will decode bitstream to have frame & edge maps, and leverage edge maps to upscaling that frame.
This is not a new idea, I used huffmanenco to encode image, but I'm facing some difficulties to encode edge maps. May anyone can give me an idea to solve this problem? Sorry if my question trouble you because I'm newbie in both Matlab and Computer Vision.
Thank you so much.

댓글 수: 8

José-Luis
José-Luis 2017년 8월 15일
"...but I'm facing some difficulties to encode edge maps. May anyone can give me an idea to solve this problem?"
This is not a helpful description of your problem.
Image Analyst
Image Analyst 2017년 8월 15일
What do you want to do? Burn the edges into your image?
Thien Thu Ngo
Thien Thu Ngo 2017년 8월 16일
I want to extract specific metadata (edge features) from the HD videos (server), then transmit it to client. At client side, I will leverage this information to avoid artifacts during upsampling. Before sending edge to client, we need to encode edge information into edge profiles. I dont know how to implement it in Matlab.
Image Analyst
Image Analyst 2017년 8월 16일
I don't know how to do the encoding and transmission. To find edges, have you tried the edge() function?
Thien Thu Ngo
Thien Thu Ngo 2017년 8월 17일
yes, I tried edge() function and the output is edge image, but I need to encode/compress this information before sending it to client.
Image Analyst
Image Analyst 2017년 8월 17일
How, exactly, are you doing the "sending"? What form of data does the client expect to receive? Obviously you need to send it in a form that the client is expecting to receive.
Thien Thu Ngo
Thien Thu Ngo 2017년 8월 18일
As I'm not trying to make a streaming system on matlab, so I will simulate it by encoding & saving into a file, then read the file back to reconstruct the frame. Is it possible?
Image Analyst
Image Analyst 2017년 8월 18일
Why not simply use save() to save the variable in a .mat file?

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Computer Vision Toolbox에 대해 자세히 알아보기

질문:

2017년 8월 15일

댓글:

2017년 8월 18일

Community Treasure Hunt

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

Start Hunting!