CN102810200A - Image batch processing method - Google Patents

Image batch processing method Download PDF

Info

Publication number
CN102810200A
CN102810200A CN2012101979689A CN201210197968A CN102810200A CN 102810200 A CN102810200 A CN 102810200A CN 2012101979689 A CN2012101979689 A CN 2012101979689A CN 201210197968 A CN201210197968 A CN 201210197968A CN 102810200 A CN102810200 A CN 102810200A
Authority
CN
China
Prior art keywords
filter
image
batch processing
parameters
data stream
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.)
Pending
Application number
CN2012101979689A
Other languages
Chinese (zh)
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.)
Chengdu Pingxing Shiye Science & Technology Co Ltd
Original Assignee
Chengdu Pingxing Shiye Science & 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 Chengdu Pingxing Shiye Science & Technology Co Ltd filed Critical Chengdu Pingxing Shiye Science & Technology Co Ltd
Priority to CN2012101979689A priority Critical patent/CN102810200A/en
Publication of CN102810200A publication Critical patent/CN102810200A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an image batch processing method, which comprises the following steps of: acquiring an image to be processed, defining identification (ID) of each filter and a plurality of corresponding parameters, and inputting the parameters into a data stream; defining operating types and operating parameters subjected to batch processing, wherein the operating parameters comprise the ID of filters and the filter parameters; selecting a filter to be applied, adjusting the parameters of the filter, and storing the ID of filter and the filter parameters in a batch processing operation file; and calling the batch processing operation file, acquiring the batch processing operating types in the data stream, acquiring the ID of filters and the filter parameters according to the operating types, and rendering the image to be processed by employing the filter. By the method, the operations of the filters can be effectively managed in a unified mode, the filter effect can be fed back to a canvas in real time, and the user experience is improved.

Description

A kind of method of image batch processing
Technical field
The present invention relates to the computer image technology field, relate in particular to the method for image batch processing.
Background technology
The image batch processing is a function that ten minutes is useful, by this function, after the user simply is provided with, just can handle each pictures in software automation ground.
Yet the batch facility of present most image processing software is all very simple, mainly all is format transformation, convergent-divergent, and logo or the like is beaten in rename, and can't be to the various filters of image applications.And the filter crucial function that is Flame Image Process has only the image of letting batch processing software to support the filter function, and it is more complicated to let this batch processing software realize, more useful function.Because light, perhaps camera reason such as is provided with and causes hundreds of captured photos all dark partially, if there is not batch processing to regulate the function of brightness, need regulate light one by one so, and needs are expended user's great amount of time and energy such as certain user.
Summary of the invention
The objective of the invention is method,, proposed an extendible batch processing framework based on the technology of filter paramsization to a kind of image batch processing of above-mentioned technical matters proposition; Based on this framework; Image batch processing module of the present invention not only can realize common functions such as commentaries on classics form, convergent-divergent and rename, and can be to the various filters of image applications, when the filter of batch processing is set; The parameter of filter all is adjustable, and the result who regulates can be presented on the current painting canvas immediately.
According to an aspect of the present invention, a kind of method of image batch processing is provided, has comprised step:
A, obtain pending image, define the ID and the corresponding several parameters of each filter, said several parameters is input in the data stream;
The action type and the operating parameter of B, definition batch operation, said operating parameter comprises filter ID and filter params;
C, select the filter that will use, the parameter of regulating said filter deposits the ID and the filter params of said filter in the batch operation file in;
D, call said batch operation file, in said data stream, obtain said batch operation type, and obtain filter ID and filter params, use said filter said pending image is played up according to said action type.
Preferably, said step C further comprises:
When selecting the filter that will use, the thumbnail of said pending picture can be according to the effect real-time update of said filter;
Said thumbnail is attached in the painting canvas with the real-time update painting canvas with the form of texture maps by OpenGl.
Technique effect of the present invention is:
Can realize that common image changes functions such as form, convergent-divergent and rename, and can be to the various filters of image applications, when the filter of batch processing was set, the parameter of filter all was adjustable, and the result who regulates can be presented on the current painting canvas immediately.
Other features and advantages of the present invention will be set forth in instructions subsequently, and, partly from instructions, become obvious, perhaps understand through embodiment of the present invention.The object of the invention can be realized through the structure that in the instructions of being write, claims and accompanying drawing, is particularly pointed out and obtained with other advantages.
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
 
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used to explain the present invention with embodiments of the invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of a kind of image batch processing of the present invention.
  
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for explanation and explains the present invention, and be not used in qualification the present invention.
As shown in Figure 1, a kind of embodiment for the method for image batch processing of the present invention specifically may further comprise the steps:
Step 101, obtain pending image, define the ID and the corresponding several parameters of each filter, said several parameters is input in the data stream;
Each filter is all inherited from publicly-owned base class, and this base class has defined the interface of two void: argument sequenceization and parameter unserializing.Argument sequenceization is input to the parameter of this filter in the data stream, and the parameter reverse sequenceization then is to extract current data stream extracting parameter in this filter.Each filter all need be realized this two interfaces.The storage target of data stream can be internal memory or hard disk.Each filter all to a unique guid should be arranged, just can obtain the pointer of this filter at the running software instance through guid.
The action type and the operating parameter of step 102, definition batch operation, said operating parameter comprises filter ID and filter params;
Batch operation mainly comprises two information, the i.e. parameter of action type and operation.Operation types is to be defined by an integer.When this batch operation was filter operation, the parameter of operation then was a buffer zone, this buffer zone be exactly stored serializing filter params, and the batchparameters of the guid. other types of this filter independent processing respectively then.
Step 103, select the filter that will use, the parameter of regulating said filter deposits the ID and the filter params of said filter in the batch operation file in;
After the user selected a filter, the filter params window can show.The user is regulating filter params, and after confirming, will insert a filter operation in current batch operation manager the inside.The guid of this filter can be by place's storage earlier, and the serializing interface of this filter can be called then, with its argument sequenceization in particular buffer.
Step 104, call said batch operation file, in said data stream, obtain said batch operation type, and obtain filter ID and filter params, use said filter said pending image is played up according to said action type.
When being written into a batch operation, at first in data stream, obtain the type of this batch operation.If finding this batch operation is the filter operation; Then continue in data stream, to obtain the guid of this filter; Through this guid, the process plug-in manager obtains the pointer of this filter, and the antitone sequence parameter of calling this filter through this pointer is to give parameter this filter.Activate this filter at last, and launch the application process of filter.
As a kind of preferred implementation of the present invention, before adding batch operation, it is for referencial use that the user can be asked to select a pictures.Filter of every increase, this reference picture will be updated.Open a filter the user, and when regulating the parameter of filter, the image thumbnails after adjusting is upgraded in real time, and this thumbnail can be attached in the painting canvas with the mode of texture by OpenGL again, has so just realized the renewal of painting canvas.Because the corresponding software of the present invention is based on the GPU middling speed, so each filter all has very fast speed, makes that the renewal of painting canvas is real-time.So the interpolation of batch operation and editor are visual.
All filters that utilization of the present invention has defined have been realized unified management to the batch operation of all filters, and the user can freely select the filter combination, and effect then feeds back on the painting canvas visually in real time.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be accomplished through the relevant hardware of programmed instruction; Aforesaid program can be stored in the computer read/write memory medium; This program the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
What should explain at last is: the above is merely the preferred embodiments of the present invention; Be not limited to the present invention; Although the present invention has been carried out detailed explanation with reference to previous embodiment; For a person skilled in the art, it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (2)

1. the method for an image batch processing is characterized in that, may further comprise the steps:
A, obtain pending image, define the ID and the corresponding several parameters of each filter, said several parameters is input in the data stream;
The action type and the operating parameter of B, definition batch operation, said operating parameter comprises filter ID and filter params;
C, select the filter that will use, the parameter of regulating said filter deposits the ID and the filter params of said filter in the batch operation file in;
D, call said batch operation file, in said data stream, obtain said batch operation type, and obtain filter ID and filter params, use said filter said pending image is played up according to said action type.
2. the method for image batch processing according to claim 1 is characterized in that, said step C further comprises:
When selecting the filter that will use, the thumbnail of said pending picture can be according to the effect real-time update of said filter;
Said thumbnail is attached in the painting canvas with the real-time update painting canvas with the form of texture maps by OpenGl.
CN2012101979689A 2012-06-15 2012-06-15 Image batch processing method Pending CN102810200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101979689A CN102810200A (en) 2012-06-15 2012-06-15 Image batch processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101979689A CN102810200A (en) 2012-06-15 2012-06-15 Image batch processing method

Publications (1)

Publication Number Publication Date
CN102810200A true CN102810200A (en) 2012-12-05

Family

ID=47233903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101979689A Pending CN102810200A (en) 2012-06-15 2012-06-15 Image batch processing method

Country Status (1)

Country Link
CN (1) CN102810200A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346506A (en) * 2013-07-31 2015-02-11 Ge医疗系统环球技术有限公司 Processing and outputting method and device for medical images
CN105335940A (en) * 2014-08-15 2016-02-17 北京金山网络科技有限公司 Method and apparatus for realizing image filter effect and server
CN107608506A (en) * 2017-09-01 2018-01-19 北京小米移动软件有限公司 Image processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258058A (en) * 1998-12-14 2000-06-28 佳能株式会社 Image processing method and device, image processing system,and memory medium
CN1519713A (en) * 2003-01-23 2004-08-11 光宝科技股份有限公司 Method for previewing color treatment of frame of input image
CN1525401A (en) * 2003-02-28 2004-09-01 ��˹���´﹫˾ Method and system for enhancing portrait images that are processed in a batch mode
US20070182747A1 (en) * 2004-04-16 2007-08-09 John Harper High-level program interface for graphics operations
CN101593105A (en) * 2008-05-26 2009-12-02 新奥特(北京)视频技术有限公司 The method of utility command collection in a kind of video production software
CN101650822A (en) * 2009-09-21 2010-02-17 北京壁虎科技有限公司 Method and system for generating mutual information
CN101909104A (en) * 2010-08-10 2010-12-08 华为终端有限公司 Information processing method and user equipment
CN102147737A (en) * 2010-02-09 2011-08-10 深圳市金蝶中间件有限公司 Method for supporting multi-operating system by system service and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1258058A (en) * 1998-12-14 2000-06-28 佳能株式会社 Image processing method and device, image processing system,and memory medium
CN1519713A (en) * 2003-01-23 2004-08-11 光宝科技股份有限公司 Method for previewing color treatment of frame of input image
CN1525401A (en) * 2003-02-28 2004-09-01 ��˹���´﹫˾ Method and system for enhancing portrait images that are processed in a batch mode
US20070182747A1 (en) * 2004-04-16 2007-08-09 John Harper High-level program interface for graphics operations
CN101593105A (en) * 2008-05-26 2009-12-02 新奥特(北京)视频技术有限公司 The method of utility command collection in a kind of video production software
CN101650822A (en) * 2009-09-21 2010-02-17 北京壁虎科技有限公司 Method and system for generating mutual information
CN102147737A (en) * 2010-02-09 2011-08-10 深圳市金蝶中间件有限公司 Method for supporting multi-operating system by system service and device
CN101909104A (en) * 2010-08-10 2010-12-08 华为终端有限公司 Information processing method and user equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346506A (en) * 2013-07-31 2015-02-11 Ge医疗系统环球技术有限公司 Processing and outputting method and device for medical images
CN104346506B (en) * 2013-07-31 2018-11-30 Ge医疗系统环球技术有限公司 The method and device that a kind of pair of medical image image is handled and exported
CN105335940A (en) * 2014-08-15 2016-02-17 北京金山网络科技有限公司 Method and apparatus for realizing image filter effect and server
CN107608506A (en) * 2017-09-01 2018-01-19 北京小米移动软件有限公司 Image processing method and device
CN107608506B (en) * 2017-09-01 2021-01-26 北京小米移动软件有限公司 Picture processing method and device

Similar Documents

Publication Publication Date Title
US8874525B2 (en) Hierarchical display and navigation of document revision histories
US8533595B2 (en) Hierarchical display and navigation of document revision histories
US8533594B2 (en) Hierarchical display and navigation of document revision histories
US8890886B2 (en) User interface with color themes based on input image data
US8701002B2 (en) Hierarchical display and navigation of document revision histories
US20120272173A1 (en) Hierarchical display and navigation of document revision histories
CN102810199B (en) Image processing method based on GPU (Graphics Processing Unit)
US8612485B2 (en) Deferred 3-D scenegraph processing
WO2011013263A1 (en) Image file generation device, image processing device, image file generation method, and image processing method
US9196305B2 (en) Smart transitions
US7596764B2 (en) Multidimensional image data processing
US20120195573A1 (en) Video Defect Replacement
CN103440304A (en) Method and device for storing picture
US6937760B2 (en) Interactive frame segmentation with dynamic programming
JP2003303333A (en) Image display control device
CN102810200A (en) Image batch processing method
CN102572219A (en) Mobile terminal and image processing method thereof
WO2016155398A1 (en) Information processing method, terminal and computer storage medium
EP3246921B1 (en) Integrated media processing pipeline
US20090259450A1 (en) physics-based simulation
CN102567935A (en) Method and system for realizing compatibility of special-effect version
KR20230053673A (en) Automatic generation of events using machine learning models
JP4891979B2 (en) Data stream management system, record processing method, program, and recording medium
CN113222905B (en) Opennsfm and thread.js-based structural damage information updating three-dimensional display method
JP2005063043A (en) Image display device, method and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121205