A survey of ranging and imaging techniques for precision agriculture phenotyping