{"action":"created","issue":{"url":"https://api.github.com/repos/imglib/imglib2/issues/131","repository_url":"https://api.github.com/repos/imglib/imglib2","labels_url":"https://api.github.com/repos/imglib/imglib2/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/imglib/imglib2/issues/131/comments","events_url":"https://api.github.com/repos/imglib/imglib2/issues/131/events","html_url":"https://github.com/imglib/imglib2/issues/131","id":150886885,"number":131,"title":"Question about CompositeIntervalView","user":{"login":"dietzc","id":1267990,"avatar_url":"https://avatars.githubusercontent.com/u/1267990?v=3","gravatar_id":"","url":"https://api.github.com/users/dietzc","html_url":"https://github.com/dietzc","followers_url":"https://api.github.com/users/dietzc/followers","following_url":"https://api.github.com/users/dietzc/following{/other_user}","gists_url":"https://api.github.com/users/dietzc/gists{/gist_id}","starred_url":"https://api.github.com/users/dietzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dietzc/subscriptions","organizations_url":"https://api.github.com/users/dietzc/orgs","repos_url":"https://api.github.com/users/dietzc/repos","events_url":"https://api.github.com/users/dietzc/events{/privacy}","received_events_url":"https://api.github.com/users/dietzc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-25T14:52:25Z","updated_at":"2016-04-25T14:55:46Z","closed_at":null,"body":"Hi @axtimwalde, @tpietzsch \r\n\r\nI'm a bit puzzled concerning `CompositeIntervalView`. Obviously, `Views.collapse(...)` collapses the last dimension of a `RandomAccessibleInterval` and returns a `CompositeIntervalView`. Now assume, the source of the `CompositeIntervalView` is 3d. I'd expect the resulting `CompositeIntervalView` to be 2d. However, it's 3d with the last dimension set to one. Why? Bug? Feature?\r\n\r\nBest and thanks,\r\n\r\nChristian\r\n\r\nAddition: If I ask the `CompositeIntervalView` with `numDimensions()` it returns `2`. If I go for `min(long[] min)` it behaves as described above."},"comment":{"url":"https://api.github.com/repos/imglib/imglib2/issues/comments/214374567","html_url":"https://github.com/imglib/imglib2/issues/131#issuecomment-214374567","issue_url":"https://api.github.com/repos/imglib/imglib2/issues/131","id":214374567,"user":{"login":"dietzc","id":1267990,"avatar_url":"https://avatars.githubusercontent.com/u/1267990?v=3","gravatar_id":"","url":"https://api.github.com/users/dietzc","html_url":"https://github.com/dietzc","followers_url":"https://api.github.com/users/dietzc/followers","following_url":"https://api.github.com/users/dietzc/following{/other_user}","gists_url":"https://api.github.com/users/dietzc/gists{/gist_id}","starred_url":"https://api.github.com/users/dietzc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dietzc/subscriptions","organizations_url":"https://api.github.com/users/dietzc/orgs","repos_url":"https://api.github.com/users/dietzc/repos","events_url":"https://api.github.com/users/dietzc/events{/privacy}","received_events_url":"https://api.github.com/users/dietzc/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T14:55:46Z","updated_at":"2016-04-25T14:55:46Z","body":"I will create an example to demonstrate the behaviour. Maybe while doing that I will find out what's going on.\r\n"}}