You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
349 B
C++
15 lines
349 B
C++
3 years ago
|
#include <cstdio>
|
||
|
#include "hdrplus/bayer_image.h"
|
||
|
|
||
|
int main( int argc, char** argv )
|
||
|
{
|
||
|
if ( argc != 2 )
|
||
|
{
|
||
|
printf("Usage: ./test_bayer_image RAW_IMAGE_PATH\n");
|
||
|
exit( -1 );
|
||
|
}
|
||
|
|
||
|
hdrplus::bayer_image raw_bayer_image( argv[1] );
|
||
|
|
||
|
printf("Image of shape h=%d w=%d\n", raw_bayer_image.height, raw_bayer_image.width );
|
||
|
}
|