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 Comments

"...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.
What do you want to do? Burn the edges into your image?
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.
I don't know how to do the encoding and transmission. To find edges, have you tried the edge() function?
yes, I tried edge() function and the output is edge image, but I need to encode/compress this information before sending it to client.
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.
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?
Why not simply use save() to save the variable in a .mat file?

Sign in to comment.

Answers (0)

Categories

Asked:

on 15 Aug 2017

Commented:

on 18 Aug 2017

Community Treasure Hunt

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

Start Hunting!