weixin_39565021
2020-12-01 16:19 阅读 5

Warp transformation

Hi, I wanted to use warp transformation functions of xfOpenCV: warpaffine and warpperspective. But in the header files, there are two options for it. In the warptransform, there is a option to do these transformations and also there are separate warpaffine and warpperspective functions in the include folder. What is the difference between them?

该提问来源于开源项目:Xilinx/xfopencv

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

5条回答 默认 最新

  • weixin_39624733 weixin_39624733 2020-12-01 16:19

    -iit8 Warpaffine and Warpperspective are memory mapped implementations, whereas Warptransform is a streaming implementation. Functionally both are similar. For pipeline applications, Warptransform is more suitable.

    点赞 评论 复制链接分享
  • weixin_39565021 weixin_39565021 2020-12-01 16:19

    Can I also perform inverse warpAffine and inverse warpPerspective using warptransform because I cannot see any parameter for specifying it, like in OpenCV we give the flag WARP_INVERSE_MAP

    点赞 评论 复制链接分享
  • weixin_39624733 weixin_39624733 2020-12-01 16:19

    -iit8 Yes, you can. There is no flag to set, you yourself need to generate and provide the inversed transformation matrix instead.

    点赞 评论 复制链接分享
  • weixin_39565021 weixin_39565021 2020-12-01 16:19

    Okay. Thankyou

    点赞 评论 复制链接分享
  • weixin_39624733 weixin_39624733 2020-12-01 16:19

    -iit8 Please close the issue if you think your question is answered.

    点赞 评论 复制链接分享

相关推荐