some simple examples of encoding and imaging