Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
watermark3dpackage implementing the algorithm and utilities, includingwatermark.py(stable-axis PCA, rank-based interval assignment,embed_watermark,extract_watermark,bit_error_rate) and configuration viaWatermarkConfigwith a repetition code (repeats).mesh.pyto load/save OBJ and ASCII PLY meshes while preserving OBJ face token suffixes and synchronously rewriting face indices after relabeling vertices.attacks.py(similarity transform, controlled noise, Laplacian smoothing, order-preserving vertex decimation) and a CLIwatermark3d/cli.pyexposingembed/extractoperations with metadata and BER reporting.scripts/test_directory.pyto run directory-level experiments (auto-generate a sample mesh if none provided) and producewatermark_report.json, and updateREADME.mdwith algorithm details, usage and robustness notes.Testing
python -m py_compile watermark3d/*.py scripts/test_directory.pyand the compilation succeeded.python scripts/test_directory.py --input-dir /tmp/wm_ci_in --output-dir /tmp/wm_ci_out --bits 1011001110001011 --repeats 3 --make-sample-if-emptyand the produced report showed successful embedding and extraction (BER=0.0) for the final tuned settings.python -m watermark3d.cli embed ...andpython -m watermark3d.cli extract ...which returned the expected bitstring andBER=0.0in the tested cases.Codex Task