SourceXtractorPlusPlus
SourceXtractorPlusPlus copied to clipboard
Call sourcextractor++ from Python
The last commits should make the handling of errors and multi-threading somewhat more reliable. Not yet supported: error interception from a custom output handler (you can write one, but context does not expose the errors, should be relatively easy to do so, though), nor custom segmentation.
Not yet supported: error interception from a custom output handler (you can write one, but context does not expose the errors, should be relatively easy to do so, though), nor custom segmentation.
Both done! But no custom grouping yet.
CustomSegmentationDemo.py
is an example of a very naive custom segmentation that sends sources to sourcextractor++. Good for the demo?
Of course, you can not rely on this custom segmentation, but looking at the cross-match
the rest of the pipeline seems to pick well on these objects.
And a primitive custom grouping.
And here is the live preview demo
It is not intended for production. I have my doubts it will scale! It may be better to add the pixels by hand rather than having one artist per source, but you can get an idea of how to do it.