pyramidsegment: Allocate a new buffer for output
pyramidsegment: Allocate a new buffer for output

Use a newly allocated buffer for output, and release the intermediary
image used.

Also add a TODO for performance improvement

Elleo/gst-opencv,Elleo/gst-opencv,Elleo/gst-opencv