The present application is the U.S. National Phase of International Patent Application Serial No. PCT/EP2014/051388, filed on Jan. 24, 2014, which claims priority to European Patent Application Serial No. 13152741.8 and European Patent Application Serial. No. 13152740.0, both of which were filed on Jan. 25, 2013. The contents of the foregoing applications are hereby incorporated by reference in their entireties.
The present invention relates to reading out data from image sensors. In particular, the present invention relates to reading-out of image areas from the image sensors.
Many popular consumer electronics applications such as cameras and mobile handsets as well as professional electronic applications such as laser-triangulation, video surveillance, monitoring employ complimentary metal oxide semi-conductor (CMOS) image sensors. Various applications pose different requirements on the spatial and temporal resolution. In general as sensor resolution increases, the operation of the sensors in desired frame rates involves higher data reading-out rates.
The CMOS image sensor of
Furthermore, the CMOS image sensor includes typically a read-out channel (read-out circuit) 105. The read-out channel sequentially (row by row) receives the information contained in the pixels of each sensor row via the data column lines 103 and processes the data read. Modern CMOS image sensors typically include within the processing performed by the read-out channel also the operations of amplification and digitalization of the pixel information. After the processing, pixel information is transmitted from the sensor via output ports.
In compliance with the above description, the download of the pixel area is performed row by row driven by the row selection circuit. In a more sophisticated sensor, the row selection circuit may by capable to start in a row different from the first one and/or may skip some rows. This enables defining and downloading multiple regions of interest (ROI) separately and separated from several rows without wasting time due to downloading undesired rows. Nevertheless, since the control signals are propagated horizontally (row-wise) it is only possible to download a horizontal region of interest consisting of one or multiple full rows (complete rows).
Indeed, in the present example since the pixel area 200 includes 46 rows, downloading only 16 of them speeds up the application considerably. However, there are applications in which the read out speed is essential and in which the regions of interest do not have rectangular shapes. In such cases, even with this approach, many unnecessary pixels are downloaded.
Moreover, there are many applications in which the ROI changes from image to image and which, at the same time, require a very high speed, which is habitually limited by the time required to read the information out of the sensor.
One typical example for this type of application is laser triangulation. Laser triangulation application is illustrated in
Usually, the structured laser light is shaped as a single line. The laser triangulation is used to determine a distance to an object and/or structure of an object. For instance, the laser triangulation may be used for three dimensional scanning of the object.
Laser scanning of a three dimensional object 320 is also illustrated on the bottom part of
In the example above, the image 330 is almost empty (dark) except for the thin white (bright) line corresponding to the reflected laser line whose shape is distributed along the pixel array. In an image like this, the minimum rectangular ROI necessary to download the laser line is almost as tall as the entire pixel array whereas the percentage of the pixels with relevant information (pixels of the reflected line) is very small.
Some applications of laser triangulation consist of detecting a certain profile whose position in the pixel array is previously known in all captured images and confirming that its shape and dimensions meet certain specifications. Such applications may be, for instance a cable inspection or any other kind of deformation or deterioration detection. In this case, a static, a priori definition of a non-rectangular ROI could deliver a huge benefit.
On the other hand, there are other applications, in which a 3D reconstruction of an object with an arbitrary shape is aimed. Hence, there is no knowledge about the ROI in advance, and it is required to calculate it in real time for each image since it can change from frame to frame.
A problem underlying the present invention is based on the observation that especially in some applications only a rather small portion of the entire pixel area is necessary to be downloaded and that this portion is not necessarily of a rectangular shape covering entire rows. Moreover, the portion including the relevant data may change with the time.
Accordingly, the aim of the present invention is to provide an approach which would enable for reading out pixels from a pixel area in a more efficient way and in particular enabling the faster download of the pixels including the relevant information. Another aim of the present invention is to provide an automatic detection of the region including the relevant information.
The present invention provides an architecture which, when embedded in a CMOS sensor, allows the sensor to calculate the appropriate ROI for every image acquired and read-out such image using that ROI, thus minimizing the amount of data to be readout, thereby increasing the frame rate.
This is achieved by the subject matter of the independent claims.
Advantages and embodiments of the invention are subject to the dependent claims.
It is the particular approach of the present invention to speed up the downloading of the image from a pixel area by enabling selectively downloading only the pixels contained in a region of interest whose geometry can be randomly defined over the pixel area and in particular by automatically determining the region of interest.
In accordance with an aspect of the present invention, a circuitry is provided for determining a region of interest, ROI, within pixels of a sensor array. The circuitry for determining ROI comprises a first read-out circuitry for reading-out pixels from the sensor array faster than the second read-out circuitry, and a processing unit for determining the ROI based on the pixel read-out by the first read-out circuitry.
The ROI is an area within the sensor array including one or more pixels to be read-out from the sensor array by a second read-out circuitry.
The processing unit is preferably configured to determine the ROI by detecting among the pixel values acquired by the first read-out circuitry those pixels which belong to the ROI based on a predefined condition, and to provide the determined ROI to the second read-out circuitry. As an example, for laser triangulation applications and others, the processing unit may include a comparator for detecting as pixels belonging to the ROI those pixels the value of which exceeds a predefined threshold. The determining of the ROI may be performed for each frame captured by the sensor array.
It may be beneficial when the first read-out circuitry works in current mode. For instance, the circuitry may then include a driver transistor of the PMOS type for providing a pixel current based on signal stored in a capacitive memory to the processing unit.
The circuitry for determining ROI may comprise a current comparator and the reading-out may be performed for two rows of pixels of the sensor array in parallel. The present invention is not limited to this configuration and, in general, the reading out may be performed for a plurality of rows in parallel.
The reading-out circuitry may be provided in each column by means of a driver transistor per row providing a sum of currents from the pixels of the respective two rows (or more rows) to the comparator which is adapted to compare the sum with a threshold current.
In accordance with another aspect of the present invention, a circuitry is provided for configuring a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels to be read-out from the sensor array, the circuitry comprising: a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array; and a control means for writing into the ROI storage means of the pixel the ROI indication in accordance with an input provided from the processing unit of the circuitry for determining ROI as defined above.
In accordance with another aspect of the present invention, a read-out circuitry is provided for reading-out from a sensor array a region of interest, ROI, including one or more pixels, the read-out circuitry comprising: a signal storage means for storing per pixel a signal detected by the sensor; a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array in accordance with the input provided from the circuitry for determining ROI as described above; a selection circuit for selecting at least one pixel to be read-out, the selection circuit being configured to read-out only pixels with the ROI indication indicating that said pixels belong to the region of interest; and a second read-out circuit for reading-out the signal storage means of pixels selected.
According to still another aspect of the present invention, a sensor array circuitry is provided for reading out a region of interest, ROI, of a sensor array (100), the sensor array circuitry comprising the circuitry for determining a region of interest; the circuitry for configuring the determined ROI; and the circuitry for reading-out the pixels from the configured ROI.
Advantageously, the sensor array circuitry comprises a shift register including a first input for receiving a signal from a ROI storage means of another pixel preceding said pixel within a line of pixels; a second input for receiving a signal provided by the processing block of the circuitry for determining the ROI; a control input for receiving a source selection signal controlling whether the first input or the second input is active; and an output for shifting a signal received to a ROI storage of another pixel following said pixel within the line of pixels when the control input selects the first input, and for storing the signal received at the second input when the second input is selected, wherein the selection circuit is configured for selecting the pixels to be read-out in accordance with the signal output from the shift register.
The selection circuit may be also configured to select the pixels to be read-out only in accordance with the signal output from the shift register.
For instance, the shift register further comprises a bypass storage means for storing a bypass indication for a pixel indicating by a predefined value that said pixel is to be skipped during reading-out, an input for receiving a bypass signal corresponding to the bypass indication; and the shift register is configured to transfer the signal from its selected input to its output upon receiving the bypass signal with the predefined value.
According to another aspect of the invention, a method is provided for determining a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels to be read-out in a second read-out step from the sensor array, the method comprising the following steps performed for one pixel: first reading-out pixels from the sensor array faster than the second read-out step, and processing for determining whether the pixel read-out by the first reading-out step belongs or not to the ROI based on the read-out pixel value.
According to another aspect of the invention a method is provided for reading out pixels from a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels, the method comprising the steps of: determining the ROI as described above for all pixels in the sensor array including the steps of the first reading-out of the pixels and their processing; storing an information identifying the ROI determined; and based on the stored information a second reading-out step for reading out only pixels belonging to the ROI identified by the stored information.
The steps of first reading-out, processing, and storing are beneficially performed for one line of pixels at least partially in parallel.
The above and other objects and features of the present invention will become more apparent from the following description and preferred embodiments given in conjunction with the accompanying drawings in which:
The present invention enables reading out pixels from CMOS image sensors allowing to selectively download only the pixels included in the region of interest of which the geometry can be randomly defined over the area. This approach has the advantage of higher efficiency by only downloading the desired pixels and thus speeding up the reading out procedure in contrast to the prior art in which the region of interest had to have a rectangular shape being a multiple of entire rows of the pixel area.
In order to achieve this, the present invention provides a ROI programming circuitry and a ROI reading-out circuitry as well as the corresponding methods for ROI programming and ROI reading-out as well as apparatuses making use of the ROI programming and the ROI reading-out.
In particular, a circuitry for configuring a region of interest within a sensor array comprises a ROI storage means 730 for storing a ROI indication and a control means 830 for writing into the ROI storage means of the pixel the ROI indication. Accordingly, it is possible to configure the distinguishing between the ROI pixels and the non-ROI pixels.
The term ROI refers to an area including one or more pixels to be read-out from the sensor array. Defining ROI is advantageous for application in which only a portion of the entire image captured by the sensor array is relevant, i.e. contains information or new information. In particular, the present invention is particularly relevant for applications such as three dimensional (3D) imaging based on laser triangulation, in which the speed limiting factor is the time required to downloading the pixel data out of the image sensor. The limitation to rectangular regions of interest as present in the prior art, becomes extremely inefficient as it implies downloading a huge amount of useless pixels. In contrast, the present invention enables defining one or multiple regions of interest with arbitrary shapes and downloading only these pixels which enables maximizing the sensor speed while optimizing the overall area and power consumption.
The ROI indication designates whether or not a pixel belongs to the region of interest of the sensor array. This indication may be used in the reading-out procedure of the sensor array.
Accordingly, a read-out circuitry for reading-out from the sensor array a region of interest comprises a signal storage for storing per pixel a signal detected by the pixel-sensor and, in addition, the ROI storage as described above for storing the ROI indication. The read-out circuitry further comprises a selection circuit (row-selection circuit) for selecting at least one pixel to be read-out and configured to select only pixels with the ROI indication indicating that said pixels belong to the region of interest. The read-out circuitry finally includes a read-out circuit for reading-out the signal storage of pixels selected, i.e. for reading the value of the pixel sensed.
It is noted that the rows and the columns may be exchanged. For instance, the selection may be performed on a column basis and the reading-out on a row basis.
Based on the present invention it is possible to define for each column of pixels one or multiple regions of interest of which each includes one or several pixels. The position of the regions of interest may vary from column to column in an arbitrary way. In order to achieve this in accordance with an embodiment of the present invention a pixel design, process of programming regions of interest and a process for reading-out the regions of interest are provided as will be described below. However, it is noted that some embodiments of the present invention do not necessarily make use of the full scalability of the region of interest. For instance, according to an embodiment of the present invention, the size of the ROI per column is equal for all columns of the image. Such configuration still provides scalability sufficient for some applications such as triangulation and is simpler to implement than the full flexibility as will be shown below.
A comparison of reading out the pixels from the pixel area in accordance with the prior art and with the present invention is illustrated in
The right part of
In this way, the time for reading the region of interest as can be seen below the pixel area 400C, the time of downloading of all the selected pixels in the area reduces to less than 3×Trow which equals to time necessary for downloading 132 pixels. This represents a factor of improvement in the sensor maximum frame rate compared to the prior art of more than 46:3=15.3. Accordingly, in this particular example speeding up by 15.3 times is possible. It is noted that this “improvement factor” grows proportionally to the number of rows of the sensor. For instance, in machine vision applications it is very typical to use sensors of which the row count is in the order of 1000. If a similar region of interest is assumed such as a diagonal line with a thickness of 3 pixels, an improvement factor for pixel area with 1024 rows would result in approximately 1024:3=341.3 times the speed of the prior art.
It is noted that the terms “first” or “second”, etc. pixel within the column refer to the first or second pixel from the top of the sensor array, typically the top of the sensor array being determined by the start of the downloading (reading-out). However, as noted above, the column-row structure may be exchanged in which case the first ROI pixel in a row would be the first ROI pixel from the beginning of the reading-out, which would typically be the left side. However, we note that it is also possible to imaging sensor control which starts reading-out from the bottom or the right side of the array. Moreover, the terms top, bottom, left, right are relative. However, usually they refer to the sensor array with respect to the position of pictures to be captured.
When the read-out control according to the above described embodiment of the invention launches the read-out signal for the first pixel row, the first pixel row comprises the first pixel in the region of interest ROI #i for each column i, the second row comprises the second pixel in the region of interest ROI #i for each column i, etc. The process continues similarly until the last pixel in the region of interest ROI #i in all columns is read out. The result of reading-out is shown in the bottom right part of
In order to achieve this improvement by only reading the region of interest, in accordance with an embodiment of the present invention a modified pixel structure is provided. In particular,
The pixels generate and collect charge representing one pixel of an image captured by the sensor array in response to light reaching the respective pixel-photo-sensitive elements, such as the photo-sensor PPD, which is in this example a pinned photo-diode. During the exposure, i.e. image acquisition time (sensing time), the light impinging in the pinned photodiode is absorbed and generates free electrons that are collected in the pinned photodiode.
Close before termination of the exposure time, the photo-generated electrons in the pinned photodiode are transferred to the floating diffusion node FD and converted to voltage at the floating diffusion capacitor ends. The charge stored in the pixel may be read-out by using a (row) selection transistor fed by the signal SEL to select the appropriate pixel and “download” the charge stored in the selected pixel, and in particular in the floating node FD.
The transistors are placed in conductive states to pre-charge the floating node FD and deplete photo sensor PPD. With the signal TRF, the corresponding transistor is placed in a non-conductive state to allow photo sensor PPD to accumulate charge during an integration period. During the integration period, a signal AB is applied to the corresponding transistor in order to avoid the excess of charge caused by intense light in a certain pixel to reach neighbor pixels. Once the integration finishes, the signal stored in the FD is readout row by row. After reading one row out, the pixels of such row are reset, and the reset signal RST is also readout, being subtracted from the original signal. This enables removing the systematic part of the reset noise. The above process is repeated for all the rows of the image.
Accordingly, the voltage corresponding to the pixel signal remains stored in the floating diffusion node (e.g. the capacitor) until the pixel is read out. In the process of reading out, the voltage in the floating diffusion node is downloaded via the in-pixel source follower and under the control of selections with the selection switch SEL that connects the pixel to the data column lines and current source ICS which is a part of the read-out channel 105. The above mentioned control signals AB, TRF, RST and SEL for operating the pixels are generated by the row selection circuit 101.
In order to shorten the read-out time, as described above, a storage means is provided on a per pixel basis for storing information whether the pixel belongs to the region of interest. Then, a circuitry and a method for programming the ROI storage is provided as well as a circuitry and a method for reading-out the ROIs.
In the example described with reference to
In detail, the example control module 710 of
The AND gate 740 has as an input the selection signal SEL and an output signal from the shift register 720. The output signal from the shift register 720 indicates whether the pixel belongs or not to the region of interest. Accordingly, the selection transistor Tsel is only switched on when the selection signal is active and when the pixel belongs to the region of interest. This enables reading-out of only the pixels belonging to the region of interest.
The shift register 720 has an input (In1) for receiving a signal from the previous pixel in the column and an input (In2) from the one-bit memory 730. The shift register 720 has further an input for clock signal CLK_S and an input for clock signal CLK_R. The clock signal CLK_S controls (provides timing for) shifting of the ROI indication values to the following pixels. The clock signal CLK_R controls (provides timing for) sampling the content of the one-bit memory in input In2. This is done globally for all the pixels of the array. Moreover, the shift register 720 includes an output (out) which outputs a first value when the pixel belongs to ROI and a second value different from the first value when the pixel does not belong to the ROI. The first value may be logic “1” and the second value may be logic “0” or vice versa. The signal outputted may be input to the AND gate 740 as described above. In addition, it may be outputted to the next pixel in the column.
The one-bit memory 730 has an input from a write data line for writing a signal from the write data line 840 to the one-bit memory 730. Moreover, the one-bit memory 730 has an input for entering the ROI_write signal which controls (provides timing for) the writing into the memory. The one-bit memory 730 further has an output connected to the shift register for outputting to the shift register (for reading out by the shift register) the value stored.
In the following, the operation of the pixel circuit described with reference to
It is noted that the image acquisition in an image sensor using the pixel architecture or defined in accordance with the present invention, may work similarly to the prior art. It is further noted that the present invention is applicable to any CMOS pixel regardless of their topology for instance pixels with a pinned photodiode or N/P or P/N type, and regardless of the number of transistors such as three-transistor (3T), four-transistors (4T) and five-transistors (5T) or any other. Regarding the pixel architecture, in accordance with the present invention a selection control means is added to a pixel irrespectively of its remaining architecture.
The operation for reading out the image sensor includes two steps, namely:
The first step of the definition of the region of interest may also be called the region of interest programming or setting (defining) the region of interest.
As can be seen in
A step-wise example of region of interest programming according to an embodiment of the present invention is illustrated in
In this description, the pixels contained in a region of interest are denoted as “region of interest pixels” or “ROI pixels” in order to distinguish them from the remaining pixels of the image array. Similarly, the term “first region of interest pixel” or “first ROI pixel” will be employed to identify for a sensor column the ROI pixel that belongs to the sensor row which is read out first and which usually has the lowest row index (within the ROI).
The setting-up (programming) of the region of interest may advantageously be performed at the initial sensor configuration phase and may be repeated every time the region of interest definition needs to be updated, for instance after changing the monitored object or its location.
The ROI programming is preferably performed sequentially on a row-by-row basis starting with the first row in the image area which includes at least one ROI pixel and ending in the last row of the image area containing at least one ROI pixel.
Part (a) of
The pixel area 810 represents the pixels of the image sensor. The shaded pixels in the diagonal represent the pixels of the image sensor containing the relevant information and forming thus the region of interest. The row selection circuit 820 selects rows, into the pixels of which it is to be written. The ROI programming circuit 830 is configured to write data line vectors into the pixel area columns. In particular, the ROI programming circuit 830 is configured to write logic values into the one-bit memory 730 of the respective pixels.
Part (b) of
Part (c) of
Part (d) of
Part (e) of
The above steps described for row #1 and row #2 are then repeated sequentially, row by row, until the last pixel row containing first ROI pixels is written. This final stage is illustrated in
Summarizing, according to the present invention, a method is provided for configuring a region of interest, ROI, within pixels of a sensor array 810. As described above, the ROI includes one or more pixels to be read-out from the sensor array. The method comprises the step of generating a ROI write signal and providing the generated ROI write signal to the pixel, and the step of, upon receiving the ROI writing signal, writing into the ROI storage means 730 of the pixel a ROI indication of whether or not a pixel is the first ROI pixel of the region of interest of the sensor array.
It is noted that according to this embodiments the resulting programmed ROI of
In the following, an example reading-out the region of interest pixels out of the image sensor is described. The reading-out process is illustrated step by step in
Part (b) of
In the second step illustrated in part (c) of
As a next step, a CLK_S pulse is applied to the shift register 720 of all pixels in parallel. This produces a shift of the logic “1” stored in the one-bit memory of the element 730 of the first region of interest pixels to the one-bit element of the pixel in the row below the first row. Alternatively, the shift may be performed to the pixels in the row on top of the first ROI pixels. This is illustrated in part (c) of
Accordingly, a read-out circuitry for reading-out from a sensor array a region of interest according to the above described embodiment of the invention includes a signal storage means (corresponding in the example above to the FD node) for storing per pixel a signal detected by the sensor (by the PPD in the above example). It further includes a ROI storage means for storing a ROI indication of whether or not a pixel is the first pixel of a column of the sensor array. Furthermore, a selection circuit serves for selecting at least one pixel to be read-out, the selection circuit being configured to select only pixels which belong to the region of interest, and a read-out circuit serves for reading-out the signal storage means of pixels selected.
It is noted that even when in the above example, the ROI includes at least one pixel from each column, this is not necessarily the case. The ROI can have an arbitrary shape and some columns do not necessarily have to belong to the ROI. In order to achieve this, the columns which are determined not to belong to the ROI may be switched-off (left out) for the reading and/or ROI programming process. It is to be noted that the ROI storage means in this example stores logic “1” only for pixels which are the first within respective columns of the sensor array belonging to the region of interest. The example of
Alternatively, in accordance with another embodiment of the present invention, a counter may be provided per column. This enables an arbitrary configuration of the ROI shape.
Still alternatively, the ROI storage means may store logic “1” not only for the first but for all pixels belonging to ROI. In such case, the architecture as shown in
Correspondingly,
The shift register advantageously comprises an input In1 for receiving a signal from a ROI storage means of another pixel preceding said pixel within a line of pixels, an input In2 for receiving a signal from the ROI storage means, and an output “out” for passing a signal received to a ROI storage of another pixel following said pixel within the line of pixels and to the selection circuit. The selection circuit is configured to select the pixels in accordance with the signal input from the shift register.
In summary, the present invention provides a modified pixel architecture, a process for programming region of interest and a procedure for reading all the regions of interest which enables to selectively download pixels from an arbitrarily shaped region of interest. It is noted that the modified pixel architecture is suitable not only for the global shutter pixel (5T pixel) but also for any other pixel type. For instance, for rolling shutter sensors in which both the exposure and the read out is done sequentially in a row by row basis, the present invention does not provide much benefit. However, the regions of interest are usually only employed in global shutter high speed sensors. The present invention is particularly suitable for laser triangulation sensors used in three dimensional vision systems. However, it is applicable to any other application, too.
The present invention is not limited to reading out a single (continuous) region of interest per column. A plurality of regions of interest per column may be defined.
In order to achieve this,
The pixel architecture of
This is shown in
It is noted that in order to support bypassing, and thus the multiple ROIs per column of a picture, there is to be a storage to store a bypass indication which indicates for a current pixel whether or not the current pixel is a bypass pixel or not. Such bypass storage may be, similarly to the ROI storage, a one-bit memory for storing whether or not the pixel is to be bypassed. The architecture shown in
However, the present invention is not limited to such an embodiment, and a separate storage means may be provided.
Alternatively, the ROI storage means may be capable of distinguishing apart from the “0” and “1” also a value of “B” indicating a bypass pixel. This could be implemented, for instance, by providing ROI storage means with capacity higher than one bit per pixel, for instance, with a capacity of two bit per pixel.
In summary, in order to implement the bypass feature, the circuitry's shift register includes an input for receiving a bypass signal and the shift register is configured to transfer the signal from a ROI storage means of the previous pixel to the output upon receiving the bypass signal with a predefined value.
Regarding the ROI indication, it is preferably one bit long, taking a first value for the first pixel in a column of the sensor array which belongs to the region of interest and a value different from the first value for all other pixels in said column. However, the present invention is not limited to this and the indication may include more bits, for instance, for signaling bypass.
The ROI programming and the read-out circuitry may be a part of further apparatuses. For instance, an apparatus may be provided which includes a read-out circuitry as described above and connectable to a sensor array matrix including a plurality of pixels and which further includes a circuitry according as described above for configuring a region of interest, ROI, within the sensor array matrix. Such apparatus may be an image sensor which further includes write data lines connecting pixels of the sensor array matrix with the circuitry for configuring ROI, selection lines connecting pixels of the sensor array matrix with the selection circuit, and signal data lines connecting pixels of the sensor array matrix with the read-out circuitry.
The image sensor as described above may be a part of an apparatus for triangulation. Such apparatus for triangulation is then including in addition a light source 312 for irradiating an object 320; and the image sensor 316 for sensing the light reflected from the irradiated object 320. It is noted that the term “light” here is not necessarily a light in the visual range and may be a general electromagnetic sensing wave.
Moreover, the reading-out circuit may be implemented as a separate integrated circuit. Parts of the ROI programming circuit may also be implemented as a separate integrated circuit. However, the ROI programming circuitry and the read-out circuitry may also be implemented in a common integrated circuit. Furthermore, a common sensor chip may implement the reading-out, programming circuitry and also the sensor including the signal, selection and programming lines.
As described above with reference to
In particular, the reading-out method may comprise a first reading-out from each column the first pixel belonging to the region of interest, shifting the ROI indication values of the pixels read-out to the respective pixels following the read-out pixels in their respective columns thus redefining the region of interest, storing for each read-out pixel the ROI indication values of the respective pixels preceding the read-out pixels in their respective columns, and a second reading-out from each column the first pixel belonging to the redefined region of interest. In other words, the shifting, storing and reading out may be repeated for each further row of a region of interest in a column.
Moreover, advantageously, the reading-out method may further comprise detecting a bypass signal; and transferring the signal from the ROI storage means of the previous pixel to the output upon detecting the bypass signal with a predefined value.
In particular, the method for reading-out the sensor array may include sensing with all pixels of the sensor array at the same time for a predefined exposure time period and reading-out sequentially portions of the region of interest including respectively i-th pixel belonging to the region of interest in each of the sensor array columns, i being an integer from 1 to K, K being an integer denoting the number of pixels in a column belonging to the region of interest (for the ROI of
It is to be noted that the pixel-related circuitry shown above in
For instance, the example circuitry described with reference to
In general, the circuitry of
However, it is to be noted that other (also simpler) architectures of the pixel-related circuitry are possible. For instance, the AND gate 740 of the pixel may be removed and the output (out) of the shift register 720 may be directly connected to the selection transistor Tsel. This is shown in
The circuitry in
By using the architecture of
This effect is possible when only the first pixel of each ROI (its one-bit memory) contains a logic “1”, since in other case, several rows would be shorted in the output line.
The method of programming the region of interest (ROI) is illustrated in a flow diagram of
Similarly,
According to an aspect of the present invention, a circuitry is provided for configuring a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels to be read-out from the sensor array. The circuitry comprises a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array; and a control means for writing into the ROI storage means of the pixel the ROI indication.
In accordance with an advantageous embodiment of the present invention, the ROI storage means is a one-bit memory provided per pixel and having an input for receiving a ROI writing signal and an input for receiving a ROI configuration signal from the control means.
The control means preferably comprises a selection circuit for generating the ROI write signal and a ROI programming circuit for generating the ROI configuration signal; and the ROI storage means is configured to store a ROI configuration signal value upon receiving the ROI writing signal and the ROI storage means is configured to store a first value when the pixel is a first pixel belonging to ROI within a line of pixels and to store a second value, different from the first value otherwise.
According to another aspect of the present invention, a read-out circuitry is provided for reading-out from a sensor array a region of interest, ROI, including one or more pixels. The read-out circuitry comprises a signal storage means for storing per pixel a signal detected by the sensor; a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array; a selection circuit for selecting at least one pixel to be read-out, the selection circuit being configured to select only pixels with the ROI indication indicating that said pixels belong to the region of interest; and a read-out circuit for reading-out the signal storage means of the selected pixels.
In accordance with an advantageous embodiment of the present invention, the read-out circuitry includes a shift register including an input for receiving a signal from a ROI storage means of another pixel preceding said pixel within a line of pixels; an input for receiving a signal from the ROI storage means; and an output for shifting a signal received to a ROI storage of another pixel following said pixel within the line of pixels and to the selection circuit, wherein the selection circuit is configured to select the pixels in accordance with the signal input from the shift register, the ROI storage means is configured to store a first value when the pixel is a first pixel belonging to ROI within a line of pixels and to store a second value, different from the first value otherwise, and the shift register is configured to perform the shifting a predetermined number of times.
Preferably, the circuitry further comprises a bypass storage means for storing a bypass indication for a pixel indicating by a predefined value that said pixel is to be skipped during reading-out, the shift register includes an input for receiving a bypass signal corresponding to the bypass indication; and the shift register is configured to transfer the signal from a ROI storage means of the previous pixel to the output upon receiving the bypass signal with the predefined value.
Advantageously, the ROI indication is one bit long, the ROI indication takes a first value for the first pixel in a column of the sensor array which belongs to the region of interest and a value different from the first value for all other pixels in said column, and the circuitry comprises a counter storage for storing an indicator of the number of pixels in said column belonging to ROI.
For instance, the circuitry's counter storage is adapted to store the indicator of the number of pixels in the column belonging to ROI for each column separately or commonly for all columns of the sensor area.
According to an aspect of the present invention, an apparatus is provided for image sensing comprising: the read-out circuitry as described above connectable to a sensor array matrix including a plurality of pixels; the circuitry as described above for configuring a region of interest, ROI, within the sensor array matrix; write data lines connecting pixels of the sensor array matrix with the circuitry for configuring ROI, and selection lines connecting pixels of the sensor array matrix with the selection circuit; and signal data lines connecting pixels of the sensor array matrix with the read-out circuitry.
Moreover, according to an embodiment of the present invention, an apparatus is provided for triangulation including: a light source for irradiating an object by means of a laser beam; and the apparatus according to claim 8 for sensing the light reflected from the irradiated object.
An advantageous implementation of the present invention provides an integrated circuit implementing any of the circuitry embodiments mentioned above.
According to another aspect of the present invention, a method is provided for configuring a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels to be read-out from the sensor array. The method comprises the following steps performed for one pixel: generating a ROI write signal and providing the generated ROI write signal to the pixel; upon receiving the ROI writing signal, writing into the ROI storage means of the pixel a ROI indication indicating that a pixel belongs to the region of interest of the sensor array.
According to another aspect of the present invention, a method is provided for reading-out from a sensor array a region of interest, ROI, including one or more pixels and comprising the steps of for selecting at least one pixel to be read-out, the selection circuit being configured to select only pixels with a predefined value of a ROI indication stored per pixel and indicating that said pixel belongs to the region of interest of the sensor array; and reading-out a signal from the selected pixels.
Preferably, the method includes a first reading-out from each column the first pixel belonging to the region of interest, shifting the ROI indication values of the pixels read-out to the respective pixels following the read-out pixels in their respective columns thus extending the region of interest, wherein the shifting is performed a predetermined number of times, storing for each read-out pixel the ROI indication values of the respective pixels preceding the read-out pixels in their respective columns, and a second reading-out from each column the first pixel belonging to the redefined region of interest.
Advantageously, the method further comprises determining a bypass signal for a pixel, specifying by a predefined value that said pixel is to be skipped during reading-out; and transferring the signal from the ROI storage means of the previous pixel to the output upon detecting the bypass signal with a predefined value.
In accordance with an embodiment of the present invention, the method includes sensing with all pixels of the sensor array at the same time for a predefined exposure time period; and reading-out sequentially portions of the region of interest including respectively i-th pixel belonging to the region of interest in each of the sensor array columns, i being an integer from 1 to N, N being an integer denoting the number of pixels in a column belonging to the region of interest.
As explained above, there are many imaging and vision applications where the information of interest is not distributed in the whole image, but concentrated in a region of interest. In accordance with the above described embodiments, cameras can benefit from downloading only ROI, instead of the whole image, which enables increasing the frame-rate. Accordingly, methods enabling reading image sensors more efficient and rapid calculation and download of ROIs are particularly interesting for high-speed vision and imaging applications as they allow increasing the frame-rate without using faster and thus more expensive image sensors. An approach for selecting and downloading ROIs with random (arbitrary) geometry has been introduced above.
This approach can provide a considerable benefit for some applications in terms of resources needed to achieve a certain frame-rate compared to downloading of usual rectangular shaped ROIs.
In the above examples described with reference to the drawings, the ROI includes at least one pixel from each column, i.e. the ROI is read-out (and programmed per entire ROI-row). However, this is not to limit the present invention. Accordingly, the ROI can have an arbitrary shape. Some columns do not necessarily have to belong to the ROI. When programming the ROI, the read-out channels (columns), which do not belong to the ROI may be deactivated. This can be performed in various ways, for instance, by storing information indicating the first (and/or last) column belonging to the ROI. When reading-out the ROI, only the active columns are read-out. In the following, an approach for determining (calculating) the ROI will be presented as an embodiments of the present invention. In particular, an approach for determining which part of the image contains the information of interest and quickly re-programming the sensor so that only this ROI is read-out. Accordingly, the following embodiment of the present invention provides architecture for CMOS image sensors allowing to calculating without latency the size and the coordinates of a ROI based on the processing of the image acquired by the sensor and obtaining certain characteristics determining the ROI.
The usual reading-out of the image sensor has been described above. The imager sensor captures at first an image, which remains stored in the pixels until read-out by the read-out channel. The pixel array is read-out (completely or partially) with a read-out circuitry. Normally, as a part of the read-out process, the read-out channel also digitizes the image. Let us represent the amount of time required by the readout channel to download the image from the pixel array and digitize it by the term Tframe. After read-out the image is stored in a digital memory and a processor processes the image during certain period of time Tproc following predefined algorithm(s). The memory can be placed inside the image sensor chip or outside of it. The processor can also be placed externally or on-chip.
The result of the processing provides the identification data of the information of interest in the image and with this identification data (information) the size and the coordinates of the ROI are calculated. The ROI size and coordinates are used to program the row selection circuit so that the programmed ROI is applied to the next frame to be readout. Let us denote the time required for re-programming the ROI definition in the row-selection circuit as Tre-prog.
In high-speed modern sensors the frame-rate FRmax is determined as the inverse of the time required to read-out a frame, i.e.
FRmax=1/Tframe
Thus, the time TROI_update required by a system to recalculate and update a ROI is given by
TROI_update=Tframe+Tproc+Tre-prog.
If ROI is updated in each new frame, the maximum frame-rate needs to be reduced by the processing time. Accordingly,
FRmax=1/TROI_update
Alternatively, a ROI calculated by processing an image captured in time instant t can only be updated for the image to be captured in the time instant t+N×Tframe where N≧Tprocessing/Tframe.
This embodiment of the present invention provides an approach capable of reducing the time required to re-calculate and update the ROI definition so that the ROI which is applied to readout the information of the frame captured in the time instant t is calculated by processing information in the same frame. This means that it is possible to achieve no latency at all. This is crucial for applications, such as 3D imaging based on laser triangulation, where the characteristics of the ROI may change drastically from image to image. Moreover, the position of the ROI is calculated independently for each column, providing ROIs with arbitrary shape, in contrast to the usual rectangular ROIs.
In particular, according to this embodiment of the invention, a circuitry is provided for determining a region of interest, ROI, within pixels of a sensor array. The ROI includes one or more pixels to be read-out from the sensor array by a second read-out circuitry. Moreover, the circuitry for determining ROI comprises a first read-out circuitry adapted for reading-out pixels from the sensor array faster than the second read-out circuitry, and a processing unit for determining the ROI based on the pixel read-out by the first read-out circuitry.
Advantageously, a first read-out step is performed by reading-out the entire pixel array 1910 at a high speed and with low accuracy using the fast-readout channel 1920. Although the accuracy of the fast read-out is lower compared to a regular reading-out of data, it is sufficient to, by means of processing the image data with an (for instance on-chip) array of image processors 1930, calculate the position of the ROI in the image. The position of the ROI is then fed back 1940 to the pixel array 1910 to mark the pixels that shall then be read-out with full accuracy using the accurate and slower readout channel 1950. The initial fast readout by the first, fast read-out channel 1920 is made in a non-destructive manner.
According to the embodiment of the present invention the row number for each column of the pixels containing the relevant information (i.e. pixels of the ROI) is possible to be calculated in the time given in the following equation 1:
Tfast_ro+Tproc+Tre-prog+Nrow_ROI×Trow<<Nrow×Trow (equation 1)
Wherein Tfast_ro is a time period spent for fast reading-out of the pixels for the purpose of determining the ROI by the first read-out circuit, Tproc and Tre-prog are time periods defined above spent for determining the ROI and re-programming the sensor array 1910, respectively.
Thus, an improvement factor K delivered by this embodiment of the present invention compared with the prior art may be estimated as follows:
Reasonable values for the parameters above in a 3D laser triangulation application are:
These example values result in a considerably high improvement factor of K≈25. It is noted that these parameter values are only exemplary and that, as is clear to those skilled in the art, other values may be selected and applied in accordance with the requirements of the application, the size of the sensor array, etc. The improvement factor defines the increase in frame-rate using the accurate (second) read-out channel that is possible to achieve by using the present invention compared to the prior art.
In order to enable the faster reading-out of pixels for determining the ROI, programming the ROI and the slower and more accurate reading ROI reading-out, the exemplary 5T (cf.
The modified pixel architecture is based on the original 5T architecture plus a modified control of the selection signal (denoted as SEL_PIX) which is generated (controlled) by means of the fast (first) read-out channel 1920 and a processing block 2230 placed at each column. As described above, the pixel selection signal SEL_PIX is typically generated by the row-selection circuit and is applied directly to the selection transistor for all pixels in a row, thereby selecting the row. It is to be noted that a sensor array may also be built to select columns instead of rows.
The selection of all pixels in a row by opening the selection transistor ensures that all pixels in the row are downloaded in parallel using the accurate (second) readout channel 2240 in this embodiment. In this embodiment of the present invention, the activation of the selection transistor Tsel is controlled by the logic module 2250 showed in
It is to be noted that the present embodiment may rely on the pixel architecture including the control means shown in any of the previously described embodiments. However, this is not to limit the present invention. In general, the present embodiment may work with any kind of architecture supporting storing in any form an identification of a ROI and reading-out only the pixels from the ROI. For instance, this embodiment may also work with the less flexible ROI definition approaches such as rectangular-ROI described with reference to
In this embodiment of the invention, the region of interest is defined automatically by processing the entire acquired image. In order to realize this processing in the shortest time possible, the present invention provides a fast (first) read-out channel 2220 allowing to read-out the entire image much faster than the usual approaches and using a non-destructive readout. Said faster readi out is achieved by using the fast read-out channel 2220 whose reduced accuracy is enough to determine the ROI, but would likely be insufficient for reading-out the pixel values for further processing.
Alternatively to the fast readout channel in the present invention, faster readout may be achieved, for instance, by shortening the integration time and/or reducing the time allocated for downloading the analog pixel data from the pixel to the analogue memories stopping the download process before is completed, and/or reducing the counting time of the ADC or, in other words limiting the time allocated to the A/D conversion to the required to obtain only the most significant bits of the pixel data, and/or using multiple read-out channels downloading in parallel several pixel rows.
Furthermore, a processing block 2230 which may be provided per column is configured to process the signal provided by the fast read-out channel 2220 and to detect which pixels fulfil one or several conditions, marking them to become a part of the ROI. The processing block 2230 is also configured to update the content of the in-pixel shift register block 2210.
In summary, the circuitry for determining the ROI advantageously has the processing unit configured to determine the ROI by detecting among the pixel values acquired by the first read-out circuitry those pixels which belong to the ROI based on a predefined condition, and to provide the determined ROI to the second read-out circuitry.
Moreover, the processing unit may include a comparator for detecting as pixels belonging to the ROI those pixels the value of which exceeds a predefined threshold.
The determining of the ROI is advantageously performed for each frame captured by the sensor array. However, in general, the present invention is not limited thereto and for some applications it may be advantageous to determine ROI only for a subset of all frames, for instance regularly with a predetermined or predefined time period (number of frames). This alternative may be advantageous for reducing the complexity and thus also the time necessary for determining the ROI.
Moreover, in order to make use of the adaptive ROI programming, an in-pixel shift-register 2210 allows reading-out a different ROI per column containing relevant information. As shown in above ROI programming embodiments, the programmable ROI definition may be provided in a flexible manner enabling different ROIs for different columns or by providing a ROI equal in size but not in position within different columns. The shift register block 2210 has two inputs, the first input (In1) for receiving the output of the shift register of the pixel in the adjacent row above (alternatively below) the current row. The second input (In2) serves for receiving data from the processing block 2230 shown in
Another signal input for the source selection signal SEL_REG selects the source of the data that is placed at the output of the shift register. For instance, the value of the source selection signal SEL_REG=0 may configure the pixel to use the input In1 from the shift register of the preceding pixel in the same column as the current pixel whereas SEL_INPUT=1 may configure the pixel to use the signal from the processing block 2230. The clock signal CLK_S controls the capturing of the new data. In particular, during the rising edge of the clock signal CLK_S, the data is acquired from the selected input In1 or In2 (according to the value of the source selection signal). At the falling edge, the acquired data is provided (set) to the output “out” of the shift register. The source selection signal SEL_REG is distributed to all pixels in a row so that the acquisition and writing of the data is performed simultaneously for all pixels in the row. This architecture of the shift register ensures reading out of only the pixels which belong to the ROI determined adaptively by means of the fast read-out channel (read-out circuitry) 2230.
In summary, a circuitry for configuring a region of interest within pixels of a sensor array is provided. The ROI includes one or more pixels to be read-out from the sensor array. The circuitry comprises a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array; and a control means for writing into the ROI storage means of the pixel the ROI indication in accordance with an input provided from the processing unit of the circuitry according to any of the examples and embodiments as described above.
Moreover, a read-out circuitry is provided for reading-out from a sensor array pixels of a region of interest. The read-out circuitry comprising: a signal storage means for storing per pixel a signal detected by the sensor; a ROI storage means for storing a ROI indication indicating that a pixel belongs to the region of interest of the sensor array in accordance with the input provided from the circuitry according to any of the embodiments and examples described above; a selection circuit for selecting at least one pixel to be read-out, the selection circuit being configured to read-out only pixels with the ROI indication indicating that said pixels belong to the region of interest; and a second read-out circuit for reading-out the signal storage means of pixels selected.
Furthermore, a sensor array circuitry for reading out a region of interest of a sensor array is provided. The sensor array circuitry comprises the circuitry for determining a region of interest according to any of the examples and embodiments described above, the circuitry for configuring the determined ROI as described above, and the circuitry for reading-out the pixels from the configured ROI as described above.
The sensor array circuitry advantageously further comprises a shift register, which includes a first input (In1) for receiving a signal from a ROI storage means of another pixel preceding said pixel within a line of pixels; a second input (In2) for receiving a signal provided by the processing block of the circuitry according to any of examples and embodiments described above; a control input for receiving a source selection signal (SEL_REG) controlling whether the first input or the second input is active; and an output (out) for shifting a signal received to a ROI storage of another pixel following said pixel within the line of pixels when the control input selects the first input, and for storing the signal received at the second input when the second input is selected.
The selection circuit is preferably configured for selecting the pixels to be read-out in accordance with the signal output from the shift register.
The selection circuit may be configured to select the pixels to be read-out only in accordance with the signal output from the shift register. The combination of the ROI determining circuitry with the second read-out circuitry which is configured to read-out only the pixels belonging to the determined ROI enables to discard the information irrelevant for the application, thereby reducing the amount of data to be read-out leading to a substantial increase of the frame rate. The time savings are schematically illustrated in
The speed of the read-out channel in the prior art defines the ultimate limit in the time required to download the information stored in a pixel from the pixel FD node to the (analogue) memory which can be placed at the bottom of the pixel column, inside the digital read-out channel 2240. Said pixel download time is determined by the driving capability of the source-follower buffer transistor 2260 inside the pixel and the equivalent capacitance 2290 of the column output line. Increasing the driving capability to fasten the pixel download requires larger source-follower buffer, which increases pixel size and decreases pixel sensitivity. To compensate both drawbacks pixel size is to be increased, which sets a clear trade-off between the maximum achievable read-out speed for a given pixel size.
In order to decouple read-out speed and the pixel size, according to an embodiment of the present invention the reading of the optically generated charge stored in the floating diffusion node FD is performed by using a fast read-out channel operating in a current mode as opposed to the voltage mode read-out typically used in the conventional readout channels. On the other hand, the voltage-mode read-out circuitry may advantageously still be used for the accurate readout channel 2240.
In the current mode, similar to the voltage mode, the signal stored in the capacitive storage FD is read-out and stored in the analog memory at the bottom of the column. However, while in voltage mode the speed of downloading the signal from the FD node to the analog memory depends on the driving capability of the source-follower buffer transistor inside the pixel, in current mode depends on the driving capability of a block which is not inside the pixel but at the bottom of the column; therefore it can be made much stronger without impacting pixel size or impacting noticeably to overall sensor power consumption.
Reading pixels in the current mode has several advantages compared with the traditional voltage-mode reading. First, as explained above, the speed of downloading the data from the pixel FD node to the analogue (capacitive) memory is not controlled by the driver in the pixel but by the readout circuitry which is at the bottom of the column and is common to all pixels in the column. This make possible increasing the speed without increasing the driving capability in the pixel and, therefore, keeping (maintaining) the pixel size.
In summary, advantageously, the first read-out circuitry of the circuit for determining the ROI works in current mode.
Second, when several pixels in one column are readout simultaneously (by selecting all of them together) the resulting current is the sum of the currents from all of the selected pixels. In contrast, the resulting voltage from the reading of all selected pixels corresponds to the average of the output voltages from the particular selected pixels as happens with the regular accurate voltage-mode readout channels. This difference between the current mode and the voltage mode provides for several advantages when applying the current mode or the fast read-out channel.
In applications like 3D laser triangulation, the ROI position in each column may be detected as the position containing pixels with a higher intensity within the column. Accordingly, the reading-out of the image in groups of pixels by adding their output current will result, on one hand, in a reduction in the total number of rows to be readout compared with reading out pixel by pixel, and on the other hand, on an improvement of the signal-to-noise ratio, thus simplifying the recognition of the ROI versus the background.
Moreover, more current means higher speed. Thus, the reading of pixels in groups allows increasing the speed of the reading-out and therefore also increasing the frame-rate when compared to reading-out in a row-by-row basis.
The current-mode circuitry preferably comprises a driver transistor of the PMOS type for providing a pixel current Ipix based on signal stored in a capacitive memory FD to the processing unit.
In
Using a PMOS type transistor in the pixel driver of the current-mode fast read-out channel makes bright pixels output a higher current. In this condition, the pixel driver transistor can be operated in such a way that dark pixels inject a very small current which helps to determine the ROI by better distinguishing between the bright and dark pixels.
In this mode, the current Ipix provided by the driver transistor 2460 is given by the following equation:
in which VSG is the source-to-gate voltage between the source node and the gate node, VT is the transistor threshold voltage, VSD is the source-to-drain voltage, VS is the source voltage, VFD is a voltage (the signal) stored in the floating diffusion node FD and βohmic is the ohmic bias applied. Hence, if both drain voltage (VD) and source voltage (VS) are constant, the current delivered by a pixel is determined by the gate voltage (VG) which has a linear relation with VFD.
In order to keep the voltage in the source of the driver transistor 2460 constant, a current conveyor 2410 is provided. The current conveyor here is a circuit component with two inputs, which delivers the same current Ipix present in one of its inputs whilst it keeps the voltage difference between both inputs virtually equal to zero.
Then, the equation 4 becomes as follows for the circuit of
Ipix=gΔVFD+IOFF,
wherein ΔVFD is the increment of voltage as a consequence of the photo-generated charge. i.e. the acquired signal, and can be expressed as follows:
ΔVFD=VFD−VFD0
Where VFD0 represents the voltage stored in the FD node after reset, which is the initial voltage in the FD node before the exposure.
IOFF is an offset of current independent from the pixel signal, and g is a gain.
By comparison with equation 4, g corresponds to:
g=βohmic(Vdd_sf−Vref) (equation 5)
wherein Vdd_sf is the source voltage of the driver transistor 2460 and Vref is a reference voltage at the second input of the current conveyor 2410.
Accordingly, IOFF becomes
As explained before the current-mode fast read-out channel provides a manner for further increasing of the read-out speed if several rows are selected simultaneously. The amount of the rows to be read-out in parallel depends on the application. In the particular case of the 3D laser triangulation, this number would be below 4, which is a typical laser width. With this technique of selecting and reading-out simultaneously a plurality of rows, the improvement factor K would go up to 50 if the rows are shorted in pairs (if always two rows are read-out in parallel).
The processing block 2430 correspond (or is a part of) the processing unit 2230 of
In the particular case of the 3D laser triangulation application, relevant information (the laser line) is represented by a peak of very bright pixels (low-level signal) whilst the background is often almost black (high-level signal). Hence, a simple current comparator may suffice in many cases as processing block to find out the ROI pixels. In addition, the current comparator also benefits of short-circuiting several rows for noise reduction and speed improvement. Moreover, given that the current comparator fixes the voltage difference amongst its inputs, the current conveyor is not required. As a result, a simple circuit can play the role of both fast read-out channel 2220 and the processing block 2230 as shown in
Advantageously, the circuitry for determining ROI comprises a current comparator. The current comparator may be implemented within the processing unit. However, the present invention is not limited to such arrangement. It is noted that the functional blocks of the fast read-out channel and the processing unit may be merged physically in one block which detects the ROI during the readout itself.
The first read-out circuitry is preferably configured to read-out two rows of pixels of the sensor array in parallel.
Alternatively, or in addition, the first read-out circuitry may be implemented in each column by means of a driver transistor per row providing a sum of currents from the pixels of the respective two rows to the comparator which is adapted to compare the sum with a threshold current ITH.
In the particular case of the 3D laser triangulation application, it is possible to deliver a low-precision laser location in the row as the result provided by the comparator 2510. The accuracy of this result is possibly low in terms of the number of pixels. Nevertheless, given that the comparator 2510 processes the entire image, relative accuracy is comparable to that obtained with the prior art for a reasonable number of pixels. This low-precision result can be obtained at a high speed, since the readout of the ROI is not required in this case.
Image acquisition in a sensor using the modified pixel and/or read-out channel architecture works as in the prior art. In fact, the present invention and in particular the ROI determining is applicable to any CMOS pixel regardless of its topology (pinned or conventional photodiode) and number of transistors.
During the image read-out phase the operation varies according to the above description. In the following, an example of operation of the above described pixel architecture is described.
The photo-diode PPD is operated as usual and the charge integrated by the PPD is transferred to the capacitive (analogue) memory implemented here by means of a floating diffusion node FD. The overall control circuit configures the sensor array into the fast readout mode by activating the signal F/nR as can be seen in
By means of the source selection signal SEL_REG the entire shift register is set to logic value 1, letting the pixel selection signal SEL_PIX control the connection of rows to the columns of the sensor. The overall control of the sensor handles then the pixel selection signal SEL_PIX so that all rows are sequentially connected to the fast read-out channel 2220. Then, each column line delivers a current proportional to the signal acquired by the pixel selected. The processing block 2230 processes the signal delivered by the fast read-out channel 2220, in order to detect which rows for each column match the condition or conditions defined to distinguish whether a pixel belongs to the ROI.
The output OUT of the processing unit 2230 is a digital signal which is fed back to the pixel array and which indicates that the pixel connected to the column in the current moment is a part of the ROI by writing a logic value of 1 into the shift register 2210 input In2 in the position given by the source selection signal SEL_REG. The source selection signal SEL_REG is timed in the same way as SEL_PIX. However, alternatively, a programmable offset between the source selection signal SEL_REG and pixel selection signal SEL_PIX is possible so that the ROI can contain some pixels before or after the actual one. This process is performed in parallel for all the columns in the image.
The overall control then configures the sensor into the ROI read-out mode by resetting the signal F/nR. In addition, the driver transistor 2260 is biased in saturation region, so that it works like a source follower, as in the prior art. The source selection signal SEL_REG signal is not activated during the ROI readout so that input In1 is active rather than the input In2 in the shift register 2210.
The ROI determined in the fast read-out mode is then read-out in the ROI read-out mode via the accurate read-out channel 2240.
In particular,
Summarizing, in addition to providing a ROI programming circuit and a ROI reading-out circuit, the present invention provides a modified CMOS sensor architecture to implement the auto-ROI function, by which the sensor automatically calculates a ROI per column or per image before actually reading-out the actual image from the sensor. The modified pixel architecture is capable of implementing both the fast, current-mode read-out and the accurate, voltage-mode ROI storage read-out. The inclusion of processing circuitry per column to automatically obtain the ROI position from the current delivered by the fast readout channel enables efficient automatic ROI updating. This is particularly suitable for applications of laser triangulation sensors. However, it is not limited thereby and the present application is in general applicable to any kind of sensing (imaging) application. The laser triangulation application allows for some simplified and efficient implementations such as the above described architecture for low-accuracy calculation of the laser peak for triangulation sensors including a comparator and reading out a plurality of rows in parallel.
It is to be noted that the implementation of the ROI determining is not limited to the example architecture of
Then, as in the original architecture, pulsing the clock signal CLK (corresponding to CLK_R in
This embodiment of the present invention works as follows. The photo-diode PPD is operated as usual, and the charge integrated within it is transferred to the FD node (analogue memory) when the exposure time terminates. The overall control sets the sensor in the fast read-out mode by activating the signal F/nR. This makes the sensor control circuitry to program the pixel operation in the fast mode, biasing the driver transistor as also in the example above in the ohmic mode and connect the fast readout channel to the column line.
The entire shift-register (of all pixels) 2810 is set to logic 0 to initialize. Then all source selecting SEL_REG signals in the entire sensor array are set to logic 0 and a complete pulse (rise and fall) is applied to the clock “CLK” signal at the input of the shift register. After this process, all selection transistors Tsel will be inactive, and any driver transistor 2860 will be unconnected to the column output line 2802. The source selection signal SEL_REG will then configure the shift register module 2810 to acquire the data from the In1 input. This configures the shift register modules 2810 in every pixel as a complete shift register per column.
The input In1 of the first row is fixed to “1” in order to program a logic 1 into the shift register 2810 and a pulse is applied to CLK input of the shift registers in the first row. This activates the Tsel transistors and connects the driver transistor 2860 of the first row to the column line 2802. Once the first logic 1 has been injected into the shift register 2810, the In1 input of the first row is changed to “0” in order to avoid introducing any other logic 1 into the shift register 2810 during the frame read-out of the first frame.
The fast readout channel 2820 reads the data corresponding to the first row of pixels and the processing block 2830 processes the data from such first pixel row. Then the source selection signal SEL_REG of the first row is switched to allow the shift register capturing the data from the input column 2804. These data will not be captured until CLK signal for such row rises, and is not set to the output of the shift register until the CLK signal falls. Every new time needed to readout a row in the fast mode (T_row_fast), the process is repeated for the other, next row. Then, the row is connected to the output and its data are readout by the fast read-out circuit 2820. After this, every row is reconfigured to read the data from the input column 2804 and its clock (CLK) remain static, avoiding capturing any new data into the shift register module.
The processing blocks 2830 processes the reading information and takes the decision on whether one pixel in a row is interesting to be considered as part of the ROI or not. If this block detects the beginning of the ROI, it sets the ROI storage of the detected beginning pixel to logic 1 in the column input 2804. At the same time, a number of rows above as defined by the user, is activated rising the corresponding clock signal CLK only for such rows. The previous results in writing the pointer that marks the ROI beginning in the shift register blocks, but this data do not connect these respective pixels to the output until the CLK clock signal edge falls. This process continues row by row until the last row is read-out in the fast read-out mode. As soon as the fast read-out phase is finished, all CLK signals in all rows fall and the corresponding pixels are connected to the columns 2402. This is the end of the fast read-out stage.
When the fast read-out phase is terminated, the overall control of the sensor array configures the sensor into the ROI read-out mode (the accurate read-out mode). In addition, the driver transistor 2860 is biased in its saturation region, so that it works like a source follower. The source selection signal SEL_REG is not activated during the ROI read-out phase. The pixels from the ROI determined (calculated) as described above is read-out via the accurate read-out channel 2840. For the normal operation, the source selection signal SEL_REG is set to select the first input In1 in the entire array. This setting configures the shift register modules 2810 as a single column size shift register. At the same time, the first input In1 of the shift register 2810 for the first column is set to “0”, in order to avoid activating of other pixels different to those selected as belonging to the ROI.
Every TROW which is the time for the accurate read-out of a row of the ROI, the clock signal CLK for the entire array is pulsed (rise and fall), which moves the pointers of the pixels that must be connected to the respective columns in the row to one row below. This process is repeated the number of times equal to the height of the ROIs in pixels detected in the fast read-out mode.
Another extension of this embodiment of the present invention allows defining and reading out multiple ROIs per column. In such a case the shift register 2210 in
In this way, when the shift register 2910 in bypass-mode receives logic “1” during the ROI read-out, it automatically passes to the next shift-register, and this process continues until it reaches the next row's shift-register in the column, which is not in the bypass mode. At this point the ROI read-out continues normally as described above. Finally, the value “bypass_in” is mapped into “bypass_out”, negated and connected as a third input of the logic AND gate present in the pixel so that bypassed pixels never connect to the output line, even when the SEL signal is set to logic “1”.
In summary, the sensor array circuitry advantageously includes the shift register with a bypass storage means for storing a bypass indication for a pixel indicating by a predefined value that said pixel is to be skipped during reading-out; an input for receiving a bypass signal corresponding to the bypass indication, and the shift register is configured to transfer the signal from its selected input to its output upon receiving the bypass signal with the predefined value.
In accordance with another embodiment of the invention, a method is provided for determining a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels to be read-out in a second read-out step from the sensor array, the method comprising the following steps performed for one pixel: first reading-out pixels from the sensor array faster than the second read-out step, and processing for determining whether the pixel read-out by the first reading-out step belongs or not to the ROI based on the read-out pixel value.
The top right part of
The bottom part of
Accordingly, a method is provided for reading out pixels from a region of interest, ROI, within pixels of a sensor array, the ROI including one or more pixels, the method comprising the steps of determining the ROI according to claim 13 for all pixels in the sensor array including the steps of the first reading-out of the pixels and their processing; storing an information identifying the ROI determined; and based on the stored information a second reading-out step for reading out only pixels belonging to the ROI identified by the stored information.
The steps of first reading-out, processing, and storing may be performed for one line of pixels at least partially in parallel.
It is to be noted that the ROI determining approach may be used irrespectively of the following ROI writing and ROI reading-out approaches. Moreover, the ROI programming and reading-out may work independently of the particular ROI determination approach. The ROI may even be predefined or determined in another way as described above. Moreover, the determining may be performed for each frame but it does not need to be performed for each frame—this is mainly given by the requirements of the application. For instance, the ROI updating may be performed each M frames wherein M is an integer from 1 to the number of frames in the sequence of frames. The examples described with reference to the figures refer to the architecture where rows are selected and columns are read-out row by row. However, this may be also exchanged. The term “line” of pixels used in some parts of the description above refers to either of row and column.
Another embodiment of the invention relates to implementation of the above described various embodiments using hardware and software. It is recognized that the various embodiments of the invention may be implemented or performed using computing devices (processors). A computing device or processor may be for instance a general purpose processor, a digital signal processor, application specific integrated circuit, field programmable gate array or another programmable logic device. The various forms of the invention may also be performed or embodied by a combination of these devices.
Summarizing, the present invention relates to reading-out sensor array pixels. In particular, the present invention provides an approach according to which only a region of interest is may be read out from the sensor array, thus leading to substantial time savings.
In order to achieve this, in accordance with an embodiment of the invention, a circuitry for configuring a region of interest for the sensor array is provided as well as a reading-out circuitry for reading-out pixels belonging to the region of interest. In addition, the corresponding methods for programming the region of interest and for reading-out the region of interest are provided. The circuitry for programming and/or reading-out the region of interest includes per pixel provided storage elements for storing an indication of whether a pixel belongs to a region of interest (ROI). These are configured by the programming circuitry and using when reading-out the ROI for only reading out the pixels of the ROI.
In accordance with another embodiment of the present invention, a circuitry is provided for automatic determining of a ROI and reading out the ROI from the sensor array. The circuitry includes a fast reading-out circuitry which is less precise but faster than the accurate reading-out circuitry for reading-out the pixels of the sensor array. The fast reading-out circuitry reads out the pixels with low-level precision and determines by the processing of the fast read-out pixels the ROI which is then provided to a ROI programming circuit for storing the ROI identification and by means thereof to the accurate reading-out circuit which then reads out only the pixels determined to belong to the ROI. The accurate read-out circuit is slower than the fast read-out circuit.
Number | Date | Country | Kind |
---|---|---|---|
13152740 | Jan 2013 | EP | regional |
13152741 | Jan 2013 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2014/051388 | 1/24/2014 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2014/114740 | 7/31/2014 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6486912 | Aizawa et al. | Nov 2002 | B1 |
7492398 | Norita et al. | Feb 2009 | B1 |
7920170 | Sonoda | Apr 2011 | B2 |
8174601 | Compton | May 2012 | B2 |
20020036300 | Pain | Mar 2002 | A1 |
20030108083 | Seitz | Jun 2003 | A1 |
20040095492 | Baxter et al. | May 2004 | A1 |
20040141067 | Nakayama et al. | Jul 2004 | A1 |
20040227828 | Loose | Nov 2004 | A1 |
20080226170 | Sonoda | Sep 2008 | A1 |
20090066782 | Choi et al. | Mar 2009 | A1 |
20130099099 | Anaxagoras | Apr 2013 | A1 |
20130308031 | Theuwissen | Nov 2013 | A1 |
Number | Date | Country |
---|---|---|
1686789 | Aug 2006 | EP |
2538665 | Dec 2012 | EP |
H11-275468 | Oct 1999 | JP |
2003-526231 | Sep 2003 | JP |
2003-304451 | Oct 2003 | JP |
2004-180240 | Jun 2004 | JP |
2008-228232 | Sep 2008 | JP |
2010-282135 | Dec 2010 | JP |
2012-129709 | Jul 2012 | JP |
0051345 | Aug 2000 | WO |
03081899 | Oct 2003 | WO |
2006008553 | Jan 2006 | WO |
2007136764 | Nov 2007 | WO |
Entry |
---|
Reason for Refusal dated Nov. 8, 2017 during the prosecution of Japanese Patent Application No. 2015-554155 in Japanese language and English Translation Thereof, 14 pages. |
Notification of Reasons for Refusal Issued in Japanese Patent Application No. 2015-554156 dated Nov. 21, 2017 and English Translation Thereof, 8 pages. |
Number | Date | Country | |
---|---|---|---|
20150365610 A1 | Dec 2015 | US |