Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
実行時に右クリックして「画像の読み込み」オプションを選択するだけで、コントロールに画像を読み込むことができました。
特にImageオブジェクトを渡してロードする方法があるかどうかを知りたいのですが、通常どおりに実行しようとすると、「IImage」オブジェクトであるimagebox.Image = (...) ため、次のように設定するとエラーが発生するためです。imagebox.Image
imagebox.Image = (...)
imagebox.Image
任意のヒント?ありがとう :)
これを試すことができます:
Image<BGR, Byte> rstImg = new Image<BGR, Byte>(imageBox.Image.Bitmap); imageBox.Image = rstImg;