tag:blogger.com,1999:blog-8183154932516295815.post7699864127495594599..comments2024-03-23T10:30:15.029+05:30Comments on OpenCV-Python: Fast Array Manipulation in Numpyabidkhttp://www.blogger.com/profile/02551137580063586047noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8183154932516295815.post-21283067590726003642013-03-28T20:41:29.200+05:302013-03-28T20:41:29.200+05:30Hi! I have made a binary copy of my image with whi...Hi! I have made a binary copy of my image with white objects and black background. I want to copy all those white pixels over to the source (color) image. Can I do that operation using palette?<br /><br />I currently do it by first getting all white pixels (pp = np.transpose ...) and then a for loop over the points in pp that takes that pixel from the binary image and write to the color image. It works but is very slow on a large image.Edinoreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-70987463987803219852012-06-07T23:05:49.315+05:302012-06-07T23:05:49.315+05:30Thank you. If I am right, you are the one who wrot...Thank you. If I am right, you are the one who wrote the face recognition samples for OpenCV. right? Always wanted to say you,that was a great work. Nice to meet you finally.abidkhttps://www.blogger.com/profile/02551137580063586047noreply@blogger.comtag:blogger.com,1999:blog-8183154932516295815.post-84650987226763870332012-06-07T22:37:35.843+05:302012-06-07T22:37:35.843+05:30Hey Abid, Great post, I really enjoyed reading it!...Hey Abid, Great post, I really enjoyed reading it! Here's my take on speeding up NumPy: <a href="http://www.bytefish.de/wiki/python/numpy/performance" rel="nofollow">http://www.bytefish.de/wiki/python/numpy/performance</a>.Anonymousnoreply@blogger.com