Code Monkey home page Code Monkey logo

imgwarp-opencv's People

Contributors

cxcxcxcx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

imgwarp-opencv's Issues

How to use it as a liquification tool?

It's excellent, I use it as a warp tool. To use it as a liquification, I. E. to only move the hit point based on a radius. I can fill the surrounding area of the item I want to move with control points all right. Is there a simpler way?

How can I run this project?

I am using Microsoft Visual Studio 2017 on Windows 10, and OpenCV is installed properly and I can run some simple programs of OpenCV which can be found around the internet.

How can I run this project as a person who is not familiar enough with OpenCV on c++? I know some basic c++ already, but never been involved with a project at this scale, so please explain it step by step, and as a suggestion, better to add the explanations on how to run the code, on the README.md file.

Divide by zero

Hello.

First for all, thanks for sharing great code.

I have found some memory crashing case.

When i put the same zero control point , some code makes crashing.

// 2 zero points
qsrc.push_back(cv::Point_<int>(0, 0));
qsrc.push_back(cv::Point_<int>(0, 0));

// 2 zero points
qdst.push_back(cv::Point_<int>(0, 0));
qdst.push_back(cv::Point_<int>(0, 0));

In imgwarp_mls_rigid.cpp

tmpP *= w[k] / miu_r;

Above code makes dividing by zero without handling.

missing some files?

@cxcxcxcx ,thanks for your project。
when i compile the code. It comes the error as follows:
image
It seems several files are not exist such as ui_deformwin.h .
can u help me?

memory leak

double *w = new double[nPoint];

rDx.create(tarH, tarW);
rDy.create(tarH, tarW);

if (nPoint < 2) {
    rDx.setTo(0);
    rDy.setTo(0);
    return;  // do not release the memory of w

}

Rigid Lines?

thanks for your code. u really did a great job. did your code include the Rigid Lines?

Access violation reading location

Exception in opening a file

Exception thrown at 0x77D21169 (ntdll.dll) in demo.exe: 0xC0000005: Access violation reading location 0x00740065.

Windows 10
VS2015
QT4
OpenCV 4.2

Why I cannot find cv.h file??

I have installed opencv3.1.0 in mu ubuntu 16.04.
I can import cv2 normally in python.
However, when I tried to compile these files using cmake

mkdir build
cd build
cmake ../src/
make

the precedure cmake is correct.
But make occures error, that cannot find cv.h in src/delaunay.h file.
Please help me .
I want to use these image warping method as my image preprocessing procedure. And I don't know how to import it into my python program.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.