Skip to content

Instantly share code, notes, and snippets.

@immengineer
Last active August 15, 2017 04:58
Show Gist options
  • Save immengineer/0cf134cd811ff6b16e53e9590f2724a4 to your computer and use it in GitHub Desktop.
Save immengineer/0cf134cd811ff6b16e53e9590f2724a4 to your computer and use it in GitHub Desktop.
JAISDK PixelFormatを指定して画像取得 前準備
namespace SimpleImageDisplaySample
{
public partial class Form1 : Form
{
// Main factory object
CFactory myFactory = new CFactory();
// Opened camera object
CCamera myCamera;
// GenICam nodes
CNode myWidthNode;
CNode myHeightNode;
CNode myGainNode;
CNode myPixelFormatNode;
int red, green, blue; // for average
@immengineer
Copy link
Author

平均値 intで良い

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment