Skip to content
NaCl96 edited this page Jan 15, 2019 · 1 revision

int main(void) { //加载图片 mve :: ByteImage :: Ptr img1,img2; img1 = mve :: image :: load_file(“/ tmp / image_0000.jpg ”); img2 = mve :: image :: load_file(“/ tmp / undistorted_0000.png ”);

//添加图像以查看和保存。
mve :: View :: Ptr view = mve :: View :: create();
view-> set_image(img1,“ original ”);
view-> set_image(img2,“ undistorted ”);
view-> save_view_as(“/ tmp / view.mve ”);

返回 0 ;

}