-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlapping blocks: here or a new package? #413
Comments
I'd say that it's best to start as a separate package, as there's not enough bandwidth to actively maintain this use case over here. If, at some point, the package stabilizes, and the maintainers feel that the two packages may be merged, we may consider that. |
Can you express this in terms of linear algebra? Let me see if I can understand:
If I understand right, maybe something like a |
I do think it needs a new type. The key issue is one wants something like this:
and thus
In real imaging contexts, there will be noise, so the agreement will not be numerically exact. |
I'll leave this open for a little bit longer in case there is additional discussion, but at this moment it sounds like putting this in a separate package makes the most sense. Don't hesitate to correct me or expand any of this discussion, but preliminarily I want to thank both of you for the very rapid feedback! |
On my phone at the moment - will add some more context when I'm at a computer just to complete the record, but this all makes sense to me 👍 |
EDIT: this doesn't seem to happen in a fresh session, I must have screwed something else up 🤔 Previously erroring code
The main thing I wanted was to have a structure that allows me to retain the original images, and have a view-like super structure. It seems like BlockArrays already supports this - I can even provide views into the original as components. Eg, the following seems to work:
So aside from the In this example, I'd like to be able to do something like |
The error I noted above is an error when SixelTerm is also loaded (xref eschnett/SixelTerm.jl#13) I'm not sure where the error originates |
@kescobo was asking in the
#image-processing
slack about assembling a bunch of individual, overlapping images into a single larger image while maintaining the ability to access each individual underlying array. The translations needed to align the images in their regions of overlap is done by external tools, but once you know what those translations are, this seems quite a lot like "mortar
+ overlaps". We wondered whether it would be better to add this to BlockArrays.jl, or whether it would complicate things here to the point that it's better done as an external package. Just wondering what the maintainers of this package would prefer.@kescobo, I forgot to ask: are all the transformations pure translations? If there are rotations/etc, presumably that might be important to know at the outset.
The text was updated successfully, but these errors were encountered: