long rows |
The number of rows in the image. |
long cols |
The number of columns in the image. |
// This code demonstrates how to use SetImageSize().
#include <iostream.h>
#include "CController.h"
using namespace std;
using namespace arc;
CController cController;
// .... open driver, initialize, etc ....
try {
// Set the image size to 512x600
cController.SetImageSize( 512, 600 );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.