the pixel array 100 shown schematically in fig1 includes photo - sensitive pixels 110 , 140 , i . e ., circuitry for sensing light . although only two photo - sensitive pixels 110 and two photo - sensitive pixels 140 are shown , the pixel array 100 may in fact include many more or fewer photo - sensitive pixels 110 , 140 . the pixel 110 includes a p - type photodiode 112 as a photo - sensitive element . the photodiode 112 in each pixel 110 corresponds to an image pixel , i . e ., a fraction of the image to be sensed . more than one photodiode may also correspond to the same image pixel . the cathode 114 of the p - type photodiode 112 is connected to a supply voltage denoted as vdd . vdd can be , for example , 3v or 5v . the anode 116 of the p - type photodiode 112 is connected to a charge - sharing line 102 . more generally , as illustrated in the pixel array 100 of fig1 , the charge - sharing line 102 is connected to the anode 116 of each p - type photodiode 112 in each photo - sensitive pixel 110 . the anode 116 is also connected to a terminal 120 of a reset switch 118 . the reset switch 118 also includes a control terminal 122 , and a terminal 124 connected to a reference voltage denoted as vmid . typically , the reference voltage vmid is less than the supply voltage vdd . for example , if vdd is 5v , vmid can be 3 . 5v or 2 . 5v , and if vdd is 3v , vmid can be 1 . 5v or 1 . 2v . the control terminal 122 of the reset switch 118 in each pixel 110 is connected to a signal denoted as reset −. although the reset switch 118 of the pixel 110 is depicted as a p - type metal oxide semiconductor field - effect transistor ( p - mosfet ), other types of switches including n - type mosfets ( n - mosfets ), transistors , and other non - semiconductor switches may also be used . the pixel 140 includes an n - type photodiode 142 that can operate as a photo - sensitive element . the cathode 146 of the n - type photodiode 142 in each pixel 140 is connected to the charge sharing line 102 . the anode 144 of the n - type photodiode is connected to a certain reference voltage , e . g ., ground voltage or 0v , typically denoted as gnd . the cathode 146 is also connected to a terminal 150 of a reset switch 148 . in a similar fashion to the reset switch 118 in the pixel 110 , the reset switch 148 includes a control terminal 152 , and a terminal 154 connected to the reference voltage vmid . it should be understood , however , that although fig1 shows the reference voltage vmid connected to all pixels 110 , 140 , the reset switches of different pixels may in fact be connected to different reference voltages ( e . g ., vmid1 , vmid2 , etc . ), having different values , such as 2 . 5v and 3v . the control terminal 152 of the reset switch 148 in each pixel 140 is connected to a signal denoted as reset +. the reset switch 148 of the pixel 140 is depicted as an n - mosfet , but , again , other types of switches such as p - mosfets , transistors , and other non - semiconductor switches may also be used . the charge - sharing line 102 is connected to a gate terminal 162 of a driver 160 . the driver 160 is configured as a source follower , i . e ., it produces an output at a drain terminal 164 that is proportional to the voltage at the gate terminal 162 . the voltage at the gate terminal 162 is determined by the charge accumulated on the charge - sharing line 102 . a source terminal 166 of the driver 160 is connected to a supply voltage , e . g ., vdd . the drain terminal 164 of the driver 160 is connected to a select switch 170 having a select input 172 . when the select input 172 is activated , the select switch 170 turns “ on ” and a signal ( e . g ., a voltage signal ) at the drain terminal 164 is substantially reproduced at the output terminal 174 of the select switch 170 . the embodiment of the pixel array 100 depicted in fig1 employs n - mosfets as the driver 160 and select switch 170 . this , however , is for illustration only , and other types of devices such as p - mosfets , transistors , and other non - semiconductor devices may also be used as the driver 160 and / or select switch 170 . moreover , the device used for the driver 160 need not be of the same type as the device used for the select switch 170 . to perform image sensing , the pixel array 100 is exposed to a view to be imaged , such as a view from a camera . the reset switches 118 , 148 are turned on substantially simultaneously by activating the respective select signals reset − and reset +. the signal reset − is activated by setting it to a voltage that is substantially less than the voltage at the terminal 124 , i . e ., vmid . for example , the signal reset − may be set to 0v . the signal reset + is activated by setting it to a voltage substantially the same as the voltage vmid at the terminal 154 , e . g ., 3 . 5v . the reset signals are held active for a predetermined reset duration , on the order of a few nanoseconds . during this time , the photodiodes 112 , 142 are “ reset ,” i . e ., the voltages at the anode 116 of the photodiode 112 and at the cathode 146 of the photodiode 142 are set to be approximately equal to vmid . accordingly , the voltage on the charge - sharing line 102 is also approximately equal to vmid . after the reset duration , the reset switches 118 , 148 are turned off substantially simultaneously by deactivating the respective select signals reset − and reset +. each photodiode 112 , 142 that is exposed to a portion of the view to be imaged ( i . e ., an image pixel ) accumulates a charge proportional to the intensity of the light incident upon the photodiode from the image pixel . in particular , the n - type photodiodes 142 accumulate and discharge electrons at the cathode 146 . because the number of electrons discharged at each cathode 146 is proportional to the intensity of the light from the associated image pixel , the number of electrons ( i . e ., the accumulated charge ) at each cathode 146 represents the value of the associated image pixel . as all cathodes 146 are connected to the charge - sharing line 102 , the electrons from all cathodes 146 are accumulated , i . e ., “ added ” on the charge - sharing line 102 . thus , the charge on the charge - sharing line 102 due to the accumulated electrons is related to the sum of the image - pixel values associated with the photodiodes 142 . the p - type photodiodes 112 accumulate and discharge holes at the anode 116 . in a similar fashion to the case of the n - type photodiodes 142 , the number of holes discharged at the anode 116 of each p - type photodiode 112 is proportional to the intensity of the light from the image pixel associated with the photodiode 112 . accordingly , the number of holes ( i . e ., the accumulated charge ) at each anode 116 represents the value of the associated image pixel . all anodes 116 are also connected to the charge - sharing line 102 , so that the holes from all anodes 116 are accumulated , i . e ., “ added ” on the charge - sharing line 102 . thus , the charge on the charge - sharing line 102 due to the accumulated holes is related to the sum of the image - pixel values associated with the photodiodes 112 . in the pixel array 100 , all anodes 116 and cathodes 146 are connected to the charge - sharing line 102 . as a result , the holes collectively discharged at all anodes 116 and the electrons collectively discharged at all cathodes 146 combine on the charge - sharing line 102 . an electron - hole combination nullifies the charges associated with each individual electron and hole in the pair and , as a result , the charge on the charge - sharing line 102 can be expressed as the difference between the sum of charges due to all holes and the sum of charges due to all electrons . in effect , the charge on the charge - sharing line 102 represents the sum of pixel values associated with the p - type photodiodes 142 minus the sum of pixel values associated with the n - type photodiodes 112 . thus , the net charge on the charge - sharing line 102 corresponds to a pixel value obtained by adding the pixel values associated with the p - type photodiodes 142 and subtracting therefrom the pixel values associated with each n - type photodiode 112 . if more electrons were discharged at the cathodes 146 than holes discharged at the anodes 116 , the net charge on the charge - sharing line 102 would be negative , causing the voltage on the charge - sharing line 102 to decrease from the reset value vmid . conversely , if more holes than electrons were discharged , the net charge would be positive , causing the voltage on the charge - sharing line 102 to increase from vmid . the net voltage on the charge - sharing line 102 , denoted as vpix , is also present at the gate 162 of the driver 160 . therefore , the voltage at the drain terminal 164 changes according to vpix . after a pre - determined duration of accumulating the above - described charges , called the integration time ( typically on the order of a few milliseconds ), the select switch 170 is activated by activating the select input 172 . then , an output signal , denoted as vout , is produced at the output terminal 174 having a voltage substantially the same as the voltage at the drain terminal 164 . as the voltage at the drain terminal 164 is related to vpix , which represents the addition and subtraction of various image pixels , the signal vout also represents addition and subtraction of the image pixels . advantageously , in the pixel array 100 , the value of an individual image pixel is merely represented as a charge at an anode 116 or at a cathode 146 . individual pixel values are not digitized , and are not sent to a processor for analog - to - digital conversion . this substantially decreases the required processor capacity and the number of interconnects that would otherwise be required to deliver the charges sensed at each pixel 110 , 140 to the processor for the analog - to - digital conversion . moreover , a digitized value corresponding to each individual image pixel is not stored in a memory cell . only the signal at the output 174 ( i . e ., vout ) is digitized and stored in memory . thus , the size of the memory that is required to store the compressively sampled signals is substantially smaller than the memory that would otherwise be required to store each pixel value individually . as mentioned , in the pixel array 100 , circuitry including the driver 160 and the switch 170 produces a voltage at the output terminal 174 that is related to the voltage vpix at the gate terminal 162 , but , in doing so , the circuitry generally introduces some noise ( denoted as vnoise ). in addition , the voltage at the terminal 174 may also be offset by a threshold voltage vth , a parameter associated with the driver 160 and selector - switch 170 circuitry . typically , the noise and the threshold voltage are not known and , hence , the value corresponding only to the addition and / or subtraction of pixels cannot easily be extracted from the output signal vout at the terminal 174 . often , the noise and the threshold voltage offset values are not substantial , and do not significantly affect the accuracy of the added and / or subtracted pixel values obtained from the output signal vout . in these cases , the pixel array 100 works just fine . in some very high - resolution image - sensing applications , however , it is desirable to mitigate or eliminate the effect of the noise and the threshold voltage . some methods , such as obtaining a pixel value from the output signal vout after resetting the photodiodes 112 , 142 , storing that value in a temporary memory , reading a pixel value corresponding to vpix , as described above , and subtracting from this pixel value the value stored in the temporary memory can mitigate the effects of noise and threshold - voltage offset . the temporary memory storage and the subtraction operation , however , can significantly increase the system size and / or power consumption . the pixel array 200 illustrated in fig2 can be employed , however , to avoid or mitigate the noise and threshold - voltage offset effects without substantially increasing the system size , power consumption , or cost . in the pixel array 200 , the pixel 210 includes a transfer switch 280 having a transfer control input 282 . the anode 116 of the p - type photodiode 112 is connected to a terminal 284 of the transfer switch 280 . a terminal 286 of the transfer switch 280 is connected to the charge - sharing line 102 and to the terminal 120 of the reset switch 118 . the transfer control input 282 of each transfer switch 280 in each pixel 210 is connected to a signal tg +. the transfer switch 280 is illustrated as being a p - mosfet , but it may also be another type of field - effect transistor ( fet ), transistor , or a non - semiconductor switch . the pixel 240 includes a transfer switch 290 having a transfer control input 292 . the cathode 146 of the n - type photodiode 142 is connected to a terminal 294 of the transfer switch 290 . a terminal 296 of the transfer switch 290 is connected to the charge - sharing line 102 and to the terminal 150 of the reset switch 148 . the transfer control input 292 of each transfer switch 290 in each pixel 240 is connected to a signal tg −. the transfer switch 290 is illustrated as being an n - mosfet , but it may also be another type of fet , transistor , or a non - semiconductor switch . in the pixel array 200 , one or more of the p - type photodiode 112 and / or one or more of the n - type photodiode 142 can be pinned photodiodes . moreover , the pixels 210 , 240 can be back - illuminated pixels and / or photogate pixels . in operation of the pixel array 200 , both the reset switch 118 and the transfer switch 280 in pixel 210 are turned on substantially simultaneously during the reset period . the transfer switch 280 is turned on by settling the signal tg + to a voltage less than vmid ( e . g ., 0v ). after resetting the photodiode 112 , the reset switch 118 and the transfer switch 280 are turned off substantially simultaneously . the p - type photodiode 112 then accumulates charge according to the intensity of the light received from the image pixel associated with the photodiode 112 . accordingly , the photodiode 112 discharges holes at the anode 116 , as described above . but , in this case , because the transfer switch 280 is turned off , these holes are not transferred to the nodes 286 , 120 ( collectively referred to as a floating - diffusion node ) or to the charge - sharing line 102 . the reset switch 118 is then turned on a second time , setting the voltage at the nodes 286 , 120 substantially equal to vmid , and is thereafter again turned off . the pixel 240 is operated in a similar fashion , where both the transfer switch 290 and the reset switch 148 are turned on substantially simultaneously , thereby resetting the n - type photodiode 142 , and then off substantially simultaneously so that the electrons discharged at the cathode 146 are not transferred to the nodes 296 , 150 . the reset switch 148 is then turned on a second time ( substantially at the same time at which the reset switch 118 is turned on a second time ), setting the voltage at the nodes 296 , 150 substantially to vmid , and is thereafter again turned off . once the voltage at nodes 286 , 120 and 296 , 150 are set substantially equal to vmid , the select switch 172 is turned on . a first reading of the signal at the terminal 174 , denoted as vout_ref , is then related to vmid . in particular , vout_ref can be expressed as vmid + vth + vnoise . subsequently , the transfer switches 280 , 290 are turned on . as a result , the electrons accumulated at cathodes 146 are transferred to the charge - sharing line 102 through switches 290 , and the holes accumulated at anodes 116 are also transferred to the charge - sharing line 102 through switches 280 . as described above with reference to fig1 , the electrons and holes combine on the charge - sharing line 102 so as to represent a charge corresponding to a pixel value obtained by adding the individual pixel values associated with the p - type photodiodes 142 and subtracting therefrom the individual pixel values associated with each n - type photodiode 112 . thus , the voltage on the charge - sharing line 102 after turning on the transfer switches 280 , 290 corresponds to vpix , as described above . a second reading of the signal at the terminal 174 , denoted as vout_pix , is related to vpix , and may be expressed as vpix + vmid + vth + vnoise . the difference between vout_pix and vout_ref substantially eliminates the effect of vth and vnoise , i . e ., the effect of the unknown threshold voltage and noise . accordingly , the difference between the two readings of the output signal at the terminal 174 virtually yields only vpix , which corresponds to the addition and / or subtraction of individual pixels . although in fig1 and 2 all p - type photodiodes 112 share common control inputs reset − and / or tg +, and all n - type photodiodes 142 share common control inputs reset + and / or tg −, this is for illustrative purposes only . in other embodiments , only a subset of the p - type photodiodes 112 share a common reset control , or a common transfer control , or both . similarly , only a subset of the n - type photodiodes 142 may share a common reset control , or a common transfer control , or both . in yet other embodiments , each photodiode may have a distinct pair of reset and transfer control inputs . in a pixel array 300 , depicted in fig3 , the pixels 310 , 340 comprise p - type photodiodes 312 and n - type photodiodes 342 , respectively , and each pixel 310 , 340 shares a common reset switch 318 . in this embodiment , the photodiodes 312 , 342 may not be reset individually , but because fewer switches ( e . g ., transistors ) are required compared to the pixel array 100 ( shown in fig1 ), the pixel array 300 can be smaller than the pixel array 100 . similarly , in the pixel array 400 shown in fig4 , the pixels 410 , 440 share a common reset switch 418 , and , hence , the photodiodes included therein may not be reset individually . but , the pixel array 400 can be smaller than the pixel array 200 shown in fig2 due to the use of fewer switches . in another embodiment according to the invention , a pixel array includes only one type of photodiode ( e . g ., only p - type photodiodes or only n - type photodiodes ). one set of pixels , designated as “ a ” pixels , shares one pair of reset and transfer control signals , namely r1 and t1 . another set of pixels , designated as “ b ” pixels , shares another pair of reset and transfer control signals , namely r2 and t2 . all pixels “ a ” and “ b ,” however , are connected to the same charge - sharing line and driver / selector circuitry . initially , the “ a ” and “ b ” pixels are reset by activating the r1 , t1 , r2 , and t2 signals , as described above with reference to fig2 , and a signal vout_ref is measured . then , r1 , r2 , t1 , and t2 are deactivated , and , after the integration time , only t1 is activated . a value corresponding to the sum of all “ a ” pixels , denoted as vout_apix , is measured . soon thereafter , t2 is activated , allowing the charges accumulated by the “ b ” pixels to be combined with the charge accumulated by all “ a ” pixels , which is already present on the charge - sharing line . accordingly , a value corresponding to the sum of all “ a ” and “ b ” pixels , denoted as vout_a + bpix , is measured . by digitizing vout_apix and vout_a + bpix , and by subtracting the digitized value of vout_apix from vout_a + bpix , a value corresponding to the sum of all “ b ” pixels can be obtained . from these values , a value corresponding to the sum of all “ a ” pixels minus the sum of all “ b ” pixels can also be computed . in an alternative embodiment , after measuring vout_apix , as described above , the voltage at the charge - sharing line that is common to the “ a ” and “ b ” pixels is reset , e . g ., to vmid , by activating and deactivating the r1 and r2 signals . then t2 is activated as before , but now only the charges accumulated by the “ b ” pixels are combined at the charge - sharing line . accordingly , a value corresponding to the sum of all “ b ” pixels , denoted as vout_bpix , is measured . by digitizing vout_apix and vout_bpix , a value corresponding to the sum of all “ a ” pixels minus the sum of all “ b ” pixels and / or the sum of all “ b ” pixels minus the sum of all “ a ” pixels can be computed . the photodiodes corresponding to the “ a ” and “ b ” pixels can be of the same type or can be of different types , i . e ., the “ a ” pixels may correspond to p - type or n - type photodiodes , and , accordingly , the “ b ” pixels may correspond to n - type or p - type photodiodes . in yet another embodiment according to the invention , a pixel array includes more than one charge - sharing line , where each line is connected to a different set of pixels in the array . each charge - sharing line may also be associated with a driver / selector circuitry such as that including the driver 160 and the select switch 170 shown in fig1 and 2 . accordingly , the pixels in the set associated with each charge - sharing line may be added and / or subtracted , and a signal representing the sampled ( i . e ., processed ) pixel value for the associated set may be output from the driver / selector circuitry . these signals can be digitized , and additional arithmetic operations can be performed on the digitized values resulting in additions and / or subtractions , or other functions , of the sums of pixel values from each set . in general , a pixel array or focal plane can be configured as an m × n matrix where n is the number of charge - sharing lines and output signals , and m is the number of pixels in a set associated with each charge - sharing line . for example , a 2 × 2 pixel array includes two charge - sharing lines c 1 , c 2 , two pixels p 11 , p 12 connected to line c 1 , and two pixels p 21 , p 22 connected to line c 2 . all four pixels may be of the same type ( i . e ., accumulating electrons , or accumulating holes ), or p 11 , p 12 may be of one type and p 21 , p 22 may be of a different type . alternatively , p 11 , p 21 may be of one type and p 12 , p 22 may be of a different type . other configurations of pixel arrays , e . g ., 4 × 2 , 4 × 4 , 8 × 2 , 8 × 4 , 8 × 8 , etc ., are also within the scope of the invention . the numbers m and n can be selected to be substantially larger than 8 ( e . g ., 64 or larger ) so as to meet the requirements of a suitable sampling function . while the invention has been particularly shown and described with reference to specific embodiments , it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims . the scope of the invention is thus indicated by the appended claims and all changes that come within the meaning and range of equivalency of the claims are therefore intended to be embraced .