发明名称 Method of color correction of pair of colorful stereo microscope images
摘要 A method for color correction of a pair of colorful stereo microscope images is provided, which transmits the color information of the foreground areas and the background area of the reference image to the aberrated image separately for avoiding transmission error of the color information of the varied areas of the pair of the images, thus sufficiently improves the accuracy of the color correction, reduces the difference between the color of the reference image and the color of the aberrated image, and well prepares for the stereo matching of the pair of colorful stereo microscope images as well as for the three-dimensional reconstruction and three-dimensional measurement; on the other hand, during the correction, the correcting procedure is provided automatically without manual work.
申请公布号 US2014169661(A1) 申请公布日期 2014.06.19
申请号 US201314030948 申请日期 2013.09.18
申请人 Ningbo University 发明人 Jiang Gangyi;Liu Xiangjun;Yu Mei;Shao Feng;Peng Zongju;Wang Yigang
分类号 G06K9/62;G06T7/00;G06T5/40 主分类号 G06K9/62
代理机构 代理人
主权项 1. A method for color correction of a pair of colorful stereo microscope images, comprising steps of: a) taking a first image of a pair of the colorful stereo microscope images in the RGB color space as a reference image Iref, and taking a second image of the pair of the colorful stereo microscope images in the RGB color space as an uncorrected image Isou; b) obtaining a first saliency map of the reference image Iref and a second saliency map of the uncorrected image Isou, wherein the first saliency map is marked as SaliencyMapref and the second saliency map is marked as SaliencyMapsou; obtaining a first segmentation map of the reference image Iref and a second segmentation map of the uncorrected image Isou with the first saliency map of the reference image Iref and the second saliency map of the uncorrected image Isou respectively, wherein the first segmentation map is marked as BMapref and the second segmentation map is marked as BMapsou, wherein the BMapref and the BMapsou all comprise a plurality of foreground areas, the i′th foreground area of the BMapref is marked as BMapi′ref′, and the i′th foreground area of the BMapsou is marked as BMapi′sou′, wherein, 1≦i′≦I′, the I′ is the number of the foreground areas of the BMapref or the BMapsou; c) calculating histograms, normalized histograms and cumulative histograms of a luminance component Y, a first chroma component Cb and a second chroma component Cr for each the foreground area of the BMapref in the YCbCr color space, and calculating the histograms, the normalized histograms and the cumulative histograms of the luminance component Y, the first chroma component Cb and the second chroma component Cr for each the foreground area of the BMapsou in the YCbCr color space; d) calculating color histograms for each the foreground area of the BMapref and the BMapsou in the RGB color space; e) for each the foreground area of the BMapref, calculating a similarity value of the color histogram of the foreground area of the BMapref and the color histogram of the corresponding foreground area of the BMapsou, and judging whether the foreground area of the BMapref is marching with the corresponding foreground area of the BMapsou or not from the similarity value of the color histograms of the two marching foreground areas; f) for each pair of the foreground area of the BMapref and the marched foreground area of the BMapsou, calculating transfer functions with respect to a luminance component Y, a first chroma component Cb and a second chroma component Cr of the pair, and correcting the luminance component Y, the first chroma component Cb and the second chroma component Cr of the area of the uncorrected image Isou corresponding to the marched foreground area of the BMapsou according to the transfer functions with respect to the luminance component, the first chroma component and the second chroma component of the foreground area of the BMapref and the marched foreground area of the BMapsou; g) calculating the histograms, the normalized histograms and the cumulative histograms of the luminance component Y, the first chroma component Cb and the second chroma component Cr of the background area of the BMapref in the YCbCr color space, and calculating the histograms, the normalized histograms and the cumulative histograms of the luminance component Y, the first chroma component Cb and the second chroma component Cr of the background area of the BMapsou in the YCbCr color space; h) calculating transfer functions with respect to the luminance component, the first chroma component and the second chroma component of the background area of the BMapref and the background area of the BMapsou, and correcting the luminance component Y, the first chroma component Cb and the second chroma component Cr of the area of the uncorrected image Isou corresponding to the background area of the BMapsou according to the transfer functions with respect to the luminance component, the first chroma component and the second chroma component of the background areas of the BMapref and the BMapsou; and i) combining the luminance component, the first chroma component and the second chroma component of each corrected area of the uncorrected image for obtaining an corrected image.
地址 Ningbo CN