c#使用emgu imagebox控件来显示图像

时间:2016-11-03 10:10:26

标签: c# emgucv

我使用图像框来显示图像(imgWidth:19200,imgHeight:260),我的代码是:

imageBox = new ImageBox();
imageBox.Size = new Size(imgWidth, imgHeight);
imageBox.Dock = DockStyle.Fill;
MainSplitContainer.Panel1.Controls.Add(imageBox);
imageBox.Image = new Image<Bgr, byte>("2.bmp");

但显示的图像宽度仅为15000左右,图像的右侧部分无法显示。如何显示完整图像?

enter image description here

1 个答案:

答案 0 :(得分:0)

ImageBox可能不会超过15,000像素宽。但是,您是否尝试将功能模式设置为平移和缩放?也许那会让你到那儿。

道格

相关问题