Abstract:
A method for generating masking image using general polygonal mask includes receiving a pixel of a raw image and a polygon vertices array corresponding to a polygonal mask, determining whether the pixel is inside the polygonal mask, labeling the pixel to be a masked pixel if the pixel is inside the polygonal mask, or labeling the pixel to be a visible pixel if the pixel is outside the polygonal mask, and outputting the masked pixel or the visible pixel to generate the masking image.
Abstract:
A control method for a first device of an inter-integrated circuit (I2C) system including a microcontroller unit (MCU), includes receiving a first indication from the MCU of the I2C system, wherein the first indication configures the first device from a slave mode to a master mode; polling the first device itself for status information of the first device when the first device is in the master mode; determining whether the status information of the first device matches a target status after polling; and determining to perform a parameter adjustment on a second device of the I2C system when determining that the status information of the first device matches the target status.
Abstract:
A method for generating masking image using general polygonal mask includes receiving a pixel of a raw image and a polygon vertices array corresponding to a polygonal mask, determining whether the pixel is inside the polygonal mask, labeling the pixel to be a masked pixel if the pixel is inside the polygonal mask, or labeling the pixel to be a visible pixel if the pixel is outside the polygonal mask, and outputting the masked pixel or the visible pixel to generate the masking image.
Abstract:
A control method for a first device of an inter-integrated circuit (I2C) system including a microcontroller unit (MCU), includes receiving a first indication from the MCU of the I2C system, wherein the first indication configures the first device from a slave mode to a master mode; polling the first device itself for status information of the first device when the first device is in the master mode; determining whether the status information of the first device matches a target status after polling; and determining to perform a parameter adjustment on a second device of the I2C system when determining that the status information of the first device matches the target status.