{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1381","labels_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1381/comments","events_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1381/events","html_url":"https://github.com/scikit-image/scikit-image/issues/1381","id":58269287,"number":1381,"title":"Question: ImageViewer and series of plugins","user":{"login":"arve0","id":4810521,"avatar_url":"https://avatars.githubusercontent.com/u/4810521?v=3","gravatar_id":"","url":"https://api.github.com/users/arve0","html_url":"https://github.com/arve0","followers_url":"https://api.github.com/users/arve0/followers","following_url":"https://api.github.com/users/arve0/following{/other_user}","gists_url":"https://api.github.com/users/arve0/gists{/gist_id}","starred_url":"https://api.github.com/users/arve0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arve0/subscriptions","organizations_url":"https://api.github.com/users/arve0/orgs","repos_url":"https://api.github.com/users/arve0/repos","events_url":"https://api.github.com/users/arve0/events{/privacy}","received_events_url":"https://api.github.com/users/arve0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-02-19T21:02:45Z","updated_at":"2015-02-23T02:37:13Z","closed_at":"2015-02-20T10:25:31Z","body":"Hi!\r\nI'm trying to find a nice way to use a series of plugins for exploring my options on segmentation. In specific, I want to try out a combination of (7) pre-filters and (6) post-filters.\r\n\r\nIn [probabilistic_hough.py](../blob/master/viewer_examples/plugins/probabilistic_hough.py) an example with two plugins is shown. I want the same kind of workflow, but with the first window having the pre-filters and the second the post-filters.\r\n\r\nI've tried naively to add two filters to ImageViewer, but as expected the last filter changed is the one that is rendered (as they both do an update to viewer.image).\r\n\r\nMy next though was to create a SeriesPlugins class, where one can append filters. When adding a filter it should create an extra image in a list, where the previous image in the list is the input for the filter added. The last image in the list should be the one that is sent to viewer.image. Does this sound like a good approach?"},"comment":{"url":"https://api.github.com/repos/scikit-image/scikit-image/issues/comments/75481977","html_url":"https://github.com/scikit-image/scikit-image/issues/1381#issuecomment-75481977","issue_url":"https://api.github.com/repos/scikit-image/scikit-image/issues/1381","id":75481977,"user":{"login":"blink1073","id":2096628,"avatar_url":"https://avatars.githubusercontent.com/u/2096628?v=3","gravatar_id":"","url":"https://api.github.com/users/blink1073","html_url":"https://github.com/blink1073","followers_url":"https://api.github.com/users/blink1073/followers","following_url":"https://api.github.com/users/blink1073/following{/other_user}","gists_url":"https://api.github.com/users/blink1073/gists{/gist_id}","starred_url":"https://api.github.com/users/blink1073/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blink1073/subscriptions","organizations_url":"https://api.github.com/users/blink1073/orgs","repos_url":"https://api.github.com/users/blink1073/repos","events_url":"https://api.github.com/users/blink1073/events{/privacy}","received_events_url":"https://api.github.com/users/blink1073/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T02:37:13Z","updated_at":"2015-02-23T02:37:13Z","body":"Yessir, boss-man!"}}