Skip to content
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

spatial order of grayim vs. colorim #447

Closed
bjarthur opened this issue Feb 28, 2016 · 3 comments
Closed

spatial order of grayim vs. colorim #447

bjarthur opened this issue Feb 28, 2016 · 3 comments

Comments

@bjarthur
Copy link
Collaborator

is it by design that the spatial order returned by grayim and colorim are reversed? this behavior is not intuitive to me.

julia> grayim(rand(5,4))
Gray Images.Image with:
  data: 5x4 Array{Float64,2}
  properties:
    colorspace: Gray
    spatialorder:  x y

julia> colorim(rand(5,4,3))
RGB Images.Image with:
  data: 5x4x3 Array{Float64,3}
  properties:
    colorspace: RGB
    colordim: 3
    spatialorder:  y x
@timholy
Copy link
Member

timholy commented Feb 28, 2016

I doubt it, and indeed that seems quite dreadful.

@greenflash1357
Copy link

This issue struck me when saving images to disk.

timholy referenced this issue Jan 16, 2017
Not sure why this was commented out originally
@timholy
Copy link
Member

timholy commented Jan 30, 2017

Closed by #577

@timholy timholy closed this as completed Jan 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants