encoding and imaging examples