How to develop a fusion plugin
Simple fusion plugin generating Bland-Altman plot to compare every pixel on two images.
What is it?
Bland-Altman plot to compare every pixel on two images. Sample use:
Some remarks on plugin development and use of CorePlot framework
- There is a new plugin template project in
_helpfolder at the OsiriX plugins repository - Change
plugin typetofusionFilerin theInfo.plistfile. - In
Edit schemeadd executable (Horos or Osirix) in the Info tab. In the Arguments tab add--LoadPlugin $(BUILT_PRODUCTS_DIR)/$(PRODUCT_NAME).$(WRAPPER_EXTENSION). - Follow the directions to add CoreData Framework
For some reason the plugin does not see the CoreData framework file. In the
Build Settings/Framework search pathsI added the path to the compiled CoreData framework (<your CorePlot directory>/core-plot/build/Debug). - File -> new file -> user Interface -> empty -> add new HUD Panel.pl
- Rename:
- the file names in finder
- the file names and class names in the xcode project
- all occurrences of the ‘plugin Template’ in the Build Settings
- Target name
Scheme nameinManage Schemes.Targetname inBuildtab in the scheme window.Expand Variables based oninRuntab in scheme window.
- Write the code, see the repository.