Patent ID: 7443397

Claim:
A transforming apparatus, according to a transforming curve, for transforming a first image into a second image, the first image comprising a plurality of pixels, the transforming apparatus comprising: a differentiating module, according to a predetermined value, for transforming the transforming curve into a plurality of sub-curves; a first transforming module for generating a plurality of straight lines corresponding to the sub-curves; an adjusting module, according to the sub-curves, the straight lines and a predetermined threshold, for adjusting the straight lines to generate a plurality of approximate lines, the adjusting module comprising: a determining module for comparing the predetermined threshold with a first sub-curve of the sub-curves and a first straight line of the straight lines to determine a maximum range, so as to generate a transforming parameter; and an approximating module, according to the transforming parameter, for transforming the first straight line into a first approximate line of the anproximate lines, correspondingly; and a second transforming module, according to the approximate lines and the pixels of the first image, for generating the second image.