-
Notifications
You must be signed in to change notification settings - Fork 3
Get Weight Analysis Report
Raphael Kim edited this page Dec 12, 2016
·
1 revision
- Getting Weight Analysis Report from RAWProcessor.
- Weght Analysis Report contains RAW image min,mid,max.
RAWProcessor* rawproc = new RAWProcessor( "test.raw", 1556 );
if ( rawproc != NULL )
{
if ( rawproc->isLoaded() == true )
{
WeightAnalysisReport weight_report;
if ( rawproc->GetAnalysisReport( weight_report ) == true )
{
printf( "Threshold min = %d, max = %d, wide = %d\n",
weight_report.threshold_wide_min,
weight_report.threshold_wide_max,
weight_report.threshold_wide_max - weight_report.threshold_wide_min );
}
}
}
- And it also use in to get 8 bit grayscaled unsigned char vectors.