You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: edgeFromImg2Pano.m
    path of file: ./repos/PanoBasic/BasicProcessing/VpEstimation
    
    the code of the file until where you have to start completion: function [ panoList ] = edgeFromImg2Pano( edges )
%EDGEFROMIMG2PANO Convert line segment from perspective views to panorama
%   edges: a structure contains vx, vy, fov of perspective views and line
%   segments and edge map of each views.
%   panoList: output, in format [normal u1 u2 score]

    
function [ panoList ] = edgeFromImg2Pano( edges )
%EDGEFROMIMG2PANO Convert line segment from perspective views to panorama
%   edges: a structure contains vx, vy, fov of perspective views and line
%   segments and edge map of each views.
%   panoList: output, in format [normal u1 u2 score]
edgeList = edges.edgeLst;
if size(edgeList,1) == 0
    panoList = [];
    return;
end