Skip to content

ISSUE-115: sRGB to CAM02UCS (vectorized) color space in a new processor #116

Draft
DiegoPino wants to merge 5 commits into
2.1.0from
ISSUE-115
Draft

ISSUE-115: sRGB to CAM02UCS (vectorized) color space in a new processor #116
DiegoPino wants to merge 5 commits into
2.1.0from
ISSUE-115

Conversation

@DiegoPino

Copy link
Copy Markdown
Member

Processor will output Vectors (3 and 12 dimensions) + Hex Metadata of found colors

See #115

Notes:
I am slowly translating Mathlab to PHP, creating new methods to do all the cool Matrix things PHP does not provide by default and proving math. Dirty and NON functional so far ok?

I am also compiling and testing/comparing output of the operations side by side between languages with progressive checks to my logic.

Feels like going back to year one of University (miss that professor). So this is for now very WIP. Depends on another pull i have prep (and easy one) for strawberryfield and i will eventually move all the Hadamard and element-wise operations across Matrices into its own Class (cleaner/easier to follow/eventually i should create a library) and remove all comments i have inline which are mostly copies/references from the original Mathlab library sources. So why committing? Bc it is a LOT. and i prefer to have a WIP up before I get lost in the "local changes" weed.

…hat outputs Vectors (3 and 12 dimensions)

Notes:
I am slowly translating Mathlab to PHP, creating new methods to do all the cool Matrix things PHP does not has by default. I am also compiling and testing/comparing output of the operations side by side with to check my logic. Feels like going back to year one of University (miss that professor)
So this is for now very WIP. Depends on another pull i have prep (and easy one) for strawberryfield and i will eventually move all the Hadamard and element-wise operations across Matrices into its own Class (cleaner/easier to follow/eventually i should create a library) and remove all comments i have inline which are mostly copies/references from the original sources. So why committing? Bc it is a LOT. and i prefer to have a WIP up
But committing now
@DiegoPino DiegoPino self-assigned this Dec 29, 2025
@DiegoPino DiegoPino added Post processor Plugins The ones with a ->run() method enhancement New feature or request Solr Indexing Putting things where they can be found ML Search API Drupal 11 XI (November and year 11 CE) labels Dec 29, 2025
@DiegoPino DiegoPino added this to the 2.1.0 milestone Dec 29, 2025
@DiegoPino DiegoPino marked this pull request as draft December 29, 2025 22:16
…ble to call e.g abs() on each element

I might need to add later on an extra `..$arguments` to that function signature, if the callable (while translating the mathlab code) requires extra input
…row index) made me have to go back to some of my logic

This adds a helper logic (will be its own method) to cummulative sum per row/col depending on the dimension chosen. I feel i could write a whole "mathlab" library soon in pure PHP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Drupal 11 XI (November and year 11 CE) enhancement New feature or request ML Post processor Plugins The ones with a ->run() method Search API Solr Indexing Putting things where they can be found

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant