cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
WarpTransform userspace application for cF (x86, ppc64). More...
#include <stdio.h>
#include <iostream>
#include <cstdlib>
#include <assert.h>
#include <string>
#include <string.h>
#include "PracticalSockets.h"
#include "config.h"
#include "util.hpp"
#include "opencv2/opencv.hpp"
#include "../../../../../../ROLE/vision/hls/warp_transform/include/xf_ocv_ref.hpp"
Go to the source code of this file.
Macros | |
#define | TRMAT_DIM2 3 |
#define | TRMAT_DIM1 2 |
Functions | |
void | delay (unsigned int mseconds) |
void | print_cFpZoo (void) |
void | resizeCropSquare (const cv::Mat &input, const cv::Mat &output, const cv::Size &dstSize, int interpolation=INTER_LINEAR) |
Resize an image and crop if necessary in order to keep a rectangle area in the middle of the image. More... | |
string | prepareWarpTransformCommand (unsigned int rows, unsigned int cols, unsigned int channels, float *transform_matrix) |
int | main (int argc, char *argv[]) |
WarpTransform userspace application for cF (x86, ppc64).
Copyright 2016 – 2022 IBM Corporation
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file warp_transform_host.cpp.