{"action":"opened","issue":{"url":"https://api.github.com/repos/cebe-bot/uipf-test/issues/10","labels_url":"https://api.github.com/repos/cebe-bot/uipf-test/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/cebe-bot/uipf-test/issues/10/comments","events_url":"https://api.github.com/repos/cebe-bot/uipf-test/issues/10/events","html_url":"https://github.com/cebe-bot/uipf-test/issues/10","id":95014814,"number":10,"title":"Define a configuration format/storage","user":{"login":"cebe-bot","id":12101339,"avatar_url":"https://avatars.githubusercontent.com/u/12101339?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe-bot","html_url":"https://github.com/cebe-bot","followers_url":"https://api.github.com/users/cebe-bot/followers","following_url":"https://api.github.com/users/cebe-bot/following{/other_user}","gists_url":"https://api.github.com/users/cebe-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe-bot/subscriptions","organizations_url":"https://api.github.com/users/cebe-bot/orgs","repos_url":"https://api.github.com/users/cebe-bot/repos","events_url":"https://api.github.com/users/cebe-bot/events{/privacy}","received_events_url":"https://api.github.com/users/cebe-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-14T19:01:59Z","updated_at":"2015-07-14T19:01:59Z","closed_at":null,"body":"This issue has been imported from [gitlab](https://gitlab.tubit.tu-berlin.de/carsten.brandt/unified-image-processing-framework/issues/1).\n\n- author: @cebe\n- assignee: @cebe\n- created on: 2015-05-15T10:21:26.000Z\n\n### Description\n\nRequirements:\r\n\r\n- read and writeable by human and machine\r\n- ideally simpler than XML\r\n\r\nMaybe use boost:\r\n- http://www.boost.org/\r\n\r\nOr YAML:\r\n- http://yaml.org/\n\n### Comments\n\n---\n\n**cebe on 2015-05-15T10:42:19.000Z:**\n\nmentioned in issue #8\n\n---\n\n**cebe on 2015-05-20T21:44:27.000Z:**\n\nyaml seems to be a suitable format here is my proposal for a configuration:\r\n\r\n```yaml\r\n# first module with name \"sourceImage\"\r\n# using the module \"loadImage\" which is able to read an image file and provides one output\r\n# it has the parameter filename which refers to the file that it should read\r\n- sourceImage:\r\n    module: loadImage\r\n    filename: myImage.png\r\n\r\n# second module's name is \"process\", module names are unique btw.\r\n# here the module \"gaussian\" is used, which has a paramter kernelSize\r\n# the gaussian module has an input named \"image\" which is of type Image\r\n# and is configured to take the value of the \"image\" output of the\r\n# sourceImage module configured above.\r\n- process:\r\n    module: gaussian\r\n    kernelSize: 5\r\n    input:\r\n      - image: sourceImage.image\r\n\r\n# the last module in the chain is named \"output\" and uses the storeImage module\r\n# which saves the input into a file\r\n- output:\r\n    module: storeImage\r\n    input:\r\n      - image: process.image\r\n    filename: output.png\r\n```\n\n---\n\n**cebe on 2015-05-21T16:42:57.000Z:**\n\nmentioned in commit cc1563ad61b43c73ff1d780b87486a700ef1e66d\n\n---\n\n**cebe on 2015-05-21T16:44:26.000Z:**\n\nmentioned in merge request !1\n\n"}}