图像平移
图像平移(Image Translation)是图像处理中的一种几何变换操作,主要用于将图像中的所有像素在平面上按指定的方向和距离移动。这种操作不会改变图像的形状或大小,但会影响图像在坐标系中的位置。图像平移的核心是将每个像素的位置按一定的向量(即平移矢量)进行偏移。
FPGA实现
`timescale 1ns / 1ps
//
// Company:
// Engineer:
//
// Create Date: 2024/08/10 16:59:55
// Design Name:
// Module Name: img_trans
// Project Name:
// Target Devices:
// Tool Versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
//
module img_trans#(
parameter img_width = 1024 ,
parameter img_height = 600 ,
parameter img_x_st