Method for compressing image, image compressing device and mobile terminal

Method for compressing image, image compressing device and mobile terminal

  • CN 102,497,489 B
  • Filed: 12/05/2011
  • Issued: 11/18/2015
  • Est. Priority Date: 12/05/2011
  • Status: Active Grant
First Claim
Patent Images

1. a method for compressing image, comprising:

  • Carrying out Image Edge-Detection by treating compressed image, determining the non-edge part of described image to be compressed;

    Based on the similitude of the pixel color in each determined non-edge part, this non-edge part is divided into multiple pixel connected region, and described pixel connected region forms by the pixel chosen when dividing pixel connected region and with the color similarity of this pixel chosen and the pixel of continuous adjacent;

    The color of the pixel chosen when each pixel connected region being divided is set to the color of this pixel connected region;

    Based on the similitude of the color of the described multiple pixel connected regions marked off, merge the color of described multiple pixel connected region, the pixel connected region wherein with Similar color is merged into one to be had and the described pixel connected region with the color same color of a pixel connected region in the pixel connected region of Similar color;

    AndUtilize the color of each pixel connected region obtained after merging, the respective pixel connected region in described image to be compressed is compressed;

    Wherein, the similitude of described color is determined by the difference calculated between two colors, if the difference between two colors is less than one require default threshold value according to image compression, then thinks that described two colors are similar.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×