Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General pointer to start
#1
Let's say I have a large rectangular picture & each pixel s either 1 or 0 (white/black). How to write a function which takes 2 parameters:
1. Data structure holding the matix of black & white pixel
2. a tuple(x,y) for the position of the start pixel

This function should return the size of black and while area to which that pixel belongs.

any idea where to start?
Reply


Messages In This Thread
General pointer to start - by data4speed - Jun-30-2020, 06:09 AM
RE: General pointer to start - by DPaul - Jun-30-2020, 06:46 AM
RE: General pointer to start - by data4speed - Jul-01-2020, 12:25 AM
RE: General pointer to start - by DPaul - Jul-01-2020, 06:18 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pointer in the right direction? Viking 5 2,769 Apr-22-2020, 06:14 PM
Last Post: Viking
  VM address (C pointer) of Python object Skaperen 1 2,074 Apr-21-2019, 10:57 PM
Last Post: hshivaraj
  trace invalid pointer simon149 7 5,199 Apr-16-2019, 07:05 AM
Last Post: simon149
  What's the difference b/w assigning start=None and start=" " Madara 1 2,345 Aug-06-2018, 08:23 AM
Last Post: buran
  How to use python to receive Gobject.pointer stephenwei 0 2,591 Oct-30-2017, 04:56 PM
Last Post: stephenwei

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020