Compile Code And Run It With Mono In Docker

The Basic Knowledge About Docker. To find all containers and images: [parallels@localhost ~]$ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES [parallels@localhost ~]$ docker images REPOSITORY TAG IMAGE ID CREATED SIZE mono latest 2ba93b1033ba 2 weeks ago 690MB hello-world latest fce289e99eb9 11 months ago 1.84kB To read information Read more…

The Example About vtkPolyDataNormals

The algorithm class vtkPolyDataNormals can be used to calculate normals of points and cells in polydata. The following example shows how to use it. Cube Create a cube in which every cell is a single square. All information can be found in polydata, we use vtkPolyDataNormals to handle it and Read more…

Use OpenCV To Make Picture Brighter

Gamma correction is a very useful method to make the original image brighter. It is a non-linear transform for every input value, the relevant math equation is in the following section. O:output value I:input value #include <stdio.h> #include <opencv2/opencv.hpp> using namespace cv; int main(int argc, char** argv ) { Mat Read more…

Combine Images

The linear blend operator for two images: dst = α⋅src1+β⋅src2+γ we can use the following interface to support combine two pictures. CV_EXPORTS_W void addWeighted(InputArray src1, double alpha, InputArray src2, double beta, double gamma, OutputArray dst, int dtype = -1); Notice: we need to use the images which have the same Read more…

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X