通过C#对XMPGPano元数据进行图像处理:用于facebook 360图像

我使用C#-emgu通过自定义拼接制作facebook 360图像。

  1. 能够使用C#图像属性项设置EXIF标记(制作和模型)。

    // Sample code for set exif make tag var dummy1 = Image.FromFile(@"filePathName.jpg"); PropertyItem pItem = dummy1.PropertyItems[0]; string str = System.Text.Encoding.UTF8.GetString(pItem.Value); pItem.Id = 0x010F; // make tag id pItem.Type = 2; pItem.Value = System.Text.Encoding.UTF8.GetBytes("*****"); pItem.Len = pItem.Value.Length; jpeg1.SetPropertyItem(pItem); 
  2. 无法设置C#列出的XMPGPano标签。

XMPGPano文档在谷歌街景

 * CroppedAreaImageHeightPixels (final image height) * CroppedAreaImageWidthPixels (final image width) * ProjectionType (equirectangular) * CroppedAreaLeftPixels (No idea what it is?) * CroppedAreaTopPixels (No idea what it is?) * FullPanoHeightPixels (No idea what it is?) * FullPanoWidthPixels (No idea what it is?) 

图片:exif工具中的XMPGPano标签示例

  1. 但只有添加XMPGPano标签才能了解360图像。

请按照以下几点给我路线..

  1. 为什么以下标记带有样本计算

    • CroppedAreaLeftPixels(不知道它是什么?)
    • CroppedAreaTopPixels(不知道它是什么?)
    • FullPanoHeightPixels(不知道它是什么?)
    • FullPanoWidthPixels(不知道它是什么?)
  2. 如何以编程方式添加此标记C#。