2d binary pyramid | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

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 ?

16th Oct 2019, 10:22 PM
maskkskf wseggw
maskkskf wseggw - avatar
3 Answers
+ 4
Can we take a look at your previous attempts? It would serve as a basis of understanding and correcting what went wrong.
17th Oct 2019, 3:14 AM
Hatsy Rei
Hatsy Rei - avatar
18th Oct 2019, 2:33 PM
maskkskf wseggw
maskkskf wseggw - avatar
+ 2
okey, but now I not at home. so I hope that I will have sent it by the end of the day
17th Oct 2019, 4:15 AM
maskkskf wseggw
maskkskf wseggw - avatar