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.

Recomb would be cool

See original GitHub issue

Thanks for making this!

I’d like to use a recombination matrix (vips_recomb) to do some color space conversions (sepia and all that fun stuff). It goes beyond resizing, but would that be a good addition to this project? I haven’t tried implementing it yet but it looks straightforward enough.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
lovellcommented, Jan 2, 2019
0reactions
lovellcommented, Nov 8, 2017

Thanks Rahul, mirroring libvips’ naming would suggest recomb is best for this and the API should at least support 2d matrices via an Array of Arrays, e.g.

.recomb([[0.3588, 0.7044, 0.1368], [0.2990, 0.5870, 0.1140], [0.2392, 0.4696, 0.0912]])

Predefined matrices could live in a new sharp.matrix namespace, e.g.

.recomb(sharp.matrix.sepia)

which as you suggest can be accessed via a sharp.matrix[name] lookup, e.g.

.recomb('sepia')
Read more comments on GitHub >

github_iconTop Results From Across the Web

Recombination cool and fast - Nature
Molecular physicists and astrophysicists alike would like to know how fast ... recombination is fast under cool, interstellar conditions.
Read more >
Recombination (cosmology) - Wikipedia
In cosmology, recombination refers to the epoch during which charged electrons and protons first became bound to form electrically neutral hydrogen atoms.
Read more >
Recomb conjugation in English in all forms | CoolJugator.com
This verb can also mean the following: comb, comb again. Conjugation of eiti. I. you. it/she/he. we. you all. they. Present Simple. I....
Read more >
Micro-physics simulations of columnar recombination along ...
using columnar recombination [1], which would be capable of identifying the ... expected to cool electrons quite efficiently, and the average kinetic energy ......
Read more >
Hot and Cold Spots of Recombination in the Human Genome
(In this review, we will use the recombination fraction and the unit of genetic ... A corollary to the definition of a hot...
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