私は imaqColorHistogram(...)
CVI でNI VISION を使用しています。これは、GREEN スポットを含む必要がある画像 (スポットはほとんどの画像)
レポートには次のものが含まれます。
int* histogram; //An array describing the number of pixels that fell into each class.
int histogramCount; //The number of elements in the histogram array.
float min; //The smallest pixel value that the function classified.
float max; //The largest pixel value that the function classified.
float start; //The smallest pixel value that fell into the first class.
float width; //The size of each class.
float mean; //The mean value of the pixels that the function classified.
float stdDev; //The standard deviation of the pixels that the function classified.
int numPixels; //The number of pixels that the function classified.
ほとんどのカラー画像が GREEN に最も近いことを確認したいと思います。
どの ColorMode を使用すればよいですか? そのレポートの基準は何ですか?