-
Notifications
You must be signed in to change notification settings - Fork 275
Add GraphCutSegment extension #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looking good 👍 Few more things that need clarification:
Could you explicitly mention in the extension description that the extension can not be used for commercial application ?
Did you write those ? Does this mean that they are associated with Apache License ?
|
|
Thanks @DaphneCD for working on this extension! And thanks @jcfr for careful review! DaphneCD please understand we need to be very careful with these issues related to code history and licensing. If you could, either here or on private email, please let us know your goals and the background of your project so we can help get your contributions integrated. @jcfr It occurs to me that we should probably clarify the wiki with guidelines for preparing extension code. Looking at [1], I think we should say that while people can develop Category 3 extensions (closed source) they cannot be included in the Slicer Extension Catalog for legal and practical reasons and must be distributed through other means. We could also say Category 2 extensions need to be carefully reviewed because some "Open Source" licenses may cause problems if they can be interpreted to apply to the main Slicer distribution (I'm worried about extensions being seen as a workaround for putting GPL code in Slicer). Also we don't really address this question of "research only" extensions. Perhaps we should discuss this on a future hangout. |
|
@jcfr since you asked, I think this is a great example that brings out limitations of the current process of integrating extensions and the application overall.
To address 1) I suggest the contribution process is modified to automatically require license file to be present, and perhaps choose the type of license from the predefined types and specify it in the s4ext file (perhaps a license URL from http://opensource.org/licenses must be required?) For 2) it should be made clear to the Slicer users that extensions installed may be governed by a license different from that used by the main application. There probably should be a disclaimer somewhere on first startup of the application and/or at the time extension is installed. |
|
Limiting extensions to BSD-type licenses would have very bad consequences. I know several groups for who would be happy to share their work with the research community but not ready to decline all potential future commercial opportunities. I think the only issue is that the user may install an extension that comes with a restrictive license without seeing the licensing terms. We could require all category 1 and 2 extensions to come with a specific license (Slicer license). For category 3 extensions we could show a popup when the user clicks on "Install" explaining that the licensing terms of this extension may be different from 3D Slicer core and that the user should review the licensing terms on the extension homepage and provide a link to the extension homepage, and Accept & Cancel buttons. This would not require any extra field in the s4ext file and implemented completely in the Slicer core (no MIDAS change needed). Not requiring popup for category 1&2 extensions would be an incentive for developers to distribute their work as category 1&2, as these extensions appear more as part of Slicer and a bit simpler to install. |
|
It will be good to fully clarify the meanings of the three categories in We currently don't have a mechanism to display whether an extension is And the fact that we won't accept category 3 code in the Extension Catalog On Thu, Aug 27, 2015 at 9:50 AM, Andras Lasso notifications@github.com
|
|
Thank you for all the comments. My project used the code of a former RA which integrated Graph Cut and Star Shape algorithm. For the convenience of some medical researchers, I need to transform the original interface to Slicer. Actually, the project is still under improvement. We need the advice and comments from medical researchers for further enhancement. To avoiding their building Slicer from source, I think contributing the code as an extension is a good choice. Sorry that I neglect the license problem. I understand all your concerns. I think for now the code is only for research use. I'll talk with my supervisor and then clear all the problems. |
|
That sounds great DaphneCD - I think this can be a category 2 extension On Thu, Aug 27, 2015 at 10:14 AM, DaphneCD notifications@github.com wrote:
|
|
Hi, I've confirmed with my supervisor. This project is only for research use. Should I still use the Apache license? And for the head files without copyright, they are the work of the previous RA and me. Can I simply just add copyright information at the beginning of each file? Sorry that I'm not familiar with the license regulation. Thanks for the reviews and instructions. |
|
Hi, I've added the copyright in the front of the header files under TumorSegm folder and cleared that the code is only for research use only. Please let me know if there is any more problems. Thanks for your time. |
|
Hi, I'm still waiting my code to be reviewed. Thanks. |
|
That make sense to me - thanks again for the contribution @DaphneCD! On Mon, Sep 14, 2015 at 10:24 AM, Jean-Christophe Fillion-Robin <
|
|
I've updated the description file and opened a new pull request. |
|
Closing. Superseded by #1093 |
This is a segmentation extension using Graph Cut and Star Shape algorithm.