The input picture picture color is handled method for previewing
Technical field
The present invention is the image processing method on a kind of relevant calculation machine, particularly is applied on the image Input Software, at the real time image processing that preview image provided of input original image.
Background technology
Price/the performance that is accompanied by many digital image input devices (as: digital camera, scanner) compares the more and more popular cause of convergence, made this class digital image input device of past exist only in the market concept of some high consumption ability families, beginning slowly is expanded comes and can be accepted by general consuming capacity family, therefore for these general consumption users, digital image input device ease of use, the operation convenience that can provide, just become in one of outer most important purchase factor of considering of price.
General general digital image input device, allow the user digital picture can be inputed in the computing machine executable platform for convenience and make effect process, so special-purpose image Input Software all can be provided usually, allow user's overview of preview image in advance, and provide the user to carry out various image effects to handle.If the user feels not good words for the effect of input original image, usually the image Input Software of this class can both provide the user some extra image processing functions, for example: color adjustment, brightness adjustment, contrast are adjusted, the resolution adjustment ... or the like, in the hope of compensating and improve the effect of input original image.Yet; with present known image Input Software function mode; the user is divided into two parts to the preview of input original image and to browsing of image processing effect; just when the user carries out the setting adjustment of every treatment effect in preview image; and can't see the processing result image that sets adjustment immediately; and the action of carries out image output once more after the user confirms by the time; could show that the user sets the result of adjustment; so not only waste many extra times in carries out image output; when the input original image that will present is big, more can seem very inefficent; each for the user content of setting adjustment can't show immediately; cause and constantly to carry out same image output action repeatedly unsatisfied treatment effect; this is very inconvenient; usually can cause the user how therefore to need to propose the perfect solution of a cover in the face of the problem in the input picture processing.
Summary of the invention
In view of this, the objective of the invention is to propose a kind of input picture picture color and handle method for previewing, can provide the user in the preview image of image Input Software, to choose the particular range block arbitrarily by the inventive method, carry out various image processing operations, and utilize What You See Is What You Get (What You See Is What You Get, WYSIWYG) display mode, the treatment effect that in real time user is set adjustment is finished the method for demonstration immediately.
For achieving the above object, the present invention can provide a kind of than the general pattern Input Software more simply, input picture disposal route rapidly, the execution that can allow the user handle for preview and every image effect of image is integrated, pass through the application of the technological means of selected block simultaneously, reduce the time that image effect is handled and shown, and then allow the user can under satisfied situation, carry out image output, more can save many unnecessary image outputs and repeat operation.
Institute thinks and achieves the above object, the input picture picture color that the present invention carried is handled in the method for previewing, include the following step: at first read an input original image, then capture first preview image and carry out the preview operation, the input original image was handled, carried out at last to the image manipulation that then carries out selected block image manipulation handles, and shows that output handles image.
Description of drawings
Fig. 1 handles the main operation workflow figure of method for previewing for the input picture picture color that the present invention carried;
Fig. 2 handles the selected block image manipulation processing flow chart of method for previewing for the input picture picture color that the present invention carried;
Fig. 3 handles the input original image synoptic diagram of method for previewing for the input picture picture color that the present invention carried;
Fig. 4 handles the image Input Software user operation-interface synoptic diagram of method for previewing for the input picture picture color that the present invention carried;
Fig. 5 handles synoptic diagram for the selected block image manipulation that the input picture picture color that the present invention carried is handled method for previewing;
Fig. 6 handles synoptic diagram for the selected block image manipulation that the input picture picture color that the present invention carried is handled method for previewing;
Fig. 7 handles synoptic diagram for the selected block image manipulation that the input picture picture color that the present invention carried is handled method for previewing; And
Fig. 8 handles the output image synoptic diagram of method for previewing for the input picture picture color that the present invention carried.
Symbol description among the figure
Step 100 reads an input original image
Step 200 acquisition one first preview image also carries out the preview operation
Step 300 is carried out an image manipulation of a selected block and is handled
Step 310 is duplicated this first preview image and is produced one second preview image
Step 320 shows that this first preview image is in this user's operation-interface
Step 330 is selected this selected block scope
This selected block information of step 340 record
Step 350 uses this image manipulation to handle
Step 360 is carried out this image manipulation of this selected block in real time and is handled computing
Step 370 is not changed this selected block
Step 375 is upgraded this selected block information
Step 380 is not carried out and is replied operation
Step 385 is carried out an overwrite job
Step 390 is confirmed to carry out this image manipulation and is handled
Step 395 transmits this image manipulation contents processing
Step 400 is carried out this image manipulation of this input original image and is handled
Step 500 shows output image
550 user's operation-interfaces
600 image manipulation treatment regions
700 preview image districts
800 selected block scopes
Embodiment
The present invention handles method for previewing as a kind of input picture picture color, be applied on the image Input Software, when user's desire with digital image input device (as: scanner, digital camera and digital code camera ...) in stored image when being input on the computing machine executable platform, often need to capture original image as intermediary by the image Input Software of special use, and provide image that the user can preview captures out and the image effect that needing to carry out to handle, at last image is exported in the computing machine executable platform and store, and the inventive method promptly is a kind of preview image that is captured at the image Input Software, the particular range block that provides the user can choose arbitrarily in the preview image is carried out What You See Is What You Get (What You See Is What YouGet, the method for realtime graphic effect process WYSIWYG).
The main operation workflow of the inventive method, see also the part of Fig. 1, when the user is connected activation and carries out image Input Software with digital image input device with the computing machine executable platform, promptly begin the operation workflow step of the inventive method, at first read input original image (step 100), see also Fig. 3, just the original image in the digital image input device is captured to the image Input Software; Then capture first preview image and carry out preview operation (step 200), this moment, the image Input Software can be carried out the acquisition operation of first preview image according to raw image data, and first preview image is shown in user's operation-interface that the image Input Software provided (seeing also Fig. 4), carries out preview for the user; This moment the user can be in preview image selected block, then carry out the image manipulation of selected block and handle (step 300), this process step will be done further explanation by Fig. 2; Then carry out the image manipulation of input original image and handle (step 400), just in the preview image of user's operation-interface, set the image of adjustment according to the user, the operational processes content as: color mode processing, resolution processes, brightness processed, contrast handle, fuzzy/sharp keen processing and special effect treatment ..., carry out real image operational processes to original image; Show output image (step 500) at last, promptly the intact image of operational processes is sent in the image Input Software, as shown in Figure 8, finish whole main operation workflow at last.
As for the part of Fig. 2, the detailed process step as the inventive method is handled for the selected block image manipulation is described as follows.At first, the inventive method can be duplicated first preview image earlier, produces second preview image (step 310), and this second preview image is temporary in the internal memory of computing machine executable platform, uses when replying operation in order to provide user's desire to carry out at any time; Then finish duplicate after, show that just first preview image is in user's operation-interface (step 320); Do you judge whether the user has selected the selected block scope this moment? (step 330) be not if having, then get back to step 320 place, continue to show that first preview image is in user's operation-interface, otherwise, if the user chooses, just write down selected block information (step 340), wherein Ji Lu information comprises at least: the input original image information (more comprises: image size information, image color information ...), selected block coordinate information (being selected block scope coordinate points numerical value) and image manipulation contents processing (being the project of the operated processing of user) ... or the like; Finish after the record, just do you judge that the user uses image manipulation to handle? (step 350), just whether the user has pair selected block to carry out any image manipulation processing (as: color mode processing, resolution processes, brightness processed, contrast is handled, fuzzy/sharp keen processing and special effect treatment ...), if do not have, represent that then the user desires directly to show output image, therefore directly enter into step 500 place, if otherwise the user has when using image manipulation to handle, then carry out the image manipulation of selected block in real time and handle computing (step 360), show during fructufy that image manipulation is handled; Can the inventive method judge that more the user changes selected block simultaneously? (step 370) comprising: selected block position, selected block size, selected block scope ... or the like, if the user has any change, then upgrade selected block information (step 375), reenter step 360 place then; If without any change, do you judge further that then the user replys operation? (step 380) is if the user carries out answer, then carry out overwrite job (step 385), just cover first preview image with second preview image that duplicates, just return step 330 place after having covered, carry out the action of selected block scope again for the user; Do not reply if carry out, do you judge further again that then the user confirms the carries out image operational processes? (step 390), just choose after the instruction of affirmation by carrying out by the user, just transmitted image operational processes content is to step 400, if otherwise during the instruction that the user does not further confirm, the inventive method will continue to get back to step 350 place, the image manipulation that provides the user to carry out other is handled, so-called image manipulation is handled can addition, that is multiple effect process can act under the situation that does not need to re-execute the image input in the middle of the selected block simultaneously, and the user can also carry out the action of answer certainly.So far, the inventive method just comes to an end at the flow process of selected block image manipulation processing.
Wherein, aforesaid user's operation-interface (seeing also Fig. 4), mainly provided, generally can be divided into the two large divisions at least by the image Input Software: the one, image manipulation treatment region (the Flame Image Process mode of user's selected block in this district can adjust preview image by the mode of choosing setting); Another is preview image district (user can preview image in this district, comprising: original image preview and image manipulation are handled image preview).
As for selected block part mentioned in the inventive method, be available for users to by mouse to click the mode of towing, its range size and coordinate position (as Fig. 5, Figure 6 and Figure 7) thereof are changed in arbitrary decision.
The above person only is the present invention's preferred embodiment wherein, is not to be used for limiting practical range of the present invention; Be that all equalizations of being done according to the present patent application claim change and modification, be all claim of the present invention and contain.