VolViewerOMERO: Difference between revisions
Jump to navigation
Jump to search
JeromeAvondo (talk | contribs) No edit summary |
JeromeAvondo (talk | contribs) No edit summary |
||
Line 24: | Line 24: | ||
//#define OMERO_SUPPORT | //#define OMERO_SUPPORT | ||
becomes | |||
#define OMERO_SUPPORT | #define OMERO_SUPPORT | ||
Line 30: | Line 30: | ||
CONFIG += qt thread x86_64 | CONFIG += qt thread x86_64 | ||
becomes | |||
CONFIG += qt thread x86_64 omero | CONFIG += qt thread x86_64 omero | ||
Revision as of 10:02, 28 October 2011
Overview
It is possible to build VolViewer with support for reading images directly from an OMERO server. The viewer can read XYZC image stacks with up to 3 channels (C). Minimal metadata such as the image dimensions, physical voxel size and channel min/max threshold values are also supported. Currently the viewer supports the following OMERO data types: uint8, uint16, int8, int16.
For the exact C++ implementations of the OMERO loader please refer to the h / cpp files from the SVN.
Requirements
To build VolViewer with OMERO support you will require the following:
- An SVN client, to check out the VolViewer source code, such as TortoiseSVN for windows or svn for linux/mac.
- The latest Qt SDK.
- The OMERO cpp libraries.
How To
- Start by checking out the latest VolViewer source code from the SVN:
- Next build the OMERO cpp libraries following this guide:
- OMERO cpp libraries
- Note to build the OMERO cpp you will require the ICE libraries. Note that these exist in binary form for Windows, Mac and Linux. You should only use version 3.3.1 of ICE.
- Now that you have the OMERO cpp library built you are ready to build VolViewer with OMERO support. VolViewer is built using qmake so it is relatively straight forward.
- Start by enabling the OMERO support in the source code by editing the MyDefines.h file by un-commenting the line:
//#define OMERO_SUPPORT
becomes
#define OMERO_SUPPORT
- Next we turn on OMERO support in the scr.pro project file by adding omero in the config variable:
CONFIG += qt thread x86_64
becomes
CONFIG += qt thread x86_64 omero