2d binary pyramid | Sololearn: Learn to code for FREE!


2d binary pyramid

Can anyone help me with implementation of 2d binary pyramid ? As I understand I must represent image like map of points(layer) and bound each 4 points to one and do it for every layer while they width and height not become less then two. I tried write it several times but it's work not like I expected. I need it for image segmentation. Please can you write a simple implementation of it ?

10/16/2019 10:22:17 PM

maskkskf wseggw

3 Answers

New Answer


Can we take a look at your previous attempts? It would serve as a basis of understanding and correcting what went wrong.




okey, but now I not at home. so I hope that I will have sent it by the end of the day