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 Kommentare

José-Luis
José-Luis am 15 Aug. 2017
"...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 am 15 Aug. 2017
What do you want to do? Burn the edges into your image?
Thien Thu Ngo
Thien Thu Ngo am 16 Aug. 2017
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 am 16 Aug. 2017
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 am 17 Aug. 2017
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 am 17 Aug. 2017
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 am 18 Aug. 2017
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 am 18 Aug. 2017
Why not simply use save() to save the variable in a .mat file?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 15 Aug. 2017

Kommentiert:

am 18 Aug. 2017

Community Treasure Hunt

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

Start Hunting!