Skip to content

Comments

Nedotko Alexander#12

Open
ze-yter wants to merge 5 commits intorailbotan:mainfrom
ze-yter:Nedotko_Alexander
Open

Nedotko Alexander#12
ze-yter wants to merge 5 commits intorailbotan:mainfrom
ze-yter:Nedotko_Alexander

Conversation

@ze-yter
Copy link

@ze-yter ze-yter commented Nov 14, 2021

Refactoring the mosaic algorithm in 4 steps (commits)

filter.py Outdated
m1 = arr[n][n1][0]
m2 = arr[n][n1][1]
m3 = arr[n][n1][2]
M = m1 + m2 + m3
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Проблема с переполнением unit8 осталась.

res.save('res.jpg')


def MakeColor(newMatrix, matrix, size, i, j):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь тоже нужно было использовать матричные операции Numpy.

@railbotan
Copy link
Owner

4

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.

2 participants