Image analysis framework with focus evaluation for in situ characterisation of particle size and shape attributes. (14th December 2018)