← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 9026.c · 生成模型:GPT-6

零基索引翻转注意边界

理解等级:中级

像素索引0…W−1按水平方向翻转应写 x′=W−1−x,垂直类似 H−1−y;若采用边界坐标0…W,则可出现 W−x。原书办公室使用4032−x、3024−y,需先说明约定,避免把边界坐标公式直接套到零基像素中心。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Photoshop has the image coordinates origin on the top left. Our convention has been to put the origin on the bottom and the x-axis point from right to left. Therefore, we need to change the coordinates first (or just deal with it later). It is just simple to replace the image coordinates by yi ← 3,024 – yi and xi ← 4,032 – xi.

    参考来源

    - 位置:《Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)》第39章《相机建模与标定》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Foundations of Computer Vision (Antonio Torralba, Phillip Isola etc.)/_epub-src/OPS/xhtml/c039.xhtml) - 结论依据:摘录中关于零基索引翻转注意边界的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Photoshop has the image coordinates origin on the top left. Our convention has been to put the origin on the bottom and the x-axis point from right to left. Therefore, we need to change the coordinates first (or just deal with it later). It is just simple to replace the image coordinates by yi ← 3,024 – yi and xi ← 4,032 – xi.