-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add support for color images #57
Comments
The forloop can be inside a joblib parallel environment. Also another
aproach is to add a `color=True` or cchek the output of the ndim function.
El jue., 22 de oct. de 2020 14:25, Martin Beroiz <[email protected]>
escribió:
… For registration is probably better to use Y channel in YUV colorspace, or
average of RGB.
Quick and dirty gist here
https://gist.github.com/martinberoiz/1ab5f6ec4a81680517ad2d9bd2ab9f32
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/toros-astro/astroalign/issues/57>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACJAASJGDRJSMOK2RN5DR3SMBTHVANCNFSM4S3P7BMA>
.
|
I like checking for The input is getting more complicated to parse, but I think it's still manageable. This also relates to #55 but if Regarding the joblib parallel it may be an overkill, since the loop is 3 items long. |
Following @leliel12 suggestion, I think we should follow The convention seems to be that the trailing axis is the one for channel. Images loaded with pillow (PIL) also behave this way. The only concern is for data cubes, or collection of images in different filters, that may be created this way:
Then the "channel" is the leading axis. Also astropy FITS data cube seem to put the spectral index at the front as well. A compromise could be adding an argument |
For registration is probably better to use Y channel in YUV colorspace, or average of RGB.
Quick and dirty gist here https://gist.github.com/martinberoiz/1ab5f6ec4a81680517ad2d9bd2ab9f32
The text was updated successfully, but these errors were encountered: