pyimreg / python-register

Linear and non-linear image registration methods, using scipy and numpy.
Other
62 stars 34 forks source link

Adding a GUI for manual feature manipulation #41

Open riaanvddool opened 12 years ago

riaanvddool commented 12 years ago

A Qt GUI to easily but manually define, match, edit and remove common features between two images.

nfaggian commented 12 years ago

Nathan-Faggians-MacBook-Pro:visualize nfaggian$ python Python 2.7.2 (default, Aug 21 2011, 13:33:19) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information.

import editor ed = editor.Editor() QWidget: Must construct a QApplication before a QPaintDevice

Abort trap: 6

nfaggian commented 12 years ago

Fixed the bug above - might just be an obscure osx thing.

nfaggian commented 12 years ago

Do we want to have a data model?

I think being able to draw point and line features is important. One way we could go is to use shapely, which has a nice representation for these things.

So we would need:

1) shapely for representation

2) qt for visualization and manipulation

3) yaml for serialization?

Any thoughts?

nfaggian commented 12 years ago

http://toblerity.github.com/shapely/

riaanvddool commented 12 years ago

I would definitely like to have a data model for some sort of mvc type architecture.

1) I like the look of Shapely, want to get to know it anyway.

2) Do we have an alternative? :P

3.) Need to read up on yaml a bit, but I think that is what you used for serializing the features already anyway, so I will go with that.

nfaggian commented 12 years ago

Hi,

I am playing around with mvc in controller.py, I am trying to follow this:

http://elabs.se/blog/33-why-serenade