Skip to content

Rzaeva arzu#3

Open
ArzuYoung wants to merge 3 commits intorailbotan:mainfrom
ArzuYoung:RzaevaArzu
Open

Rzaeva arzu#3
ArzuYoung wants to merge 3 commits intorailbotan:mainfrom
ArzuYoung:RzaevaArzu

Conversation

@ArzuYoung
Copy link

No description provided.

1. Code refactoring was carried out taking into account PEP8
2. Added the ability to control the size of the mosaic
3. Created function make_gray_picture
4. Added the ability to control grayscale
1. Replaced manual loops with matrix transformations
1.In the console, you can write the name of the source image and the resulting
print("Enter the full name of the result image")
res_name = input()
img_array = np.array(img)
make_gray_picture(img_array, 1, 10)
Copy link
Owner

Choose a reason for hiding this comment

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

Можно было еще запрашивать размер блока и количество градаций.

@railbotan
Copy link
Owner

5

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