Methods for correcting bad pixels and apparatuses using the same
AssigneeVia Alliance Semiconductor Co., Ltd.
InventorWeiman Kong
Life of this patent
Estimating the term…
Abstract
A method for correcting bad pixels, performed by a processing unit, at least contains: reading a block of a frame; labeling each pixel of the block as a good pixel, a weak pixel, or a bad pixel; detecting a weak-pixel pair from the block, which includes two pixels labeled as weak pixels; re-labeling the pixels of the weak-pixel pair as bad pixels converted from weak pixels; and correcting the pixels labeled as the bad pixels, and the bad pixels converted from weak pixels.
Claims20
A method for correcting bad pixels, performed by a processing unit, the method comprising:
- reading a block of a frame;
- labeling each pixel of the block as a good pixel, a weak pixel, or a bad pixel;
- detecting a weak-pixel pair from the block, wherein the weak-pixel pair includes two pixels labeled as weak pixels;
- re-labeling the pixels of the weak-pixel pair as bad pixels converted from weak pixels;
- and
- correcting the pixels labeled as the bad pixels, and the bad pixels converted from weak pixels,
- wherein the step of labeling each pixel of the block as a good pixel, a weak pixel, or a bad pixel is performed according to information indicating a total amount of surrounding pixels of a full-channel block, which significantly differ from said pixel, and a total amount of surrounding pixels of a same-channel block, which significantly differ from said pixel.
An apparatus for correcting bad pixels, comprising:
- a camera module controller, coupled to a camera module;
- a processing unit, coupled to the camera module controller, obtaining a frame via the camera module controller;
- reading a block from the frame;
- labeling each pixel of the block as a good pixel, a weak pixel, or a bad pixel;
- detecting a weak-pixel pair from the block, wherein the weak-pixel pair includes two pixels labeled as weak pixels;
- re-labeling the pixels of the weak-pixel pair as bad pixels converted from weak pixels;
- and correcting the pixels labeled as the bad pixel, and the bad pixels converted from weak pixels,
- wherein the processing unit labels each pixel of the block as the good pixel, the weak pixel, or the bad pixel according to information indicating a total amount of surrounding pixels of a full-channel block, which significantly differ from said pixel, and a total amount of surrounding pixels of a same-channel block, which significantly differ from said pixel.
Dependencies are inferred from the claim text.