【问题标题】:How to find a particular cropped image into the original image?如何在原始图像中找到特定的裁剪图像?
【发布时间】:2023-03-11 08:10:01
【问题描述】:

我正在执行以下步骤:

  • 我在原图img1中插入标记,得到水印图img2
  • 我裁剪加水印的图片得到img3
  • 我想裁剪原始图像img1 的特定部分以获得与img3 相同的部分。

我的问题是如何找到裁剪部分在原始图像中的位置?

【问题讨论】:

  • 这听起来有点太琐碎了。 img2 的尺寸是否与 img1 相同?你有提取img3的代码吗?
  • 为什么不使用与裁剪 img2 相同的行和列索引来裁剪 img1?例如im3 = img2(cropIndices); img1a = img1(cropIndices);
  • 这与here回答的问题相同。

标签: matlab crop


【解决方案1】:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-12-13
    • 1970-01-01
    相关资源
    最近更新 更多