Visualisation needs RSEs

Imaging and visualisation has at its heart coding so the emergence of the Research Software Engineer as a career by being supported by the university, industrial and Research Council sectors is very welcome.

Vis From Manchester Central to being On the Top of The World – Still making the user via visualisation be deep within the HPC-Loop

Had the opportunity to present ideas of integrating human visualisation within the HPC (high-performance computation) loop. On 14 December 2016, Computing Insight UK 2016 launched with over 250 delegates and suppliers present; it was a great session to review the use of Visualisation within the Hartree Centre and describe how it has been important to keep the human in the visualisation/computational loop. This included the use of multi-use vis and discussion spaces as well as incorporating fat-memory GPU nodes at strategic locations; and then defined a future proposal to have an infinite job submission system that would stop only under human-visualisation control.

Needs for RSE to be integrated and employed

This talk was then modified and semi-repeated for a synchrotron (x-ray imaging) related workshop, an EU COST / PSI event on 9-12 January 2017 in Switzerland, which focused on the visualisation of complex imaging for a specific audience. For this we need software developers who can look at specific problems for users and have the dedicated time to create these solutions.

visameet2017

We submitting an EPSRC proposal with Manchester Research IT Services, for X-ray Tomographic Imaging, which is soon to successfully launch a new Flagship grant program in April 2017 – this will fund two RSEs from Manchester; Daniil Kazantsev (included in photo above 5th from right) and Jakob Sauer Jørgensen to revive the reconstruction codes within the reconstruction library; specifically these are for complex multi-channel data. Starting for three years both will be employed by the University of Manchester, but Daniil will be permanently based at the RAL – Harwell Campus next to the Diamond Light Source.

Links:

Is VR ready for Vis

Was at a show session in London – hosted by jigsaw24 – with a range of the new headset VR  (all except Sony [IMO one of the easiest and most comfortable to wear – possibly because it is well balanced]) creators and some hardware suppliers. 100+ attendees, with a mix of commercial and academic interest.

wp_20170208_003_cw

After a techy roadmap

  • EditShare (showing mainly 360VR data capture and pipeline use) emphasising on data storage issues and;
  • HTC Vive with the new Nvidia cards for automatic optic distortion was good – as always nvidia themselves create great prototypes (see their circus games in VR – with PhysX and some tactile feedback);

wp_20170208_013_cw

An interesting sales pitch was as a full system can use up to 4mx3m in space with multiple tracking nodes – there is an opportunity for nvidia to sell a new high-end pc in a new location at home. This space is too big for many living rooms; but the garage is an ideal (when empty) location to host a VR studio to achieve the best experience – so you will need a new PC (with high-end Pascal architecture quadro card!) for the garage.

Couple of interesting add-ons were shown but not demonstrated live from HTC – the new wireless modes which add only a few ms of latency, but allow you to wear a headset and do back-flips and other gymnastic maneuvers, a common occurrence in the future! The other was the HTC Vive Tracker a small attachment you can fix to a physical device, say a baseball bat, model gun etc… Six attached to a body created a simple but effective motion tracking system.

 

A developer panel was formed from; Alchemy VR, Rewind, Halo and the Mill – discussing use cases after a few years of practice and experience. Key questions were what did not work that included mainly thinking that you are creating a standard “framed” 2D/3D movie and old ideas fade to start and focus on specific POV object have to be rewritten. You can move but in sharper steps, and can cut when in context, although should contact some fixed reference point, and can experiment with exploration but may need to guide users for example turning down certain lights to allow the user to change their POV to the required place.

 

  • Cool examples to search and download include the Everest exploration viewer – this takes the traditional vertigo effect seen in caves within immersive environments to a new cool location being half way up everest.
  • ‘Home’ is the spacewalk that has parts of this that break good immersive experience (loosing a frame of reference) but that is what ‘…being in space is like’.
  • For 360 video the one of the Great Barrier Reef is now a classic for its beauty and simplicity.
  • HTC claimed over 1000 available just from last year and this will expand.

 

So can you do visualisation within this medium – will consider in detail later – but as an experience I would say there is scope to add this scale effect and immersion to help understand data. Couple of quick examples I would include;

  • Understanding astronomy as is fully 3D and huge (see below from Manchester)
  • Seeing the ATLAS detector and large underground building type structure showed its scale and shape

wp_20160726_006_cw

MT

Human in the viz-loop

On 14 December 2016 at Computing Insight UK http://www.stfc.ac.uk/ciuk with over 250 delegates and suppliers present I had the opportunity to discuss areas of human-vis within HPC – few tweets on the vis presentation (so far). The specific example of the IMAT beamline was used, but the past four years usage were considered. Thanks to Srikanth Nagella, Erica Yang and Martin Turner; Peter Oliver, Callum Williams, Joe Kelleher, Genoveva Burca, Triestino Minniti, Winfried Kockelmann

Abstract for CIUK Presentation

Energy selective imaging detectors with over 10MP sensors have been incorporated within large science laboratories allowing high-quality materials at the micro- (10-6 m) or nano- (10-9 m) scales analysis but creating a large data problem. A service for neutron analysis is being offered by the IMAT (Imaging and Materials Science & Engineering) instrument, at the ISIS pulsed neutron source in the UK. ULTRA is a compute intensive HPC platform enabling high-throughput neutron tomographic image data analysis so that images can be scrutinised during an experiment rather than as a batch-mode post-process operation.

Dataflow Problem:

Unlike normal computed tomography (CT) scans used in hospitals where one 2D image is acquired for each ‘shot’ (a rotation angle), in energy selective neutron imaging, an image stack comprising of potentially thousands of 2D images are collected at each ‘shot’. So for the MCP camera , capable of collecting 3,000 images per angle where each image uniquely corresponds to one of the 3,000 energy bands; this results in 0.3 million images during a 100 angle experiment.

New Materials Science Analysis:

The reason this is carried out is that neutron interactions can vary drastically with neutron energy for certain materials, allowing for chemistry discrimination [2]. The amount of neutrons that is able to penetrate through a material and reach the image detectors, namely, neutron intensity, is strongly affected by the crystalline structures and microstructures of a material, exhibiting Bragg edges [1]. The computational reconstruction needs to be near interactive as each peak represents a potential energy band region suitable for HPC reconstruction.

Creating a bespoke HPC engine:

A specific HPC-based analysis and visualisation technology is being employed to enable this new mode of operation. Traditionally, a typical 3D reconstruction takes mins, using the Filtered Back Projection algorithm (FBP) [3], one of the most common and fast algorithm. However, in energy selective imaging, the reconstructions need to be performed repetitively across selected energy ranges and as signal to noise levels are lower, iterative algorithms, which are much slower than the FBP algorithm are required and can take >100s of minutes to run.

ULTRA has been constructed to receive the data to a STFC HPC cluster, a distance of about a mile, on demand from the experimental facility and process the data directly – this then allows for different interaction modes gives instantaneous feedback for example through small mpeg movie clips, as well as final results transmitted by remote visualisation from the login node via paraview. Using the Savu pipeline , a python based dataflow mechanism, different options of filtering, reconstruction and presentation can be incorporated . We will explain the specific cluster based HPC hardware setup that includes GPU based login nodes designed to minimise data movement.

For the scientists the insights obtained through this analysis process is then used to steer the next experiment step, for example, to adjust sample positions and beam alignment, or to decide whether to use different reconstruction algorithms or parameters, or image filters.

Video Outreach:

We created a video that will be presented and described to help others develop a better understanding to create this kind of hardware/software dataflow experiment. A dataset is transferred (using the open source test date – SophiaBeads dataset [4], a microCT dataset), captured, reconstructed using the FBP algorithm from the TomoPy image reconstruction toolkit [6] running on a single node with 128GB RAM, 12 CPU cores using the STFC’s large HPC cluster, SCARF and then segmented using the algorithms available in the commercial software package Avizo [5].

[1] T. Minniti et. al., “Material analysis opportunities on the new neutron imaging facility IMAT@ISIS”, Journal of Instrumentation, Volume 11, March 2016, IOP Publishing Ltd and Sissa Medialab srl.
[2] J. Santisteban et. al., “Time-of-Flight neutron transmission diffraction”, J. Appl. Cryst. 34 (2001) 289.
[3] Peter Toft, “The Radon Transform – Theory and Implementation”, Ph.D. thesis. Department of Mathematical Modelling, Technical University of Denmark, June 1996.
[4] Sophia Bethany Coban, “SophiaBeads Datasets Project Documentation and Tutorials”, April 2015, MIMS EPrint: 2015.26.
[5] Avizo 9. “Avizo User’s Guide”, FEI Visualisation Sciences Group.
[6] Doǧa Gürsoy, Francesco De Carlo, Xianghui Xiao, and Chris Jacobsen, “TomoPy: a framework for the analysis of synchrotron tomographic data”, J Synchrotron Radiat. 2014 Sep 1; 21(Pt 5): 1188–1193. DOI: 10.1107/S1600577514013939.

WING and a prayer

To do interactive visualisation you need an input device – fairly obvious statement but often been ignored and just the humble keyboard and mouse are used. Although, there are many novel devices over the decade last year we have brought one of the Wing devices a combined joystick and mouse. This was linked to the Drishti volume visualiser with a python layer that would then calibrate and smooth interactions allowing for different rates of response.

This means one single hand of a user has a 6DOF (degree of freedom): allowing for x-y-z along with roll-pitch-yaw operations.So you can move and rotate an object in one smooth operation. The other hand can be used to hold your coffee cup.

Details of the poster we, Martin Turner, Tim Morris and Mario Sandoval, presented is at: https://doi.org/10.5281/zenodo.154515

At the stand we asked people for various use cases that included:

  1. Control of an objects clipping plane – rotation allows the angle of the clipping-plane to be changed and the x direction moves the clipping-plane in the normal direction cropping the required part of the volume datasets.
  2. Controlling a light source; where rotation controls the direction that the virtual light source points and x-y controls the colour of the light as described by a colour wheel.
  3. Controlling viewing between multiple transfer functions: so moving in x direction blends between one of a list of pre-defined transfer functions.
  4. Controlling various parameters on a transfer function’s curves and points.

Next question was if you could have two Wing devices you now have >12 DOF available simultaneously in movements of two hands.

MT

Poster and stand at the ToScA 2016 event held in the University of Bath, September 2016.

Being Ironman

On the Visualisation Room at the Atlas Building in the Harwell Campus, Srikanth Nagella installed the Avizo VR Module – that allows full tracking and experimented on Tomographic Data:

  • Full immersive 3D interaction;
  • Support for single and multiple screens;
  • Support for single and multi-pipe and for graphic clusters;
  • Flexible customization for specific display geometry;
  • Head-tracking and tracked hand-held 3D input devices;
  • Control functionality via user interface; and
  • Control of 2D user interfaces with 3D devices (virtual mouse).

p20150424_007_9p40

WP_20150424_004m

Restructuring and starting a “new” Visualisation Group

The SCD within STFC is having Away Days in April and collated together with a five year plan for the complete Department. The Visualisation Group has a technology division strategy outline and operational plan but produces a list of future areas of support that include the concept of keeping the Human always within the Visuallsation loop.

Key Activities

The Visualisation Group, part of the Technology Division within SCD, was founded to support and maintain visualisation software and skills for large projects and user communities.

This has included working;

  • with the Hartree Centre hosting their visualisation centres connecting outputs from some of the largest computer in the UK making them human understandable;
  • with the Innovate UK’s Space Application Catapult and European Space Agency (ESA) producing bespoke solutions for their data analytical and command and control needs;
  • creating remote and distance data gathering and visualisation workflows to control the computational processes and
  • providing specialist local high-end equipment within the centres that are near to the main STFC image capturing x-ray, neutron and laser facilities.

Human in the Loop

The group is working to support the high-end visualisation centres within STFC, with the key objective to consider the human-in-the-loop as an integral part to pre- mid- and post-data visualisation needs from the major facilities, from archived data stores and from computational simulations. This it is believed is a key component to increasing the efficiency of the major STFC facilities allowing researchers’ work-plans to be controlled, changed and even stopped on the fly.

The group has an emphasis to work in harmony with collaborators across the STFC mission. To this end there are links to partners;

  • as well as the major imaging facilities (ISIS, Diamond Light Source, and Central Lasers Facility) and the Hartree Centre this includes the
  • Virtual Engineering Centre (University of Liverpool centre based in the Daresbury Labs.),
  • the Harwell Imaging Partnership (based in the RAL campus),
  • the Collaborative Computational Projects (CCPs based across SCD) and a
  • range of Research Council projects with other teams and groups within SCD and STFC.

An image of the initial posters shown here:

VisGrp_A0P_Poster02-15_mt2_fin

Visualisation User Needs Survey

At the end of 2014 we analysed a Visualisation Tools survey for certain HPC and computational users.

UserNeedsSurvey

The results from over 100 respondents are being edited at:
http://www.vizmatters.cs.manchester.ac.uk/

Executive summary states; for the global survey there were seven key outcome results that can be acted upon:

  • Three packages are the most-used packages by 26% of respondents. Conversely, another 31 packages are used by one or two users and account for a further 26% of respondents.
  • Producing publication quality plots is the most-used technique.
    However, the features making these packages the favourites are:
    – Software that is written specifically for their domain of interest.
    – Large datasets are handled efficiently.
    – Scripting or other ability to extend the tool is required.
  • Users second most favoured packages are general purpose visualisation tools.
  • Users were given five options for selecting their most required development. None emerged as being more needed than the others.
  • Conversely, large amounts of memory was clearly the most important requirement for high performance visualisation.
  • The main future challenges are suggested to be
    – The ability to handle large amounts of data
    – The ability to operate in a distributed environment.

A series of further surveys and follow-up questions are planned as well as afull review next October (2015).