Home » Calculators » Technical & Performance Textiles » Conservation, Forensics & Legal Textiles » Jacquard Pattern Repeat Matrix Match Validator
Jump to a calculator 618 tools

Design Protection

Jacquard Pattern Repeat Matrix Match Validator

Put this calculator on your own site

Paste this where you want the calculator to appear. It works on any site — WordPress, Squarespace, Webflow, Ghost or plain HTML — and needs no JavaScript of yours. It carries a link back here, which is the only thing we ask for it.

See what it looks like

Two unrelated eight-colour designs already agree on an eighth of their pixels. Only the excess over chance carries information.

Repeat Geometry Design grid
px
px
no.
Comparison Result
no.
%

Match Percentage

— %

Share of repeat pixels that agree

Statistical Weight

Total Repeat Pixels
— no.
Mismatched Pixels
— no.
Expected Match by Chance
— %
Margin Over Threshold
— points
Significance
— σ

This compares two repeats already aligned to the same grid, and getting them there is the hard part rather than a preliminary — repeats must be registered, scaled, rotated and colour-reduced consistently before a pixel comparison means anything, and a design copied at a different scale or with shifted registration can be a deliberate copy while scoring near chance here. The chance model assumes colours are used with equal frequency, which real designs do not do, so a pattern dominated by one ground colour inflates both the chance rate and the raw match. **Mathematical similarity is not legal infringement.** Infringement turns on substantial similarity, access, originality and jurisdiction, and is a question for qualified legal advice; this provides one quantitative input to that assessment and settles nothing by itself.

Using this calculator

About the Jacquard Pattern Repeat Matrix Match Validator

The formula

This is the expression the tool evaluates. Every term is named underneath, with the unit it must be supplied in.

Match Percentage
matchPercentage = f( repeatWidth, repeatHeight, colourCount, matchingPixels, toleranceThreshold )

Each input feeds the expression evaluated in the browser; the symbol table below names every term and its unit.

Symbols used above
SymbolStands forUnit
repeatWidthRepeat Widthpx
repeatHeightRepeat Heightpx
colourCountDistinct Coloursno.
matchingPixelsMatching Pixelsno.
toleranceThresholdSimilarity Threshold%
matchPercentageMatch Percentage%
totalPixelsTotal Repeat Pixelsno.
mismatchedPixelsMismatched Pixelsno.
chanceMatchRateExpected Match by Chance%
marginOverThresholdMargin Over Thresholdpoints
sigmaSignificanceSignificanceσ

How the result is derived

Step by step, from the values you type to the figure on screen.

  1. The 5 inputs are read from the form on every keystroke: Repeat Width, Repeat Height, Distinct Colours, Matching Pixels and Similarity Threshold.
  2. Each value is checked against the accepted range in the input table below. A value outside its range stops the calculation rather than producing a misleading figure — the results blank out and a message appears.
  3. The validated values are substituted into the expression above, which resolves Match Percentage together with every supporting figure in one pass — no value is carried over from a previous entry.
  4. The supporting outputs — Total Repeat Pixels, Mismatched Pixels, Expected Match by Chance, Margin Over Threshold and Significance — come from the same pass, so they always describe the same case as the headline figure.
  5. Results are rounded for display only. The full-precision value is used throughout the chain, so reading a rounded intermediate figure back into the tool by hand can shift the last digit.

What each input means

Where to read each value on the floor, the unit it must be in, and the range the tool accepts.

InputUnitAccepted rangeDefaultWhat it means
Repeat Widthpx4 to 4000 px240
Repeat Heightpx4 to 4000 px320
Distinct Coloursno.2 to 256 no.8
Matching Pixelsno.0 to 16000000 no.74880
Similarity Threshold%50 to 100 %95

What the tool returns

The headline figure and every supporting value it is built from.

OutputUnitWhat it tells you
Match Percentage (headline result)%Share of repeat pixels that agree
Total Repeat Pixelsno.
Mismatched Pixelsno.
Expected Match by Chance%
Margin Over Thresholdpoints
Significanceσ

Worked example

Given

Repeat Width
240 px
Repeat Height
320 px
Distinct Colours
8 no.
Matching Pixels
74880 no.
Similarity Threshold
95 %

The tool loads with this case already solved — the Match Percentage shown above is its answer. Change one value and the difference from this baseline is the sensitivity of the result to that variable.

How to use it

  1. Work through the input groups in order — Repeat Geometry and Comparison. The defaults are a realistic case, so you can change one value at a time and watch what moves.
  2. There is no calculate button. Every figure recalculates as you type or drag, which is what makes this usable for a what-if sweep rather than a single answer.
  3. Read Match Percentage in the dark results panel — that is the headline figure, expressed in %.
  4. Check the supporting rows underneath (Total Repeat Pixels, Mismatched Pixels, Expected Match by Chance, Margin Over Threshold and Significance) before acting on the headline — they are where an implausible input usually shows itself first.
  5. Reset to defaults returns every field to the reference case, which is the quickest way to check whether a surprising result came from the tool or from an input you had changed earlier.

Where this is used

  • Process planning — establishing Match Percentage before a trial is booked, so machine time and material in Conservation, Forensics & Legal Textiles are committed against a calculated figure rather than an estimate.
  • Costing and quotation — Match Percentage is an input to the cost sheet, and quoting from a worked number rather than a remembered one is what keeps a margin intact.
  • Troubleshooting — when the floor result drifts from plan, entering the measured values (starting with Repeat Width) shows how much of the gap in Match Percentage each variable explains.
  • Teaching and study — the accepted ranges bracket normal Conservation, Forensics & Legal Textiles practice, so moving one variable at a time shows the shape of the relationship rather than a single answer.

Assumptions and limits

  • This compares two repeats already aligned to the same grid, and getting them there is the hard part rather than a preliminary — repeats must be registered, scaled, rotated and colour-reduced consistently before a pixel comparison means anything, and a design copied at a different scale or with shifted registration can be a deliberate copy while scoring near chance here. The chance model assumes colours are used with equal frequency, which real designs do not do, so a pattern dominated by one ground colour inflates both the chance rate and the raw match. **Mathematical similarity is not legal infringement.** Infringement turns on substantial similarity, access, originality and jurisdiction, and is a question for qualified legal advice; this provides one quantitative input to that assessment and settles nothing by itself.
  • Every input is bounded to the range normal practice occupies (Repeat Width 4 to 4000 px, Repeat Height 4 to 4000 px and Distinct Colours 2 to 256 no., and so on for the rest). Those bounds are guard rails against typing errors, not a claim that the formula fails one unit outside them.
  • The calculation is deterministic: the same inputs always give the same result. It carries no allowance for machine condition, operator skill, ambient conditions or lot-to-lot material variation unless an input above explicitly represents one.
  • Nothing is sent anywhere. The maths runs in your browser, so the numbers you type never leave the page.

Questions people ask

What do I need to know before using the Jacquard Pattern Repeat Matrix Match Validator?

Have these to hand: Repeat Width, Repeat Height, Distinct Colours, Matching Pixels and Similarity Threshold. With those entered, the tool returns Match Percentage immediately.

What exactly is Match Percentage?

Share of repeat pixels that agree. It is reported in %. It is derived from Repeat Width, Repeat Height, Distinct Colours, Matching Pixels and Similarity Threshold, and is the figure the rest of the Conservation, Forensics & Legal Textiles calculation is built around.

Which units does this calculator expect?

Enter Repeat Width in px, Repeat Height in px, Distinct Colours in no., Matching Pixels in no. and Similarity Threshold in %. Mixing unit systems is the most common cause of a result that looks an order of magnitude wrong — convert before typing, not after reading.

What are the other figures under the main result?

They are the intermediate quantities the calculation passes through: Total Repeat Pixels, Mismatched Pixels, Expected Match by Chance, Margin Over Threshold and Significance. They are shown because a headline number nobody can trace is a number nobody trusts — checking them against your own expectation is the fastest way to confirm the inputs were read as you intended.

Can I rely on this for a production decision?

This compares two repeats already aligned to the same grid, and getting them there is the hard part rather than a preliminary — repeats must be registered, scaled, rotated and colour-reduced consistently before a pixel comparison means anything, and a design copied at a different scale or with shifted registration can be a deliberate copy while scoring near chance here. The chance model assumes colours are used with equal frequency, which real designs do not do, so a pattern dominated by one ground colour inflates both the chance rate and the raw match. **Mathematical similarity is not legal infringement.** Infringement turns on substantial similarity, access, originality and jurisdiction, and is a question for qualified legal advice; this provides one quantitative input to that assessment and settles nothing by itself. Treat the output as an engineering estimate that narrows the trial window, not as a substitute for the trial.

Scroll to Top