Skip to content

Fix transpose in normalization step#19

Merged
Bisaloo merged 6 commits into
mainfrom
fix-transpose
May 6, 2026
Merged

Fix transpose in normalization step#19
Bisaloo merged 6 commits into
mainfrom
fix-transpose

Conversation

@Bisaloo
Copy link
Copy Markdown
Collaborator

@Bisaloo Bisaloo commented May 4, 2026

dim(linear_a) is already of c(d, nb_of_pixels). So we shouldn't transpose (and transpose back) to normalize each channel by cl.

This should fix the strange square artifacts we could sometimes see.

After this PR:

image image

@Bisaloo Bisaloo linked an issue May 4, 2026 that may be closed by this pull request
@Bisaloo Bisaloo merged commit 59ff0e7 into main May 6, 2026
6 of 8 checks passed
@Bisaloo Bisaloo deleted the fix-transpose branch May 6, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HnE plotting broken?

1 participant