CPC G06T 7/80 (2017.01) [G06T 7/70 (2017.01); G06T 7/97 (2017.01); H04N 7/183 (2013.01); G06T 2207/10028 (2013.01); G06T 2207/30004 (2013.01); G06T 2207/30204 (2013.01)] | 20 Claims |
1. A method implemented on a computing device including a storage device and at least one processor for positioning an object in a device, the method comprising:
obtaining, using a first capture device, a first image of a table of the device, the table being positioned at a first position;
determining, in the first image, a first target mock location, the first target mock location being a pixel position in the first image of one or more pixels representing a first target position of a target region of the object to be scanned or treated by the device;
obtaining, using the first capture device, a second image of the object on the table of the device, the table being positioned at a second position;
identifying, in the second image, the target region of the object;
determining, in the second image, a starting mock location of the target region of the object based on a scanning direction or treating direction preset in the protocol, the starting mock location being a pixel position in the second image of one or more pixels representing a starting position of the target region of the object;
determining a first difference between the first target mock location and the starting mock location in a first direction; and
causing the table to be adjusted based on the first difference such that the target region of the object is located at or in a vicinity of the first target position.
|