1. A computer-implemented method for controlling an image sensor, said method comprising: loading an image file having a plurality of data sets associated with a plurality of image sensors respectively by a processor, wherein each of said data sets comprises identification data indicating an identity of one of said image sensors and configuration data indicating operation parameters of said one of said image sensors; accessing a register in said image sensor according to an address value contained in said identification data; acquiring a remote identification value of said image sensor from said register; comparing said remote identification value to a local identification value contained in said identification data; identifying said image sensor if said remote identification value is matched to said local identification value; configuring said image sensor according to said configuration data by said processor; and updating said image file if none of said data sets comprises said identification data matching to said image sensor by said processor so as to make said image sensor recognizable by said processor.