A sample for resizing image in Cascades by C++ code