hmeine / geomap Goto Github PK
View Code? Open in Web Editor NEWten years worth of GeoMap code
License: MIT License
ten years worth of GeoMap code
License: MIT License
pythonutil.hxx contains a collection of BPL-related hacks and workarounds. Let's see whether it is needed at all now.
The individual files should contain license headers. See #8
During import, one currently gets:
/Users/hmeine/local-Darwin/lib/python2.7/site-packages/vigra/__init__.py:104: RuntimeWarning: to-Python converter for vigra::TinyVector<double, 2> already registered; second conversion method ignored.
import vigranumpycore
/Users/hmeine/local-Darwin/lib/python2.7/site-packages/vigra/__init__.py:104: RuntimeWarning: to-Python converter for vigra::TinyVector<double, 3> already registered; second conversion method ignored.
import vigranumpycore
/Users/hmeine/local-Darwin/lib/python2.7/site-packages/vigra/__init__.py:104: RuntimeWarning: to-Python converter for vigra::Point2D already registered; second conversion method ignored.
import vigranumpycore
Before the restructuring, one could check out the hg repository into vigra/vigranumpy/private and issue "make geomap".
It would be great to get that working again. (We would probably want to build a DLL in the src/geomap folder first, and link against it.)
I removed the geomapmodule.cxx though, because it contained loads of unrelated functionality, so I first need to separate the bits and pieces and check in the GeoMap-related part of it.
At the moment this library uses with sigc++ for signals. However, an implementation using boost signals would also be interesting.
My current plan is:
I am working on this here.
I got a strange crash when iterating an edge. In particular, I get no output with a loop like
for p in edge:
print p
and I cannot do list(edge)
or numpy.asarray(edge)
. Strangely, plot(*numpy.asarray(edge).T)
works (consistently), but of course that may just be undefined behavior.
So far, we have not publicly attached a license to this repository.
Hi Hans,
I just stumbled over some very old code of mine, and now I'm trying to make it just run again.
I get some error messages at crackConvert.py, in crackEdgeMap:
File "geomap/subpixelWatersheds/crackConvert.py", line 22, in crackEdgeMap
for dart in result.face(0).holeContours().next().phiOrbit():
AttributeError: '_ContourIterator' object has no attribute 'next'
Which is true, of course.
AFAICS, sortEdgesDirectly() and marking the border edges are processed in crackedgemap.cxx, CrackEdgeMapGenerator::initializeMap already, making the crackEdgeMap in crackConvert.py a three liner:
def crackEdgeMap(labelImage, initLabelImage = True, eightConnectedRegions = True):
result = crackEdgeGraph(labelImage, eightConnectedRegions = eightConnectedRegions)
result.initializeMap(initLabelImage)
return result
That's all for the moment. :-)
For a long time, (Python) unit tests were lumped together in one (or a few) big file, without obvious relation between the modules being tested and the tests itself. We should
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.