您现在的位置是:源码地带 > 资源下载

// // Histogram Sample // This sample shows how to use the Sample Grabber filter for video image p

资 源 简 介

// // Histogram Sample // This sample shows how to use the Sample Grabber filter for video image processing. // Conceptual background: // A histogram is just a frequency count of every pixel value in the image. // There are various well-known mathematical operations that you can perform on an image // using histograms, to enhance the image, etc. // Histogram stretch (aka automatic gain control): // Stretches the image histogram to fill the entire range of values. This is a "point operation," // meaning each pixel is scaled to a new value, without examining the neighboring pixels. The // histogram stretch does not actually require you to calculate the full histogram. The scaling factor // is calculated from the minimum and maximum values in the image.

相 关 资 源