CN105609087B - A kind of method of image sealer processing image - Google Patents

A kind of method of image sealer processing image Download PDF

Info

Publication number
CN105609087B
CN105609087B CN201510972510.XA CN201510972510A CN105609087B CN 105609087 B CN105609087 B CN 105609087B CN 201510972510 A CN201510972510 A CN 201510972510A CN 105609087 B CN105609087 B CN 105609087B
Authority
CN
China
Prior art keywords
image
processing
output
sealer
width
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510972510.XA
Other languages
Chinese (zh)
Other versions
CN105609087A (en
Inventor
戴林
刘志忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tiandi Weiye Technology Co Ltd
Original Assignee
Tiandi Weiye Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tiandi Weiye Technology Co Ltd filed Critical Tiandi Weiye Technology Co Ltd
Priority to CN201510972510.XA priority Critical patent/CN105609087B/en
Publication of CN105609087A publication Critical patent/CN105609087A/en
Application granted granted Critical
Publication of CN105609087B publication Critical patent/CN105609087B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/37Details of the operation on graphic patterns
    • G09G5/373Details of the operation on graphic patterns for modifying the size of the graphic pattern
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/391Resolution modifying circuits, e.g. variable screen formats

Abstract

The invention discloses a kind of methods of image sealer processing image, the resolution ratio of input picture is identified first, when the width of input image resolution or height are greater than the width and height limitation of image sealer processing input picture, divided and carry out diminution processing, is finally output to memory and completely export;When image sealer output is greater than the output image of its processing output image resolution ratio width and height limitation, is divided and amplify processing, be finally output to memory and completely export.The present invention breaches the inherent limitations of image sealer itself, sufficiently meet requirement of the user to anticipated output image size, a kind of effective method is provided to meet the scaling processing of image in the big resolution ratio field such as safety monitoring and intelligent transportation, the big image in different resolution that will be inputted is realized to be exported after processing as expected small image in different resolution, small image in different resolution will be inputted and smoothly export expected big image in different resolution, image fault is small, approaches input picture.

Description

A kind of method of image sealer processing image
Technical field
The invention belongs to the technical fields of image procossing, and in particular to a kind of method of image sealer processing image.
Background technique
In intelligent transportation field, the image resolution ratio of all-in-one machine output is increasing, and handles for big image in different resolution Demand be consequently increased.
Existing image is zoomed in or out often through DMA(Directional Memory Access, direct memory Access)The mode of copy realizes that, although this method is simple, effective, this method is directly copied to sacrifice picture quality as cost Shellfish inevitably causes sawtooth sense at picture material mutation obvious.
Although can be with the image of output smoothing using image sealer, image sealer be to the resolution ratio output and input There is its intrinsic limitation, is more suitable for handling the image of small resolution ratio.
Summary of the invention
The shortcomings that present invention is to overcome in the prior art, and a kind of side of image sealer processing image proposed Method.
The technical scheme is that:
A kind of method of image sealer processing image of the invention, steps of the method are:
I identifies the resolution ratio of input picture first, and the resolution ratio and image sealer for comparing input picture handle image Width and height limitation after processing, export downscaled images or enlarged drawing;
II is greater than the width and height of image sealer processing input picture when the width or height of input image resolution When limitation, input picture is divided, then diminution processing is carried out to the image block after segmentation, it is finally that the image for reducing processing is defeated Same memory is arrived out, exports complete downscaled images;
III when image sealer output is greater than the output image of its processing output image resolution ratio width and height limitation, Image segmentation will be exported, then processing is amplified to the image block after segmentation, will finally be output to the image of enhanced processing together One piece of memory, exports complete enlarged drawing.
The beneficial effects of the invention are as follows:
The present invention breaches the inherent limitations of image sealer itself, sufficiently meets user to anticipated output image size It is required that providing a kind of effective side to meet the scaling processing of image in the big resolution ratio field such as safety monitoring and intelligent transportation Method realizes the big image in different resolution that will be inputted and is exported after processing as expected small image in different resolution, will input small resolution Expected big image in different resolution is exported to rate image smoothing, image fault is small, approaches input picture.
Detailed description of the invention
Fig. 1 is flow diagram of the present invention to input picture processing method;
Fig. 2 is flow diagram of the present invention to output image processing method.
Specific embodiment
Hereinafter, technical solution of the present invention is described in detail referring to accompanying drawings and embodiments:
As shown in Figs. 1-2, the method for a kind of image sealer of the invention processing image, steps of the method are:
I identifies the resolution ratio of input picture first, and the resolution ratio and image sealer for comparing input picture handle image Width and height limitation after processing, export downscaled images or enlarged drawing;
II is greater than the width and height of image sealer processing input picture when the width or height of input image resolution When limitation, input picture is divided, then diminution processing is carried out to the image block after segmentation, it is finally that the image for reducing processing is defeated Same memory is arrived out, exports complete downscaled images;
III when image sealer output is greater than the output image of its processing output image resolution ratio width and height limitation, Image segmentation will be exported, then processing is amplified to the image block after segmentation, will finally be output to the image of enhanced processing together One piece of memory, exports complete enlarged drawing.
Described image scaler is to input picture processing method, when the width of the input image resolution of input picture scaler When degree or height are greater than the width and height limitation of image sealer processing input picture, need to reduce input picture, export The width of input picture and the downscaled images of height limitation are handled less than or equal to image sealer, the specific steps are:
I is greater than the width limitation of image sealer processing input picture when the width of input image resolution, and inputs figure When being less than the height limitation of image sealer processing input picture as the height of resolution ratio, image sealer is vertical by input picture It is divided into two breadth degree of left and right and the identical image of height, then diminution processing is carried out respectively to the two images after segmentation, finally The two images for reducing processing are respectively corresponded to the left and right two parts for being output to same memory, export complete downscaled images;
II is greater than the height limitation of image sealer processing input picture when the height of input image resolution, and inputs figure When being less than the width limitation of image sealer processing input picture as the width of resolution ratio, image sealer is horizontal by input picture It is divided into two breadth degree and the identical image of height up and down, then diminution processing is carried out respectively to the two images after segmentation, finally The two images for reducing processing are respectively corresponded to the two parts up and down for being output to same memory, export complete downscaled images;
III is all larger than the width and height of image sealer processing input picture when the width and height of input image resolution When degree limitation, image sealer is by input picture vertical segmentation and is horizontally divided into upper left, four breadth degree of lower-left, upper right and bottom right Image identical with height, then diminution processing is carried out respectively to four width images after segmentation, it will finally reduce four width figures of processing As respectively corresponding the upper left for being output to same memory, lower-left, upper right and the part of bottom right four, complete downscaled images are exported.
Described image scaler to output image processing method, when the image resolution ratio of input picture scaler width or Height is less than or equal to the width and height limitation of image sealer processing output image, and needs to export and be greater than image scaling When device handles the output image of the width and height limitation that export image, image is amplified, output is greater than image sealer and handles The width of image and the enlarged drawing of height limitation are exported, the specific steps are:
I is greater than the output image of its processing output image resolution ratio width limitation when image sealer output, and exports figure When being less than the height limitation of image sealer processing output image as the height of resolution ratio, it is vertical that image sealer will export image It is divided into two breadth degree of left and right and the identical image of height, then processing is amplified respectively to the two images after segmentation, finally The two images of enhanced processing are respectively corresponded to the left and right two parts for being output to same memory, export complete enlarged drawing;
II is greater than the output image of its processing output image resolution ratio height limitation when image sealer output, and exports figure When being less than the width limitation of image sealer processing output image as the width of resolution ratio, image sealer will export image level It is divided into two breadth degree and the identical image of height up and down, then processing is amplified respectively to the two images after segmentation, finally The two images of enhanced processing are respectively corresponded to the two parts up and down for being output to same memory, export complete enlarged drawing;
III when image sealer output be greater than its processing output image resolution ratio width and height limitation output image when, Image sealer will export image vertical segmentation and be horizontally divided into upper left, lower-left, upper right and four breadth degree of bottom right and height phase Same image, then processing is amplified respectively to four width images after segmentation, it is finally that four width images of enhanced processing are right respectively It should be output to upper left, lower-left, upper right and the part of bottom right four of same memory, export complete enlarged drawing.
The present invention breaches the inherent limitations of image sealer itself, sufficiently meets user to anticipated output image size It is required that providing a kind of effective side to meet the scaling processing of image in the big resolution ratio field such as safety monitoring and intelligent transportation Method realizes the big image in different resolution that will be inputted and is exported after processing as expected small image in different resolution, will input small resolution Expected big image in different resolution is exported to rate image smoothing, image fault is small, approaches input picture.
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, though The right present invention has been described by way of example and in terms of the preferred embodiments, however, being not intended to limit the invention, any technology people for being familiar with this profession Member can make a little change or modification using the technology contents disclosed certainly without departing from the scope of the present invention, at For the equivalent embodiment of equivalent variations, but anything that does not depart from the technical scheme of the invention content, according to the technical essence of the invention Any simple modification, equivalent change and modification to the above embodiments, belong in the range of technical solution of the present invention.

Claims (3)

1. a kind of method of image sealer processing image, steps of the method are:
I identifies the resolution ratio of input picture first, compares the resolution ratio of input picture and the width of image sealer processing image With height limitation, after processing, downscaled images or enlarged drawing are exported;
II is greater than the width and height limitation of image sealer processing input picture when the width or height of input image resolution When, input picture is divided, then diminution processing is carried out to the image block after segmentation, is finally output to the image for reducing processing Same memory exports complete downscaled images;
III when image sealer output is greater than the output image of its processing output image resolution ratio width and height limitation, will be defeated Image segmentation out, then processing is amplified to the image block after segmentation, the image of enhanced processing is finally output to same Memory exports complete enlarged drawing.
2. a kind of method of image sealer processing image according to claim 1, it is characterised in that:Image sealer pair Input picture processing method the specific steps are:
I is greater than the width limitation of image sealer processing input picture, and input picture point when the width of input image resolution When the height of resolution is less than the height limitation of image sealer processing input picture, image sealer is by input picture vertical segmentation For the left and right two breadth degree and identical image of height, then diminution processing is carried out respectively to the two images after segmentation, it finally will contracting The two images of small processing respectively correspond the left and right two parts for being output to same memory, export complete downscaled images;
II is greater than the height limitation of image sealer processing input picture, and input picture point when the height of input image resolution When the width of resolution is less than the width limitation of image sealer processing input picture, image sealer is by input picture horizontal segmentation For upper and lower two breadth degree and the identical image of height, then diminution processing is carried out respectively to the two images after segmentation, it finally will contracting The two images of small processing respectively correspond the two parts up and down for being output to same memory, export complete downscaled images;
When the width and height of input image resolution are all larger than, image sealer handles the width of input picture to III and height limits When processed, image sealer is by input picture vertical segmentation and is horizontally divided into upper left, lower-left, upper right and four breadth degree of bottom right and height Identical image is spent, then diminution processing is carried out respectively to four width images after segmentation, will finally reduce the four width images point of processing It Dui Ying be output to upper left, lower-left, upper right and the part of bottom right four of same memory, export complete downscaled images.
3. a kind of method of image sealer processing image according to claim 1, it is characterised in that:Image sealer pair Export image processing method the specific steps are:
I is greater than the output image of its processing output image resolution ratio width limitation when image sealer output, and exports image point When the height of resolution is less than the height limitation of image sealer processing output image, image sealer will export image vertical segmentation For the left and right two breadth degree and identical image of height, then processing is amplified to the two images after segmentation respectively, will finally put The two images handled greatly respectively correspond the left and right two parts for being output to same memory, export complete enlarged drawing;
II is greater than the output image of its processing output image resolution ratio height limitation when image sealer output, and exports image point When the width of resolution is less than the width limitation of image sealer processing output image, image sealer will export image level segmentation For upper and lower two breadth degree and the identical image of height, then processing is amplified to the two images after segmentation respectively, will finally put The two images handled greatly respectively correspond the two parts up and down for being output to same memory, export complete enlarged drawing;
III is when image sealer output is greater than the output image of its processing output image resolution ratio width and height limitation, image Scaler will export image vertical segmentation and be horizontally divided into upper left, lower-left, upper right and four breadth degree of bottom right and height it is identical Image, then processing is amplified respectively to four width images after segmentation, finally four width images of enhanced processing are respectively corresponded defeated Upper left, lower-left, upper right and the part of bottom right four for arriving same memory out, export complete enlarged drawing.
CN201510972510.XA 2015-12-23 2015-12-23 A kind of method of image sealer processing image Active CN105609087B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510972510.XA CN105609087B (en) 2015-12-23 2015-12-23 A kind of method of image sealer processing image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510972510.XA CN105609087B (en) 2015-12-23 2015-12-23 A kind of method of image sealer processing image

Publications (2)

Publication Number Publication Date
CN105609087A CN105609087A (en) 2016-05-25
CN105609087B true CN105609087B (en) 2018-11-16

Family

ID=55988975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510972510.XA Active CN105609087B (en) 2015-12-23 2015-12-23 A kind of method of image sealer processing image

Country Status (1)

Country Link
CN (1) CN105609087B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190387165A1 (en) * 2018-06-07 2019-12-19 Eys3D Microelectronics, Co. Image device for generating depth images and related electronic device
CN111083366B (en) * 2019-12-25 2021-04-02 眸芯科技(上海)有限公司 Image processing method, device and system based on data segmentation
CN113055675A (en) * 2019-12-26 2021-06-29 西安诺瓦星云科技股份有限公司 Image transmission method and device and video processing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200511047A (en) * 2003-01-27 2005-03-16 Vincent Wen-Jeng Lue Method and apparatus for adapting web contents to different display area dimensions
CN103581673A (en) * 2012-08-07 2014-02-12 上海算芯微电子有限公司 Video data compression or decompression method and system
CN103685859A (en) * 2012-09-12 2014-03-26 瑞昱半导体股份有限公司 Image processing method, image output processing method and image receiving processing method
CN104361559A (en) * 2014-11-12 2015-02-18 惠州Tcl移动通信有限公司 Image magnifying method and system based on small image memory
CN104952425A (en) * 2015-07-21 2015-09-30 京东方科技集团股份有限公司 Display substrate, display device and display substrate resolution adjustment method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200511047A (en) * 2003-01-27 2005-03-16 Vincent Wen-Jeng Lue Method and apparatus for adapting web contents to different display area dimensions
CN103581673A (en) * 2012-08-07 2014-02-12 上海算芯微电子有限公司 Video data compression or decompression method and system
CN103685859A (en) * 2012-09-12 2014-03-26 瑞昱半导体股份有限公司 Image processing method, image output processing method and image receiving processing method
CN104361559A (en) * 2014-11-12 2015-02-18 惠州Tcl移动通信有限公司 Image magnifying method and system based on small image memory
CN104952425A (en) * 2015-07-21 2015-09-30 京东方科技集团股份有限公司 Display substrate, display device and display substrate resolution adjustment method

Also Published As

Publication number Publication date
CN105609087A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN105609087B (en) A kind of method of image sealer processing image
CN104200427B (en) A kind of method for eliminating image border sawtooth
CN110428382B (en) Efficient video enhancement method and device for mobile terminal and storage medium
JP2007535066A (en) Image processing apparatus and method
US10410326B2 (en) Image anti-aliasing system
CN106886981A (en) Image edge enhancement method and system based on rim detection
US8437572B2 (en) Method for sharpness enhancing an image
CN103714523A (en) Image sharpening system and image sharpening method on basis of Kirsch operators
CN103559690B (en) Method for achieving smoothness of image edges
CN103716511A (en) Image sharpening system and method based on Prewitt operator
CN106951855A (en) Document positions and torn open blanking method in a kind of picture
CN105279732B (en) A kind of method and system applying to the quick deformation of flat image
CN105760177A (en) Control text arrangement and display method and device applicable to Mac system
CN103258318A (en) Method and system for image noise reduction processing
CN101833781B (en) Method for automatically completing hidden parts of similar objects based on geometric information
Kwon et al. Comparison of FPGA Implemented Sobel Edge Detector and Canny Edge Detector
CN105513011A (en) Image scaling method
CN103336951A (en) Video monitoring target detection method and device
CN105469015B (en) A kind of fast positioning claps the method and system of code distance
CN103037268B (en) Method and device for watermark adding
CN103414843A (en) Video scaling algorithm based on monitoring application and implementation scheme thereof
TW201947530A (en) Image cropping device and image cropping method
CN103716512A (en) Robinson operator-based image sharpening system and method
CN206928511U (en) Component corner is auxiliary to use angle steel by force
Jin et al. FPGA design and implementation of a real-time vehicle detection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 300384 Tianjin Xiqing District Huayuan Industrial Area (outside the ring) 8 hahihua two road.

Applicant after: Tiandi Weiye Technology Co., Ltd.

Address before: 300384 Tianjin Xiqing District Huayuan new technology Industrial Park (outside the ring) 8 hahihua two road.

Applicant before: Tianjin Tiandy Digital Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant