GithubHelp home page GithubHelp logo

interactivepoissonediting's Introduction

InteractivePoissonEditing

A GUI for Poisson Editing

Obtaining the Source Code

This repository depends on submodules, and sub-submodules. You must clone it with:

git clone --recursive

OR

If you have already cloned the repository with 'git clone', you must also:

git submodule update --init

Dependencies

  • ITK >= 4

NOTE: If you get errors like: vxl/core/vnl/vnl_numeric_traits.h:366:29: error: ‘constexpr’ needed for in-class initialization of static data member ‘zero’ of non-integral type

It means that you have not built ITK with c++11 eneabled. To do this, you must add -std=gnu++11 to CMAKE_CXX_FLAGS when you configure ITK:

ccmake ~/src/ITK -DCMAKE_CXX_FLAGS=-std=gnu++11

NOTE: you cannot configure (ccmake) and THEN set CMAKE_CXX_FLAGS - you MUST include the gnu++11 in the ccmake command the very first time it is run.

You can tell this project's CMake to use a local ITK build with: cmake . -DITK_DIR=/home/doriad/build/ITK

  • Boost 1.51 You can tell this project's CMake to use a local boost build with: cmake . -DBOOST_ROOT=/home/doriad/build/boost_1_51

  • Eigen 3.2.1

  • You can tell this project's CMake to use a local Eigen build with: cmake . -DEIGEN3_INCLUDE_DIR=/home/doriad/src/eigen-3.2.1/

Building

This repository does not depend on any external libraries. The only caveat is that it depends on c++0x/11 parts of the c++ language used in the Helpers submodule. For Linux, this means it must be built with the flag gnu++0x. For Windows (Visual Studio 2010), nothing special must be done.

interactivepoissonediting's People

Contributors

daviddoria avatar panovr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

interactivepoissonediting's Issues

Can't open file dialog on Mac OS X 10.9.2 for "PoissonCloningInteractive"

Running "PoissonCloningInteractive" on Mac OS X 10.9.2, and selecting "File->Open Images" menu command.
However, the open file dialog can't be displayed.
The output message is:
PoissonCloningGUI
Not using filename arguments.
QMetaObject::connectSlotsByName: No matching signal for on_actionOpenImages_activated()
QMetaObject::connectSlotsByName: No matching signal for on_actionSaveResult_activated()

GUI can't read image file

When reading the image file from PoissonEditingInteractive / PoissonCloningInteractive, there is an error:

Loading file /home/ylzhao/project/ICE/build/data/F16/F16.png
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'itk::ImageFileReaderException'
what(): /usr/local/include/ITK-4.7/itkImageFileReader.hxx:143:
Could not create IO object for reading file /home/ylzhao/project/ICE/build/data/F16/F16.png
There are no registered IO factories.
Please visit http://www.itk.org/Wiki/ITK/FAQ#NoFactoryException to diagnose the problem.

The same error in Ubuntu 14.04 and Mac OS X 10.10, and ITK version is 4.7.1.

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.