#pragma once // SelfTest.h - コマンドライン /selftest 用のヘッドレス自己検証。 namespace selftest { int Run(); // 0=PASS, 1=FAIL。selftest_result.txt を出力。 bool MakeDemoImage(LPCWSTR path); // デモ用: 明るい地に暗い欠陥数点の 24bit BMP を作る。 bool SaveDemoResult(LPCWSTR path); // デモ画像+キズ検査+ROI の注釈付き結果画像を保存。 }