{"action":"created","issue":{"url":"https://api.github.com/repos/imglib/imglib2-roi/issues/12","labels_url":"https://api.github.com/repos/imglib/imglib2-roi/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/imglib/imglib2-roi/issues/12/comments","events_url":"https://api.github.com/repos/imglib/imglib2-roi/issues/12/events","html_url":"https://github.com/imglib/imglib2-roi/issues/12","id":88192921,"number":12,"title":"Question concerning SamplingIterableInterval.","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":[{"url":"https://api.github.com/repos/imglib/imglib2-roi/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-14T14:30:51Z","updated_at":"2015-06-14T14:36:19Z","closed_at":null,"body":"Hi @tpietzsch,\r\n\r\nis there a particular reason why `SamplingIterableInterval` has to be of type `BooleanType`? Because if we only sample on the target `RandomAccessible`, we don't really have to care about the functionality of the `Cursor`? We can actually sample over any `IterableInterval`, independent of the type, right?\r\n\r\nProbably I'm missing something.\r\n"},"comment":{"url":"https://api.github.com/repos/imglib/imglib2-roi/issues/comments/111835592","html_url":"https://github.com/imglib/imglib2-roi/issues/12#issuecomment-111835592","issue_url":"https://api.github.com/repos/imglib/imglib2-roi/issues/12","id":111835592,"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":"2015-06-14T14:36:19Z","updated_at":"2015-06-14T14:36:19Z","body":"another question, going in the same direction: The `LabelRegionCursor` which implements `Cursor<BoolType>` could (in theory) return `Cursor<VoidType>`, as the returned `BoolType` always true anyway (as we only iterate over the true pixels)?\r\n\r\n\r\n"}}