{"action":"created","issue":{"url":"https://api.github.com/repos/imagej/imagej-scripting/issues/21","repository_url":"https://api.github.com/repos/imagej/imagej-scripting","labels_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/21/comments","events_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/21/events","html_url":"https://github.com/imagej/imagej-scripting/pull/21","id":196928681,"number":21,"title":"Add lowpass example","user":{"login":"bnorthan","id":4366342,"avatar_url":"https://avatars.githubusercontent.com/u/4366342?v=3","gravatar_id":"","url":"https://api.github.com/users/bnorthan","html_url":"https://github.com/bnorthan","followers_url":"https://api.github.com/users/bnorthan/followers","following_url":"https://api.github.com/users/bnorthan/following{/other_user}","gists_url":"https://api.github.com/users/bnorthan/gists{/gist_id}","starred_url":"https://api.github.com/users/bnorthan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnorthan/subscriptions","organizations_url":"https://api.github.com/users/bnorthan/orgs","repos_url":"https://api.github.com/users/bnorthan/repos","events_url":"https://api.github.com/users/bnorthan/events{/privacy}","received_events_url":"https://api.github.com/users/bnorthan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-21T13:07:46Z","updated_at":"2016-12-21T13:27:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/imagej/imagej-scripting/pulls/21","html_url":"https://github.com/imagej/imagej-scripting/pull/21","diff_url":"https://github.com/imagej/imagej-scripting/pull/21.diff","patch_url":"https://github.com/imagej/imagej-scripting/pull/21.patch"},"body":"@hadim , @imagejan \r\n\r\nI think the problem @hadim had when using \"bandpass\" is that it expected frequency 0,0 to be in the center of the image, however the newer imglib2 FFT (which ops is based on) puts frequency 0,0 at the origin.\r\n\r\nAlso the redundant information of the real to complex transform is not kept, which means there are only half as many complex pixels in the x direction\r\n\r\nI think this script implements lowpass... let me know if I have it right. Also there are probably more elegant ways to implement this using Views, so feel free to make suggestions on improvements."},"comment":{"url":"https://api.github.com/repos/imagej/imagej-scripting/issues/comments/268522468","html_url":"https://github.com/imagej/imagej-scripting/pull/21#issuecomment-268522468","issue_url":"https://api.github.com/repos/imagej/imagej-scripting/issues/21","id":268522468,"user":{"login":"bnorthan","id":4366342,"avatar_url":"https://avatars.githubusercontent.com/u/4366342?v=3","gravatar_id":"","url":"https://api.github.com/users/bnorthan","html_url":"https://github.com/bnorthan","followers_url":"https://api.github.com/users/bnorthan/followers","following_url":"https://api.github.com/users/bnorthan/following{/other_user}","gists_url":"https://api.github.com/users/bnorthan/gists{/gist_id}","starred_url":"https://api.github.com/users/bnorthan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnorthan/subscriptions","organizations_url":"https://api.github.com/users/bnorthan/orgs","repos_url":"https://api.github.com/users/bnorthan/repos","events_url":"https://api.github.com/users/bnorthan/events{/privacy}","received_events_url":"https://api.github.com/users/bnorthan/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T13:27:17Z","updated_at":"2016-12-21T13:27:17Z","body":"@hadim it should be in ops and I can work on getting it into ops, over the next few weeks.  It is a slight variation on a convolution filter, and we should make sure that the ops frequency filter design can handle this elegantly. \r\n\r\nThe ussual case is you have a kernel and image, if small you do naive convolution, if large you perform an FFT on both and multiply in frequency domain.\r\n\r\nIn this case you only perform an FFT on the image, the filter, in this case is allready in the frequency domain.  \r\n\r\nI like to have a script first, because it is much quicker prototyping and testing.  "}}
{"actor":{"display_login":"bnorthan"}}