Methods relating to embedding, encoding, decoding, detection or retrieval operations