-
Notifications
You must be signed in to change notification settings - Fork 45
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
Request: Different fill method / ignore unavailable areas #22
Comments
Different fill method would be great, but currently I don't know of one that would be easy to implement and would avoid discontinuities near the edges. Probably some kind of blurring would work, but it has to be fast. Adding text to image before stacking is likely to be problematic, I would suggest adding it to the final image. |
That's a small case of lost-in-translation: I add the text to the final image, as an overlay. But the size of the final image depends on the offsets. But I think I can split the overlay into parts depending on the "anchor side" and align them in relative position to the borders or place the result image centered on a white/transparent background. C++ is realy by far not somethingI know anything about - the idea was something like: |
The wavelets extend beyond the image borders, that is the reason it has to be padded to a multiple of 2^n before processing. The lower downsampling wavelet levels have correspondingly smaller support areas in the original image. (The wavelets are still a bit of magic for me also, they just seem to work well for image stacking.) |
Hmm, ok, so the wavelets do not realy contain an image like an edge-detection-image, but they are more like a pyramid with different frequencies? I thought it's maybe possible to add min-values in your get_sg_absval - method, so the iteration does not run from 0->maxrow/column, but only from valid-rect-left to valid-rect-right... and so on or set absval.at(y, x) for x,y outside the rect to 0 - or some thing like that :D |
Hi again,
I know that this is maybe a bit much to ask, as it may collide with some general concepts of your stacking method, but anyway:
I usually add some informations like a description, scale, ... to the image using some simple layers as overlay for this task. But the elements in the layer have absolute coordinates - if the image is smaller than expected they are positioned outside of the image.
That would not be a problem, since the rectangle is available, but the mirroring creates artifacts, that are not actually part of the original images. Therefore it would be genius, if the filling for reconstruction could be changed, or areas outside the layers valid-boxes could be ignored.
I think using/ignoring transparency would be more complicated, but would have the benefit that it would maybe be a first step towards manual "masking" (just delete parts from an image) like in enfuse.
The text was updated successfully, but these errors were encountered: