# work-template-gen **Repository Path**: sean-ch-hung/work-template-gen ## Basic Information - **Project Name**: work-template-gen - **Description**: 從一個已知的 [256][256] 的影像陣列, 指定 x,y 座標, 產生 [64][64] 的 template 資料 - **Primary Language**: C++ - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-09-21 - **Last Updated**: 2024-09-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # work-template-gen #### 介绍 從一個已知的 [256][256] 的影像陣列, 指定左上角起始座標(X,Y), 剪出 [64][64] 的 template 資料並打印在 console 上 #### 软件架构 VisualStudio2022 C++ console 專案 #### 使用说明 1. 開啟 `work-template-gen/work-template-gen.sln` 專案, 其中 * work-template-gen.cpp 包含 main() * data.cpp 為 [256][256] 影像資料 2. 編譯並執行 `work-template-gen/work-template-gen.sln` 專案 3. 輸入要剪出的 [64][64] 左上角 x,y 座標 4. 於 console 中打印剪出的 `cImageTemplate[64][64]` 資料, 複製出來使用即可