diff --git a/ISCamRecorder.sln b/ISCamRecorder.sln index db2882b..97c409b 100644 --- a/ISCamRecorder.sln +++ b/ISCamRecorder.sln @@ -7,14 +7,14 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {658721A6-6624-41BF-B195-60BCE3518241}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {658721A6-6624-41BF-B195-60BCE3518241}.Debug|Any CPU.Build.0 = Debug|Any CPU - {658721A6-6624-41BF-B195-60BCE3518241}.Release|Any CPU.ActiveCfg = Release|Any CPU - {658721A6-6624-41BF-B195-60BCE3518241}.Release|Any CPU.Build.0 = Release|Any CPU + {658721A6-6624-41BF-B195-60BCE3518241}.Debug|x64.ActiveCfg = Debug|x64 + {658721A6-6624-41BF-B195-60BCE3518241}.Debug|x64.Build.0 = Debug|x64 + {658721A6-6624-41BF-B195-60BCE3518241}.Release|x64.ActiveCfg = Release|x64 + {658721A6-6624-41BF-B195-60BCE3518241}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/ISCamRecorder/Form1.cs b/ISCamRecorder/Form1.cs index 5fc9473..3716e84 100644 --- a/ISCamRecorder/Form1.cs +++ b/ISCamRecorder/Form1.cs @@ -20,15 +20,12 @@ public Form1() { InitializeComponent(); - //icTop.Tag = "9220016"; - //icLeft.Tag = "9220018"; - //icFront.Tag = "9220021"; - //icRight.Tag = "9220025"; - icTop.Tag = "50020749"; - icLeft.Tag = "50020036"; + icTop.Tag = "9220016"; + icLeft.Tag = "9220018"; + icFront.Tag = "9220021"; + icRight.Tag = "9220025"; _iccs = new List { - // icTop, icLeft, icFront, icRight - icTop, icLeft + icTop, icLeft, icFront, icRight }; } @@ -78,7 +75,7 @@ // c => (c > FRAME_RATE - 0.1F && c < FRAME_RATE + 0.1F)); // カメラ設定読み込み ic.LoadDeviceState(ICCFImport.ICCFImport.Import( - $"dfk42buc03.iccf"), false); + $"dfk33ux290.iccf"), false); // プレビュー設定 ic.LiveDisplayDefault = false; diff --git a/ISCamRecorder/ISCamRecorder.csproj b/ISCamRecorder/ISCamRecorder.csproj index f510c1d..f83586a 100644 --- a/ISCamRecorder/ISCamRecorder.csproj +++ b/ISCamRecorder/ISCamRecorder.csproj @@ -32,6 +32,26 @@ prompt 4 + + true + bin\x64\Debug\ + DEBUG;TRACE + full + x64 + 7.3 + prompt + true + + + bin\x64\Release\ + TRACE + true + pdbonly + x64 + 7.3 + prompt + true + diff --git a/README.md b/README.md new file mode 100644 index 0000000..22aa496 --- /dev/null +++ b/README.md @@ -0,0 +1,21 @@ +# ISCamRecoder + +## 手外科の静脈穿刺動作解析プロジェクト用の4カメラ撮影ブログラム + +### 構成 +- Imaging Source DFK 33 カメラ4個 +- Arduino [Seeduino XIAO M0+](https://www.switch-science.com/catalog/6335/) + - フォトリフレクタ [TPR-105](https://akizukidenshi.com/catalog/g/gI-03812/) + +### 開発環境 +- Visual C# 2022 + +### 開発メモ +- LoadDeviceState() は別シリアルのカメラ設定(xml, iccf)でも読める + +### 参考資料 +- [ISサンプルプログラム](https://www.argocorp.com/software/sdk/ICImagingControl/Sample_program/dotnet_35/index.html) +- [IS iccfファイル読み込みサンプル](https://github.com/TheImagingSource/IC-Imaging-Control-Samples/blob/master/c%23/Import%20IC%20Capture%20Configuration/README.md) +- [IS ダウンロードサイト](https://www.argocorp.com/software/DL/tis/index.html) +- [フォトリフレクタの使い方](https://www.petitmonte.com/robot/howto_photo_reflector.html) +- [Arduino 日本語リファレンス](http://www.musashinodenpa.com/arduino/ref/index.php)