question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wrong color-matrix multiplying

See original GitHub issue

In _multiply, ‘translation’ part of a is ignored.

out[4] = (a[0] * b[4]) + (a[1] * b[9]) + (a[2] * b[14]) + (a[3] * b[19]);

should be

out[4] = (a[0] * b[4]) + (a[1] * b[9]) + (a[2] * b[14]) + (a[3] * b[19]) + a[4];

.

Multiplying should be done as if b has fifth row like (0, 0, 0, 0, 1).

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
GoodBoyDigitalcommented, Jan 16, 2017

think you may need to run npm run build first

0reactions
lock[bot]commented, Feb 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrong color-matrix multiplying · Issue #3540 · pixijs/pixijs · GitHub
Multiplying should b... ... Wrong color-matrix multiplying #3540 ... Multiplying should be done as if b has fifth row like (0, 0, 0,...
Read more >
Color Correction Matrix (CCM) - Imatest
The transformed (corrected) array is called P, which is calculated by matrix multiplication with the color correction matrix, A. Imatest allows you to...
Read more >
android - Understanding the Use of ColorMatrix and ...
Create a layer over top of the image and fill it with your desired color. Then set the layer mode of the overlay...
Read more >
Color Matrix Errors - GADGETBENCH
A YCbCr signal is converted to RGB and back by the multiplication of the RGB or YCbCr vector by ... but use the...
Read more >
ColorMatrix Basics - Simple Image Color Adjustment
A beginners guide to using the GDI+ ColorMatrix. ... Some basic knowledge of matrix operations (multiplication, addition, etc), ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found