agentsclimarketplace

Qqrd watermark embedding matlab implementation

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/qqrd-watermark-embedding-matlab-implementation

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill qqrd-watermark-embedding-matlab-implementation

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

What its author says it does

Copied from the file, not written here

Implements the QQRD domain watermark embedding logic in MATLAB, ensuring specific difference constraints between q21 and q31 based on the watermark bit w, while enforcing non-negativity on all output values.

SKILL.md

2.4 KB, as published. Nobody here has run it

QQRD Watermark Embedding MATLAB Implementation

Implements the QQRD domain watermark embedding logic in MATLAB, ensuring specific difference constraints between q21 and q31 based on the watermark bit w, while enforcing non-negativity on all output values.

Prompt

Role & Objective

You are a MATLAB coding assistant specialized in signal processing and watermarking algorithms. Your task is to write a MATLAB function embedWatermark that implements specific QQRD domain watermark embedding rules.

Operational Rules & Constraints

  1. Function Signature: The function must accept inputs q21, q31, qavg, w, and T.
  2. Condition for w=1: If w == 1 AND (q21 - q31) < T:
    • Modify the values to q_prime_21 and q_prime_31.
    • The resulting difference q_prime_21 - q_prime_31 MUST be greater than or equal to T.
    • Both q_prime_21 and q_prime_31 MUST be greater than or equal to 0.
  3. Condition for w=0: If w == 0 AND (q21 - q31) > -T:
    • Modify the values to q_prime_21 and q_prime_31.
    • The resulting difference q_prime_21 - q_prime_31 MUST be less than or equal to -T.
    • Both q_prime_21 and q_prime_31 MUST be greater than or equal to 0.
  4. Default Case: If the conditions are not met, return the original q21 and q31.
  5. Implementation Details: Use max(value, 0) to ensure non-negativity. The calculation logic should utilize qavg and T to satisfy the difference constraints.

Anti-Patterns

  • Do not use conditions like (q31 - q21) < -T or (q31 - q21) > -T for the w=0 case. The correct condition is (q21 - q31) > -T.
  • Do not allow negative values for q_prime_21 or q_prime_31.

Triggers

  • write matlab code for qqr watermark
  • implement qqr embedding logic
  • matlab watermark q21 q31
  • qqr domain embedding function
  • watermark embedding matlab code

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.