[go: up one dir, main page]

CN101576996A - Processing method and device for realizing image zooming - Google Patents

Processing method and device for realizing image zooming Download PDF

Info

Publication number
CN101576996A
CN101576996A CNA2009100864826A CN200910086482A CN101576996A CN 101576996 A CN101576996 A CN 101576996A CN A2009100864826 A CNA2009100864826 A CN A2009100864826A CN 200910086482 A CN200910086482 A CN 200910086482A CN 101576996 A CN101576996 A CN 101576996A
Authority
CN
China
Prior art keywords
image
target area
user
scaling
coordinates
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.)
Granted
Application number
CNA2009100864826A
Other languages
Chinese (zh)
Other versions
CN101576996B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2009100864826A priority Critical patent/CN101576996B/en
Publication of CN101576996A publication Critical patent/CN101576996A/en
Application granted granted Critical
Publication of CN101576996B publication Critical patent/CN101576996B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本发明公开了一种实现图像缩放中的处理方法及装置。本发明提供的方案中,获得用户输入信息;根据设置的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则;根据所述缩放规则确定目标区域,并根据所述缩放规则确定目标区域图像的显示比率;并可以进一步根据所述缩放规则确定缩放后图像的起始坐标,由此可见,通过获取用户的简单操作,即可得到与图像缩放操作有关的一系列相关参数,不需要增加任何软硬件,实现成本非常低。由于无需用户进行过多操作,也不需要用户输入指令,将用户的需求直接反馈到原始播放界面,因此,本发明方案的实现丝毫不会影响用户的体验。

Figure 200910086482

The invention discloses a processing method and device for realizing image scaling. In the solution provided by the present invention, the user input information is obtained; according to the corresponding relationship between the set user input information and the scaling rules, the scaling rules corresponding to the user input information are determined; the target area is determined according to the scaling rules, and according to the set The scaling rules determine the display ratio of the image in the target area; and the initial coordinates of the zoomed image can be further determined according to the scaling rules. It can be seen that a series of related image scaling operations can be obtained by obtaining simple operations of the user. Relevant parameters do not need to add any software and hardware, and the implementation cost is very low. Since there is no need for the user to perform too many operations, and the user does not need to input instructions, and the user's needs are directly fed back to the original playback interface, the implementation of the solution of the present invention will not affect the user's experience at all.

Figure 200910086482

Description

一种实现图像缩放中的处理方法及装置 A processing method and device for realizing image scaling

技术领域 technical field

本发明涉及图像处理技术,特别是指一种实现图像缩放中的处理方法及装置。The invention relates to image processing technology, in particular to a processing method and device for realizing image scaling.

背景技术 Background technique

视频放大/缩小是指在视频播放过程中,将部分区域视频进行放大/缩小的技术。目前通常采用截屏的方式来实现,即将输出设备显示的每一帧都截取,然后选择目标区域,通过算法将目标区域视频放大/缩小,然后取代原始图像在输出设备中进行显示。Video zoom-in/zoom-out refers to the technology of zooming in/out part of the video during video playback. At present, it is usually realized by screen capture, that is, each frame displayed by the output device is intercepted, and then the target area is selected, and the video of the target area is enlarged/reduced by an algorithm, and then replaced by the original image for display on the output device.

以视频放大为参考,如图1A所示,视频缩放主要包括两个部分:原始视频和放大/缩小后的视频。原始视频是指硬件或软件本身按照设定格式输出的视频图像。放大/缩小后的视频是指包括原始视频内容、且将原始视频内容放大/缩小后进行展示的视频图像。放大/缩小后的视频具有各种尺寸,用户可以自由设置放大/缩小后的视频尺寸。Taking video scaling as a reference, as shown in Figure 1A, video scaling mainly includes two parts: original video and enlarged/reduced video. The original video refers to the video image output by the hardware or software itself according to the set format. The enlarged/reduced video refers to a video image that includes original video content and is displayed after the original video content is enlarged/reduced. The enlarged/reduced video has various sizes, and the user can freely set the enlarged/reduced video size.

对原始视频进行放大/缩小时,用户需要选择进行放大/缩小的原始视频的目标区域,并确定放大/缩小的尺寸,然后相关设备会根据用户的要求对目标区域视频进行放大/缩小。由此可见,进行视频的放大/缩小必须由用户输入明确的指令,可以是用户直接下达默认的放大/缩小指令,相关设备根据默认的放大/缩小指令对默认的目标区域视频进行放大/缩小;也可以是用户通过鼠标选择二个点构造一个矩形区域,然后再由用户输入放大/缩小的尺寸,相关设备根据用户所要求的放大/缩小的尺寸,对矩形区域视频进行放大/缩小。When zooming in/out the original video, the user needs to select the target area of the original video to be zoomed in/out, and determine the size of the zoom in/out, and then the relevant device will zoom in/out the video in the target area according to the user's requirements. It can be seen that the zoom in/out of the video must be performed by the user to input a clear command, which can be the user directly issue the default zoom in/out command, and the related device will zoom in/zoom out the default target area video according to the default zoom in/out command; It can also be that the user selects two points with the mouse to construct a rectangular area, and then the user inputs the size of the enlargement/reduction, and the related device enlarges/reduces the video of the rectangular area according to the size of the enlargement/reduction required by the user.

由于需要用户输入指令,因此需要在实现放大/缩小的相关设备中添加输入界面的实现,这将增加视频放大/缩小实现的复杂度;虽然用户也可以通过默认的放大/缩小指令对默认的目标区域视频进行放大/缩小,但是由于不同用户对原始视频感兴趣的区域不尽相同,并且期望实现的视频放大/缩小的具体功能是多样化的,因此,这将极大地影响用户的体验。Since the user needs to input instructions, it is necessary to add the implementation of the input interface to the relevant equipment that realizes zoom in/out, which will increase the complexity of video zoom in/out; although the user can also use the default zoom in/zoom out commands to the default target Zooming in/out of the region video, but because different users are interested in different regions of the original video, and the specific functions of video zooming in/out expected to be implemented are diverse, therefore, this will greatly affect the user experience.

另外,目前还有一种基于掩膜对视频进行放大/缩小的解决方法,如图1B所示,具体是通过在原始视频上添加一层播放界面,使得原始视频不受影响地输出到原始输出设备中,但是由于添加的播放界面,原始视频将被阻挡,无法显示;对原始视频内容进行复制,选择目标区域视频进行放大/缩小,并显示在添加的播放界面中。In addition, there is currently a solution to zoom in/out video based on a mask, as shown in Figure 1B, specifically by adding a layer of playback interface to the original video, so that the original video can be output to the original output device without being affected However, due to the added playback interface, the original video will be blocked and cannot be displayed; copy the original video content, select the target area video to zoom in/out, and display it in the added playback interface.

这种处理方法,在确保效率的前提下,需要在实现放大/缩小的相关设备中添加用于实现掩膜的硬件,这也将增加视频放大/缩小实现的复杂度。In this processing method, on the premise of ensuring efficiency, it is necessary to add hardware for realizing the mask in the relevant equipment for realizing zoom-in/zoom-out, which will also increase the complexity of video zoom-in/zoom-out.

发明内容 Contents of the invention

有鉴于此,本发明的主要目的在于提供一种实现图像缩放中的处理方法及装置,方便用户实现图像缩放,提高用户体验,并且节约实现成本。In view of this, the main purpose of the present invention is to provide a processing method and device for implementing image scaling, which facilitates users to implement image scaling, improves user experience, and saves implementation costs.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, technical solution of the present invention is achieved in that way:

一种实现图像缩放中的处理方法,该方法包括:获得用户输入信息;根据设置的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则;根据所述缩放规则确定目标区域,并根据所述缩放规则确定目标区域图像的显示比率。A processing method for implementing image scaling, the method comprising: obtaining user input information; determining a scaling rule corresponding to the user input information according to the corresponding relationship between the set user input information and the scaling rule; according to the scaling rule Determine the target area, and determine the display ratio of the image in the target area according to the scaling rule.

所述确定目标区域和显示比率之后,进一步包括:根据所述缩放规则确定缩放后图像的起始坐标。After the determination of the target area and the display ratio, the method further includes: determining the starting coordinates of the zoomed image according to the scaling rule.

设置原始图像的起始坐标为(0,0),宽度为W0,高度为H0,所述获得用户输入信息包括:获得用户通过鼠标输入的两个坐标位置,用户第一次通过鼠标输入的坐标为(x1,y1),用户第二次通过鼠标输入的坐标为(x2,y2);所述根据设置的用户输入信息与缩放规则之间的对应关系确定与用户输入信息相对应的缩放规则、根据所述缩放规则确定目标区域、目标区域图像的显示比率、缩放后图像的起始坐标,包括:确定目标区域的起始坐标为(x1,y1),宽度W1=|x2-x1|,高度H1=|y2-y1|,判断x1是否小于x2,如果x1小于x2,对目标区域图像进行放大,判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,确定目标区域图像的显示比率为R=H0/H1;如果W0/W1小于H0/H1,确定目标区域图像的显示比率为R=W0/W1;如果x1不小于x2,对目标区域图像进行缩小,判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,确定目标区域图像的显示比率为R=H0/H1;如果W0/W1小于H0/H1,确定目标区域图像的显示比率为R=W0/W1。Set the initial coordinates of the original image to be (0, 0), the width to be W0, and the height to be H0, and the obtaining of user input information includes: obtaining two coordinate positions input by the user through the mouse, and the coordinates input by the user for the first time through the mouse is (x1, y1), and the coordinates that the user inputs through the mouse for the second time are (x2, y2); the scaling rule corresponding to the user input information is determined according to the corresponding relationship between the set user input information and the scaling rule, Determining the target area, the display ratio of the image in the target area, and the initial coordinates of the zoomed image according to the scaling rules, including: determining that the initial coordinates of the target area are (x1, y1), width W1=|x2-x1|, height H1=|y2-y1|, judge whether x1 is smaller than x2, if x1 is smaller than x2, enlarge the image of the target area, judge whether W0/W1 is not smaller than H0/H1, if W0/W1 is not smaller than H0/H1, determine the target area The display ratio of the image is R=H0/H1; if W0/W1 is less than H0/H1, determine that the display ratio of the image in the target area is R=W0/W1; if x1 is not less than x2, reduce the image in the target area and judge W0/ Whether W1 is not less than H0/H1, if W0/W1 is not less than H0/H1, determine the display ratio of the target area image as R=H0/H1; if W0/W1 is less than H0/H1, determine the display ratio of the target area image as R =W0/W1.

所述确定目标区域图像的显示比率为R=H0/H1之后,进一步包括:确定放大后图像的起始坐标为(x,0)、宽度为W1*R、高度为H0;所述确定目标区域图像的显示比率为R=W0/W1之后,进一步包括:确定放大后图像的起始坐标为(0,y)、宽度为W0、高度为H1*R;所述确定目标区域图像的显示比率为R=H0/H1之后,进一步包括:确定缩小后图像的起始坐标为(x,y)、宽度为W1/R、高度为H1/R;所述确定目标区域图像的显示比率为R=W0/W1之后,进一步包括:确定缩小后图像的起始坐标为(x,y)、宽度为W1/R、高度为H1/R。After the display ratio of the determined target area image is R=H0/H1, it further includes: determining that the starting coordinates of the enlarged image are (x, 0), the width is W1*R, and the height is H0; the determined target area After the display ratio of the image is R=W0/W1, it further includes: determining that the starting coordinates of the enlarged image are (0, y), the width is W0, and the height is H1*R; the display ratio of the determined target area image is After R=H0/H1, it further includes: determining that the starting coordinates of the reduced image are (x, y), the width is W1/R, and the height is H1/R; the display ratio of the determined target area image is R=W0 After /W1, it further includes: determining that the starting coordinates of the reduced image are (x, y), the width is W1/R, and the height is H1/R.

所述确定目标区域图像的显示比率之后,进一步包括:根据显示比率对目标区域图像进行缩放处理,并将缩放后图像位于确定的起始坐标处。After the determination of the display ratio of the image of the target area, it further includes: performing scaling processing on the image of the target area according to the display ratio, and positioning the zoomed image at the determined starting coordinate.

所述对目标区域图像进行缩放处理之后,进一步包括:确定用户操作满足有效条件时,恢复目标区域图像的显示尺寸。After performing the scaling process on the image of the target area, it further includes: restoring the display size of the image of the target area when it is determined that the user operation satisfies a valid condition.

所述确定用户操作满足有效条件时恢复目标区域图像的显示尺寸,包括:获得用户双击鼠标的操作,用户第一次双击鼠标的坐标为(x3,y3)、时刻为t1,第二次双击鼠标的坐标为(x4,y4),时刻为t2;判断|x4-x3|是否小于设定的位移门限、并且t2-t1是否小于设定的时间门限,如果均满足,则确定用户操作有效,恢复目标区域图像的显示尺寸;否则,确定用户操作无效,不恢复图像的显示尺寸。When the determination that the user operation meets the effective conditions restores the display size of the target area image, it includes: obtaining the operation of the user double-clicking the mouse, the coordinates of the user double-clicking the mouse for the first time are (x3, y3), and the time is t1, and the second time the mouse is double-clicked The coordinates are (x4, y4), and the time is t2; judge whether |x4-x3| is less than the set displacement threshold, and whether t2-t1 is less than the set time threshold, if they are all satisfied, then determine that the user operation is valid and restore The display size of the image in the target area; otherwise, it is determined that the user operation is invalid and the display size of the image is not restored.

该方法进一步包括步骤A:捕获用户操作,根据设置的用户操作与过滤规则之间的对应关系确定与用户操作相对应的过滤规则;根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。The method further includes step A: capturing user operations, determining a filter rule corresponding to the user operation according to the set correspondence between user operations and filter rules; determining the initial coordinates of the image according to the filter rules, Move the zoomed image.

设置原始图像的起始坐标为(0,0),宽度为W0,高度为H0,所述步骤A包括:捕获用户通过鼠标输入的坐标(x5,y5),捕获用户通过鼠标输入的坐标(x6,y6);如果x6-x5≥0、y6-y5≥0,则缩放后图像向显示屏幕的右下方移动,移动后的缩放后图像的起始坐标为(x2-x1,y2-y1)、宽度为W0-(x2-x1)、高度为H0-(y2-y1);如果x6-x5≥0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(x2-x1,0)、宽度为W0-(x2-x1)、高度为H0+(y2-y1);如果x6-x5<0、y6-y5≥0,则缩放后图像向显示屏幕的左下方移动,移动后的缩放后图像的起始坐标为(0,y2-y1)、宽度为W0+(x2-x1)、高度为H0-(y2-y1);如果x6-x5<0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(0,0)、宽度为W0+(x2-x1)、高度为H0+(y2-y1)。The starting coordinates of the original image are set to be (0, 0), the width is W0, and the height is H0. The step A includes: capturing the coordinates (x5, y5) input by the user through the mouse, and capturing the coordinates (x6) input by the user through the mouse. , y6); if x6-x5≥0, y6-y5≥0, the zoomed image moves to the bottom right of the display screen, and the starting coordinates of the moved zoomed image are (x2-x1, y2-y1), The width is W0-(x2-x1), the height is H0-(y2-y1); if x6-x5≥0, y6-y5<0, the zoomed image moves to the upper right of the display screen, and the zoomed image after moving The starting coordinates of the image are (x2-x1, 0), the width is W0-(x2-x1), and the height is H0+(y2-y1); if x6-x5<0, y6-y5≥0, the zoomed image Move to the bottom left of the display screen, the starting coordinates of the moved zoomed image are (0, y2-y1), the width is W0+(x2-x1), and the height is H0-(y2-y1); if x6-x5 <0, y6-y5<0, the zoomed image moves to the upper right of the display screen, the starting coordinates of the moved zoomed image are (0, 0), the width is W0+(x2-x1), and the height is H0+ (y2-y1).

所述对目标区域图像进行缩放处理之后,进一步包括:对缩放后的图像进行锐化处理。After performing scaling processing on the image of the target area, it further includes: performing sharpening processing on the zoomed image.

所述对缩放后的图像进行锐化处理,包括:采用线性插值将缩放后图像进行像素拷贝并调整像素值,并采用高通滤波器对图像模糊色彩进行过滤。The sharpening processing of the zoomed image includes: using linear interpolation to copy pixels of the zoomed image and adjusting pixel values, and using a high-pass filter to filter blurred colors of the image.

一种实现图像缩放中的处理装置,该装置包括:存储单元、输入检测单元、规则确定单元和参数确定单元,其中,所述存储单元用于存储预先设置的用户输入信息与缩放规则之间的对应关系;所述输入检测单元用于获得用户输入信息;所述规则确定单元用于根据所述用户输入信息与缩放规则之间的对应关系,确定与所述用户输入信息相对应的缩放规则;所述参数确定单元用于根据缩放规则确定目标区域,并根据缩放规则确定目标区域图像的显示比率。A processing device for realizing image scaling, the device includes: a storage unit, an input detection unit, a rule determination unit, and a parameter determination unit, wherein the storage unit is used to store preset user input information and scaling rules Correspondence; the input detection unit is used to obtain user input information; the rule determination unit is used to determine the scaling rule corresponding to the user input information according to the corresponding relationship between the user input information and the scaling rule; The parameter determination unit is used to determine the target area according to the scaling rule, and determine the display ratio of the target area image according to the scaling rule.

所述参数确定单元进一步用于:根据缩放规则确定缩放后图像的起始坐标。The parameter determining unit is further configured to: determine the starting coordinates of the zoomed image according to the scaling rule.

所述装置进一步包括:缩放处理单元,用于根据显示比率对目标区域图像进行缩放处理,并将缩放后图像位于确定的起始坐标处。The device further includes: a scaling processing unit, configured to perform scaling processing on the target area image according to the display ratio, and position the scaled image at the determined starting coordinate.

所述装置进一步包括:有效判断单元,用于确定用户操作有效时,通知缩放处理单元恢复图像的显示尺寸;所述缩放处理单元用于停止对目标区域图像进行缩放处理。The device further includes: a valid judging unit, configured to notify the scaling processing unit to restore the display size of the image when it is determined that the user operation is valid; the scaling processing unit is configured to stop zooming the image in the target area.

所述装置进一步包括:操作捕获单元和过滤处理单元,所述存储单元进一步用于存储预先设置的用户操作与过滤规则之间的对应关系;所述操作捕获单元用于捕获用户操作;所述过滤处理单元用于根据所述用户操作与过滤规则之间的对应关系,确定与所述用户操作相对应的过滤规则,根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。The device further includes: an operation capture unit and a filter processing unit, the storage unit is further used to store the preset correspondence between user operations and filtering rules; the operation capture unit is used to capture user operations; the filter The processing unit is configured to determine a filtering rule corresponding to the user operation according to the correspondence between the user operation and the filtering rule, determine the starting coordinates of the image according to the filtering rule, and move the zoomed image according to the starting coordinates .

所述装置进一步包括:锐化处理单元,对缩放后的图像进行锐化处理。The device further includes: a sharpening processing unit, which performs sharpening processing on the zoomed image.

本发明方案中,获得用户输入信息;根据设置的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则;根据所述缩放规则确定目标区域,并根据所述缩放规则确定目标区域图像的显示比率;并可以进一步根据所述缩放规则确定缩放后图像的起始坐标,由此可见,通过获取用户的简单操作,即可得到与图像缩放操作有关的一系列相关参数,不需要增加任何软硬件,实现成本非常低。由于无需用户进行过多操作,也不需要用户输入指令,将用户的需求直接反馈到原始播放界面,因此,本发明方案的实现丝毫不会影响用户的体验。In the solution of the present invention, the user input information is obtained; according to the corresponding relationship between the set user input information and the scaling rules, the scaling rules corresponding to the user input information are determined; the target area is determined according to the scaling rules, and according to the scaling The rule determines the display ratio of the image in the target area; and the starting coordinates of the zoomed image can be further determined according to the scaling rule. It can be seen that a series of relevant parameters related to the image zooming operation can be obtained by obtaining the simple operation of the user , does not need to add any software and hardware, and the implementation cost is very low. Since there is no need for the user to perform too many operations, and the user does not need to input instructions, and the user's needs are directly fed back to the original playback interface, the implementation of the solution of the present invention will not affect the user's experience at all.

另外,本发明方案中还提供了与图像缩放处理的相关操作,使得图像缩放操作的效果更佳理想;并且,还能够针对用户需要进行动态地变化需要进行缩放操作的图像。In addition, the solution of the present invention also provides related operations related to image zooming, so that the effect of the image zooming operation is more ideal; moreover, it is also possible to dynamically change the image that needs to be zoomed according to the needs of the user.

附图说明 Description of drawings

图1A为目标区域视频放大示意图;FIG. 1A is a schematic diagram of zooming in on a target area video;

图1B为掩膜实现视频缩放示意图;FIG. 1B is a schematic diagram of video scaling realized by a mask;

图2为本发明实现图像缩放流程图;Fig. 2 is the flow chart of realizing image scaling in the present invention;

图3为本发明中实现图像缩放的具体实施例流程图;FIG. 3 is a flow chart of a specific embodiment for realizing image scaling in the present invention;

图4A为本发明中放大目标区域图像示意图一;FIG. 4A is a first schematic diagram of an enlarged target area image in the present invention;

图4B为本发明中放大前的目标区域示意图;Fig. 4B is a schematic diagram of the target area before amplification in the present invention;

图4C为本发明中目标区域放大后的示意图;FIG. 4C is an enlarged schematic diagram of the target area in the present invention;

图4D为本发明中实际放大区域示意图;Figure 4D is a schematic diagram of the actual enlarged area in the present invention;

图5为本发明中放大目标区域图像示意图二;Fig. 5 is a second schematic diagram of an enlarged target area image in the present invention;

图6A为本发明中缩小目标区域图像示意图;Fig. 6A is a schematic diagram of reducing the image of the target area in the present invention;

图6B为本发明中缩小前的目标区域示意图;Fig. 6B is a schematic diagram of the target area before shrinking in the present invention;

图6C为本发明中缩小后的目标区域示意图;FIG. 6C is a schematic diagram of the reduced target area in the present invention;

图7A为本发明中根据用户操作图像移动示意图一;FIG. 7A is a first schematic diagram of image movement according to user operations in the present invention;

图7B为本发明中根据用户操作图像移动示意图二;Fig. 7B is a second schematic diagram of image movement according to user operations in the present invention;

图7C为本发明中根据用户操作图像移动示意图三;Fig. 7C is a third schematic diagram of image movement according to user operations in the present invention;

图7D为本发明中根据用户操作图像移动示意图四;FIG. 7D is a fourth schematic diagram of image movement according to user operations in the present invention;

图8为本发明中锐化处理前后对比示意图;Fig. 8 is a schematic diagram of comparison before and after sharpening in the present invention;

图9为本发明中实现图像缩放装置结构示意图。FIG. 9 is a schematic structural diagram of an image scaling device in the present invention.

具体实施方式 Detailed ways

图2为本发明实现图像缩放流程图,如图2所示,本发明中实现图像缩放的具体处理过程包括以下步骤:Fig. 2 is the flow chart that realizes image scaling of the present invention, as shown in Fig. 2, the concrete processing process that realizes image scaling in the present invention comprises the following steps:

步骤201:预先设置用户输入信息与缩放规则之间的对应关系。Step 201: preset the corresponding relationship between user input information and scaling rules.

步骤202~步骤203:获得用户输入信息,根据设置的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则。Step 202 to Step 203: Obtain user input information, and determine a scaling rule corresponding to the user input information according to the set correspondence between the user input information and the scaling rule.

步骤204:根据缩放规则确定目标区域,并根据缩放规则确定目标区域图像的显示比率。Step 204: Determine the target area according to the scaling rule, and determine the display ratio of the target area image according to the scaling rule.

步骤205:进一步地,还可以根据缩放规则确定缩放后图像的起始坐标。缩放后图像的起始坐标也可以随机确定,也可以由系统指定,只要保证显示屏幕能够将缩放后图像的内容显示完整即可。Step 205: Further, the initial coordinates of the zoomed image may also be determined according to the scaling rule. The starting coordinates of the zoomed image can also be determined randomly, or can be specified by the system, as long as the display screen can fully display the contents of the zoomed image.

本发明中所述图像可以为动态图像、视频等,也可以为静态图像。The images mentioned in the present invention may be dynamic images, videos, etc., or static images.

下面结合图3所示的流程对本发明的具体实现过程进行详细描述,如图3所示,具体处理过程包括以下步骤:Below in conjunction with the flow process shown in Figure 3, the specific implementation process of the present invention is described in detail, as shown in Figure 3, the specific processing process includes the following steps:

步骤301:设置原始图像的起始坐标为(0,0),宽度为W0,高度为H0。获得用户通过鼠标输入的两个坐标位置,用户第一次点击鼠标的坐标为A(x1,y1),用户拖动鼠标,用户第二次点击鼠标的坐标为B(x2,y2)。后续各步骤均是根据缩放规则来进行的处理。Step 301: Set the initial coordinates of the original image as (0, 0), the width as W0, and the height as H0. Obtain the two coordinate positions input by the user through the mouse. The coordinates of the user's first click of the mouse are A(x1, y1), the user drags the mouse, and the coordinates of the user's second click of the mouse are B(x2, y2). Subsequent steps are all processed according to scaling rules.

步骤302:确定需要进行缩放的目标区域的起始坐标为(x1,y1),目标区域的宽度W1=|x2-x1|,目标区域的高度H1=|y2-y1|。根据用户习惯,目标区域的起始坐标可以是指目标区域的左上角的坐标,此时,目标区域是起始坐标处向右、向下的区域。当然,目标区域的起始坐标也可以是指目标区域的右下角的坐标,此时,目标区域是起始坐标处向左、向上的区域。类似地,目标区域的起始坐标还可以是指目标区域的左下角的坐标或右上角的坐标。Step 302: Determine the starting coordinates of the target area to be scaled as (x1, y1), the width W1=|x2-x1| of the target area, and the height H1=|y2-y1| of the target area. According to user habits, the starting coordinates of the target area may refer to the coordinates of the upper left corner of the target area. At this time, the target area is the area to the right and downward of the starting coordinates. Of course, the starting coordinates of the target area may also refer to the coordinates of the lower right corner of the target area. In this case, the target area is the leftward and upward area of the starting coordinates. Similarly, the starting coordinates of the target area may also refer to the coordinates of the lower left corner or the upper right corner of the target area.

步骤303:判断x1是否小于x2,如果x1小于x2,则执行步骤304;如果x1不小于x2,则执行步骤308。Step 303: Judging whether x1 is smaller than x2, if x1 is smaller than x2, go to step 304; if x1 is not smaller than x2, go to step 308.

步骤304:对目标区域图像进行放大。Step 304: Enlarge the image of the target area.

步骤305:判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,则执行步骤306;如果W0/W1小于H0/H1,则执行步骤307。Step 305: Determine whether W0/W1 is not less than H0/H1, if W0/W1 is not less than H0/H1, perform step 306; if W0/W1 is less than H0/H1, perform step 307.

步骤306:确定对目标区域图像进行放大的相关参数,其中,显示比率R=H0/H1;放大后图像的起始坐标为(x,0);放大后图像的宽度W=W1*R;放大后图像的高度H=H1*R=H1*(H0/H1)=H0,后续可根据显示比率对目标区域图像进行放大,结束当前流程。根据以上参数进行放大处理如图4A所示。Step 306: Determine the relevant parameters for zooming in on the image of the target area, wherein, the display ratio R=H0/H1; the starting coordinate of the zoomed-in image is (x, 0); the width of the zoomed-in image W=W1*R; The height of the subsequent image is H=H1*R=H1*(H0/H1)=H0, and the image of the target area can be enlarged subsequently according to the display ratio to end the current process. The amplification process according to the above parameters is shown in Fig. 4A.

优选的,为了将放大后图像尽量放置于显示屏幕的中间位置,可以令x=(W0-(W0-2*x1)*R)/2,这样,放大后图像的起始坐标为((W0-(W0-2*x1)*R)/2,0);也可以令x=(W0-W1*R)/2,这样,放大后图像的起始坐标为((W0-W1*R)/2,0)。x也可以为其他值,如x=x1/R,这样,放大后图像的起始坐标为(x1/R,0)。以上只是对本发明中放大后图像的起始坐标的具体实现给出一些示例性的描述,并非只有以上实现方式。Preferably, in order to place the enlarged image in the middle of the display screen as much as possible, x=(W0-(W0-2*x1)*R)/2 can be set, so that the starting coordinates of the enlarged image are ((W0 -(W0-2*x1)*R)/2, 0); You can also set x=(W0-W1*R)/2, so that the starting coordinates of the enlarged image are ((W0-W1*R) /2,0). x can also be other values, such as x=x1/R, in this way, the starting coordinate of the enlarged image is (x1/R, 0). The above are just some exemplary descriptions of the specific implementation of the starting coordinates of the enlarged image in the present invention, and are not the only implementations described above.

以W1=H1为例,如图4B所示,对步骤306的实现原理进行描述。图4B所示的目标区域、即黑色正方形,根据以上参数放大后如图4C所示,这样的放大会在图4C中存在着空白部分,因此,实际上进行放大的区域应该图4D中的小长方形内的区域,这样才能填充图4C中存在的空白部分,小长方形与正方形的目标区域之间的区域可以通过对目标区域边缘的放大来实现。Taking W1=H1 as an example, as shown in FIG. 4B , the implementation principle of step 306 is described. The target area shown in Figure 4B, that is, the black square, is enlarged according to the above parameters, as shown in Figure 4C. Such an enlargement will have a blank part in Figure 4C. Therefore, the actually enlarged area should be smaller than that in Figure 4D. The area within the rectangle can fill the blank portion in Figure 4C, and the area between the small rectangle and the square target area can be realized by enlarging the edge of the target area.

步骤307:确定对目标区域图像进行放大的相关参数,其中,显示比率R=W0/W1;放大后图像的起始坐标为(0,y);放大后图像的宽度W=W1*R=W1*(W0/W1)=W0;放大后图像的高度H=H1*R,后续可根据显示比率对目标区域图像进行放大,结束当前流程。根据以上参数进行放大处理如图5所示。Step 307: Determine relevant parameters for zooming in on the image of the target area, where the display ratio R=W0/W1; the starting coordinates of the zoomed-in image are (0, y); the width of the zoomed-in image W=W1*R=W1 *(W0/W1)=W0; the height of the enlarged image H=H1*R, and the image of the target area can be enlarged subsequently according to the display ratio, and the current process is ended. According to the above parameters, the zoom-in process is shown in Figure 5.

优选的,为了将放大后图像尽量放置于显示屏幕的中间位置,可以令y=(H0-(H0-2*y1)*R)/2,这样,放大后图像的起始坐标为(0,(H0-(H0-2*y1)*R)/2);也可以令y=(H0-H1*R)/2,这样,放大后图像的起始坐标为(0,(H0-H1*R)/2)。y也可以为其他值,如y=y1/R,这样,放大后图像的起始坐标为(0,y1/R)。以上只是对本发明中放大后图像的起始坐标的具体实现给出一些示例性的描述,并非只有以上实现方式。Preferably, in order to place the enlarged image in the middle of the display screen as much as possible, y=(H0-(H0-2*y1)*R)/2 can be set, so that the starting coordinates of the enlarged image are (0, (H0-(H0-2*y1)*R)/2); You can also set y=(H0-H1*R)/2, so that the starting coordinates of the enlarged image are (0, (H0-H1* R)/2). y can also be other values, such as y=y1/R, in this way, the starting coordinate of the enlarged image is (0, y1/R). The above are just some exemplary descriptions of the specific implementation of the starting coordinates of the enlarged image in the present invention, and are not the only implementations described above.

步骤308:对目标区域图像进行缩小。Step 308: Reduce the image of the target area.

步骤309:判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,则执行步骤310;如果W0/W1小于H0/H1,则执行步骤311。Step 309: Determine whether W0/W1 is not less than H0/H1, if W0/W1 is not less than H0/H1, perform step 310; if W0/W1 is less than H0/H1, perform step 311.

步骤310:确定对目标区域图像进行缩小的相关参数,其中,显示比率R=H0/H1;缩小后图像的起始坐标为(x,y);缩小后图像的宽度W=W1/R;缩小后图像的高度H=H1/R,后续可根据显示比率对目标区域图像进行缩小,结束当前流程。根据以上参数进行缩小处理如图6A所示,图6B为缩小前的目标区域,根据以上参数得到的缩小后图像如图6C所示。Step 310: Determine the relevant parameters for reducing the image of the target area, wherein, the display ratio R=H0/H1; the starting coordinates of the reduced image are (x, y); the width of the reduced image W=W1/R; The height of the final image is H=H1/R, and then the image of the target area can be reduced according to the display ratio to end the current process. The reduction process performed according to the above parameters is shown in FIG. 6A , and FIG. 6B is the target area before reduction, and the reduced image obtained according to the above parameters is shown in FIG. 6C .

优选的,为了将缩小后图像尽量放置于显示屏幕的中间位置,可以令x=(W0-(W0-2*x1)/R)/2、y=(H0-(H0-2*y1)/R)/2,这样,缩小后图像的起始坐标为((W0-(W0-2*x1)/R)/2,(H0-(H0-2*y1)/R)/2)。x、y也可以为其他值,例如,x=(W0/2)*(1-R)、y=(H0/2)*(1-R),这样,缩小后图像的起始坐标为((W0/2)*(1-R),(H0/2)*(1-R));再如,x=(W0/2)*R、y=(H0/2)*R,这样,缩小后图像的起始坐标为((W0/2)*R,(H0/2)*R))。以上只是对本发明中缩小后图像的起始坐标的具体实现给出一些示例性的描述,并非只有以上实现方式。Preferably, in order to place the reduced image in the middle of the display screen as much as possible, x=(W0-(W0-2*x1)/R)/2, y=(H0-(H0-2*y1)/ R)/2, so the starting coordinates of the reduced image are ((W0-(W0-2*x1)/R)/2, (H0-(H0-2*y1)/R)/2). x and y can also be other values, for example, x=(W0/2)*(1-R), y=(H0/2)*(1-R), like this, the starting coordinates of the reduced image are ( (W0/2)*(1-R), (H0/2)*(1-R)); another example, x=(W0/2)*R, y=(H0/2)*R, so, The starting coordinates of the reduced image are ((W0/2)*R, (H0/2)*R)). The above are just some exemplary descriptions of the specific implementation of the starting coordinates of the reduced image in the present invention, and are not the only implementations described above.

步骤311:确定对目标区域图像进行缩小的相关参数,其中,显示比率R=W0/W1;缩小后图像的起始坐标为(x,y),x=(W0-(W0-2*x1)/R)/2、y=(H0-(H0-2*y1)/R)/2;缩小后图像的宽度W=W1/R;缩小后图像的高度H=H1/R,后续可根据显示比率对目标区域图像进行缩小,并且缩小后图像的起始坐标为((W0-(W0-2*x1)/R)/2,(H0-(H0-2*y1)/R)/2),结束当前流程。Step 311: Determine the relevant parameters for reducing the image of the target area, where the display ratio R=W0/W1; the starting coordinates of the reduced image are (x, y), x=(W0-(W0-2*x1) /R)/2, y=(H0-(H0-2*y1)/R)/2; the width of the reduced image W=W1/R; the height of the reduced image H=H1/R, and the following can be displayed according to The ratio reduces the image of the target area, and the starting coordinates of the reduced image are ((W0-(W0-2*x1)/R)/2, (H0-(H0-2*y1)/R)/2) , end the current process.

优选的,为了将缩小后图像尽量放置于显示屏幕的中间位置,可以令x=(W0-(W0-2*x1)/R)/2、y=(H0-(H0-2*y1)/R)/2,这样,缩小后图像的起始坐标为((W0-(W0-2*x1)/R)/2,(H0-(H0-2*y1)/R)/2)。x、y也可以为其他值,例如,x=(W0/2)*(1-R)、y=(H0/2)*(1-R),这样,缩小后图像的起始坐标为((W0/2)*(1-R),(H0/2)*(1-R));再如,x=(W0/2)*R、y=(H0/2)*R,这样,缩小后图像的起始坐标为((W0/2)*R,(H0/2)*R))。以上只是对本发明中缩小后图像的起始坐标的具体实现给出一些示例性的描述,并非只有以上实现方式。Preferably, in order to place the reduced image in the middle of the display screen as much as possible, x=(W0-(W0-2*x1)/R)/2, y=(H0-(H0-2*y1)/ R)/2, so the starting coordinates of the reduced image are ((W0-(W0-2*x1)/R)/2, (H0-(H0-2*y1)/R)/2). x and y can also be other values, for example, x=(W0/2)*(1-R), y=(H0/2)*(1-R), like this, the starting coordinates of the reduced image are ( (W0/2)*(1-R), (H0/2)*(1-R)); another example, x=(W0/2)*R, y=(H0/2)*R, so, The starting coordinates of the reduced image are ((W0/2)*R, (H0/2)*R)). The above are just some exemplary descriptions of the specific implementation of the starting coordinates of the reduced image in the present invention, and are not the only implementations described above.

为了适应显示需要,可对以上计算过程得到的相关参数进行取整。确定了图像缩放的相关参数后,所涉及的图像缩放的具体处理与现有技术中采用的方案完全相同,在此不再赘述。In order to meet the display needs, the relevant parameters obtained in the above calculation process can be rounded. After the relevant parameters of image scaling are determined, the specific processing involved in image scaling is exactly the same as the solution adopted in the prior art, and will not be repeated here.

针对以上图3所示的流程,预先设置的用户输入信息与缩放规则之间的对应关系具体为:For the process shown in Figure 3 above, the correspondence between the preset user input information and the scaling rules is specifically:

如果用户第一次输入的横坐标小于第二次输入的横坐标,则对目标区域图像进行放大,并且,根据由用户输入信息确定的目标区域确定显示比率,即:If the abscissa input by the user for the first time is smaller than the abscissa input for the second time, the image of the target area is enlarged, and the display ratio is determined according to the target area determined by the user input information, namely:

原始图像与目标区域的宽度比不小于高度比时,显示比率为原始图像与目标区域的高度比;原始图像与目标区域的宽度比小于高度比时,显示比率为原始图像与目标区域的宽度比;When the width ratio of the original image to the target area is not less than the height ratio, the display ratio is the height ratio of the original image to the target area; when the width ratio of the original image to the target area is smaller than the height ratio, the display ratio is the width ratio of the original image to the target area ;

如果用户第一次输入的横坐标不小于第二次输入的横坐标,则对目标区域图像进行缩小,并且,根据由用户输入信息确定的目标区域确定显示比率,即:If the abscissa input by the user for the first time is not smaller than the abscissa input for the second time, the image of the target area is reduced, and the display ratio is determined according to the target area determined by the user input information, namely:

原始图像与目标区域的宽度比不小于高度比时,显示比率为原始图像与目标区域的高度比;原始图像与目标区域的宽度比小于高度比时,显示比率为原始图像与目标区域的宽度比。When the width ratio of the original image to the target area is not less than the height ratio, the display ratio is the height ratio of the original image to the target area; when the width ratio of the original image to the target area is smaller than the height ratio, the display ratio is the width ratio of the original image to the target area .

进一步地,还可以设置根据由用户输入信息确定的目标区域确定放大/缩小后图像的起始坐标。Further, it may also be set to determine the starting coordinates of the enlarged/reduced image according to the target area determined by the user input information.

以上只是通过一个较佳实施例对本发明的具体实现进行说明,并非本发明只能采用图3所示的方案来实现。The above is only a description of the specific implementation of the present invention through a preferred embodiment, and it does not mean that the present invention can only be realized by using the scheme shown in FIG. 3 .

为了使得图像缩放的操作更为简洁迅速,本发明中可以通过双击鼠标来进行图像显示尺寸的恢复。但是,由于用户的操作意图存在不确定性,并且各个用户的习惯不同,在双击的同时考虑到用户操作的稳定性,为了避免由于用户点击区域的抖动,而导致错误的操作,本发明中设置界定操作是否有效的有效条件,当用户操作满足有效条件时,可以恢复图像的显示尺寸;否则,将不会恢复图像的显示尺寸。具体处理流程如下:获得用户双击鼠标的操作,用户第一次双击鼠标的坐标为(x3,y3)、时刻为t1,第二次双击鼠标的坐标为(x4,y4),时刻为t2,判断|x4-x3|是否小于设定的位移门限LimitLen、并且t2-t1是否小于设定的时间门限LimitTime,如果均满足,即|x4-x3|<LimitLen、并且t2-t1<LimitTime,则确定用户操作有效,恢复目标区域图像的显示尺寸;如果任一条件不满足,则确定用户操作无效,不恢复目标区域图像的显示尺寸。LimitLen和LimitTime设置在系统中,可以由系统设定,也可以由用户设定。出于系统性能的考虑,根据经验,LimitLen可以设定为3~5个像素,LimitTime可以采用系统自定义的双击间隔时间。In order to make the operation of image scaling more concise and rapid, in the present invention, the display size of the image can be restored by double-clicking the mouse. However, due to the uncertainty of the user's operation intention and the different habits of each user, the stability of the user's operation is considered when double-clicking. Defines the valid conditions for whether the operation is valid. When the user operation meets the valid conditions, the display size of the image can be restored; otherwise, the display size of the image will not be restored. The specific processing flow is as follows: obtain the operation of the user double-clicking the mouse, the coordinates of the user's first double-clicking of the mouse are (x3, y3), and the time is t1, and the coordinates of the second double-clicking of the mouse are (x4, y4), and the time is t2, judge Whether |x4-x3| is less than the set displacement threshold LimitLen, and whether t2-t1 is less than the set time threshold LimitTime, if both are satisfied, that is, |x4-x3|<LimitLen, and t2-t1<LimitTime, then determine the user If the operation is valid, the display size of the image in the target area is restored; if any condition is not met, it is determined that the user operation is invalid, and the display size of the image in the target area is not restored. LimitLen and LimitTime are set in the system and can be set by the system or by the user. In consideration of system performance, according to experience, LimitLen can be set to 3 to 5 pixels, and LimitTime can adopt the system-defined double-click interval time.

在用户观看缩放后图像的过程中,根据用户需求需要不断改变缩放后图像在显示屏幕中的所在位置,因此,本发明中可以通过捕获用户拖动鼠标来对缩放后图像进行移动,以改变缩放后图像在显示屏幕中的所在位置,实现目标区域的过滤操作,从而实现向用户展现动态变化的缩放图像内容。In the process of the user viewing the zoomed image, the position of the zoomed image on the display screen needs to be constantly changed according to the user's needs. Therefore, in the present invention, the zoomed image can be moved by capturing the user dragging the mouse to change the zoom. The location of the final image on the display screen is used to implement the filtering operation of the target area, thereby realizing the display of dynamically changing zoomed image content to the user.

具体处理过程如下:预先设置用户操作与过滤规则之间的对应关系;捕获用户操作后,根据设置的用户操作与过滤规则之间的对应关系,确定与用户操作相对应的过滤规则;根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。The specific processing process is as follows: pre-set the corresponding relationship between user operations and filtering rules; after capturing user operations, determine the corresponding filtering rules according to the set user operations and filtering rules; according to the filtering The rule determines the starting coordinates of the image by which to move the scaled image.

例如,用户按下鼠标右键进行选中,捕获用户按下鼠标右键选中的坐标(x5,y5),用户拖动一段区域后释放鼠标,捕获用户拖动鼠标释放时的坐标(x6,y6);根据x5与x6、y5与y6之间的关系确定移动图像的方式:如果x6-x5≥0、y6-y5≥0,则缩放后图像向显示屏幕的右下方移动,移动后的缩放后图像的起始坐标为(x2-x1,y2-y1)、宽度W`=W0-(x2-x1)、高度H`=H0-(y2-y1),如图7A所示;如果x6-x5≥0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(x2-x1,0)、宽度W`=W0-(x2-x1)、高度H`=H0+(y2-y1),如图7B所示;如果x6-x5<0、y6-y5≥0,则缩放后图像向显示屏幕的左下方移动,移动后的缩放后图像的起始坐标为(0,y2-y1)、宽度W`=W0+(x2-x1)、高度H`=H0-(y2-y1),如图7C所示;如果x6-x5<0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(0,0)、宽度W`=W0+(x2-x1)、高度H`=H0+(y2-y1),如图7D所示。For example, if the user presses the right mouse button to select, capture the coordinates (x5, y5) that the user presses the right mouse button to select, and release the mouse after the user drags a certain area, captures the coordinates (x6, y6) when the user drags the mouse and releases it; according to The relationship between x5 and x6, y5 and y6 determines the way to move the image: if x6-x5≥0, y6-y5≥0, the zoomed image moves to the bottom right of the display screen, and the starting point of the zoomed image after moving The initial coordinates are (x2-x1, y2-y1), width W`=W0-(x2-x1), height H`=H0-(y2-y1), as shown in Figure 7A; if x6-x5≥0, y6-y5<0, the zoomed image moves to the upper right of the display screen, and the starting coordinates of the moved zoomed image are (x2-x1, 0), width W`=W0-(x2-x1), height H`=H0+(y2-y1), as shown in Figure 7B; if x6-x5<0, y6-y5≥0, the zoomed image moves to the lower left of the display screen, and the starting point of the moved zoomed image is Coordinates are (0, y2-y1), width W`=W0+(x2-x1), height H`=H0-(y2-y1), as shown in Figure 7C; if x6-x5<0, y6-y5< 0, the zoomed image moves to the upper right of the display screen, the starting coordinates of the moved zoomed image are (0, 0), width W`=W0+(x2-x1), height H`=H0+(y2- y1), as shown in Figure 7D.

图像锐化处理是对图像的轮廓进行补偿,增强图像的边缘及灰度跳变的部分,使图像变得清晰。针对缩放后图像存在模糊的问题,本发明中可以采用锐化处理使缩放后图像清晰化,如图8所示。锐化处理可以采用梯度锐化法,Roberts、Prewitt、Sobel和Laplacian等算法来实现;在保证现实质量的前提下,针对性能显示设备的锐化处理可以采用线性插值将缩放后图像进行像素拷贝并调整像素值,同时采用高通滤波器对图像模糊色彩进行过滤,实现图像的清晰化。Image sharpening is to compensate the outline of the image, enhance the edge of the image and the part of the grayscale jump, and make the image clear. Aiming at the problem that the zoomed image is blurred, sharpening processing may be used in the present invention to clear the zoomed image, as shown in FIG. 8 . Sharpening can be achieved by gradient sharpening, Roberts, Prewitt, Sobel, and Laplacian algorithms; on the premise of ensuring realistic quality, the sharpening for performance display devices can use linear interpolation to copy the pixels of the zoomed image and Adjust the pixel value, and use the high-pass filter to filter the blurred color of the image to realize the clarity of the image.

图9为本发明中实现图像缩放装置结构示意图,如图9所示,实现图像缩放的装置包括:存储单元、输入检测单元、规则确定单元和参数确定单元,其中,存储单元用于存储预先设置的用户输入信息与缩放规则之间的对应关系;输入检测单元用于获得用户输入信息,并提供给规则确定单元;规则确定单元用于根据存储单元存储的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则,并提供给参数确定单元;参数确定单元用于根据缩放规则确定目标区域,并根据缩放规则确定目标区域图像的显示比率。参数确定单元还进一步用于根据缩放规则确定缩放后图像的起始坐标。Fig. 9 is a schematic structural diagram of an image zooming device in the present invention. As shown in Fig. 9, the device for realizing image zooming includes: a storage unit, an input detection unit, a rule determination unit and a parameter determination unit, wherein the storage unit is used to store preset The corresponding relationship between the user input information and the scaling rules; the input detection unit is used to obtain the user input information and provide it to the rule determination unit; the rule determination unit is used to correspond between the user input information stored in the storage unit and the scaling rules relationship, determine the scaling rule corresponding to the user input information, and provide it to the parameter determining unit; the parameter determining unit is used to determine the target area according to the scaling rule, and determine the display ratio of the target area image according to the scaling rule. The parameter determination unit is further configured to determine the starting coordinates of the scaled image according to the scaling rule.

实现图像缩放的装置进一步包括:缩放处理单元,用于根据显示比率对目标区域图像进行缩放处理;如果参数确定单元还进一步用于根据缩放规则确定缩放后图像的起始坐标,则缩放处理单元进一步用于将缩放后图像位于确定的起始坐标处。The device for realizing image scaling further includes: a scaling processing unit, which is used to perform scaling processing on the target area image according to the display ratio; It is used to locate the zoomed image at the determined starting coordinates.

在实现图像缩放的装置包括缩放处理单元的基础上,该装置进一步包括:有效判断单元,用于确定用户操作有效时,通知缩放处理单元恢复图像的显示尺寸;缩放处理单元用于停止对目标区域图像进行缩放处理。On the basis that the device for realizing image zooming includes a zooming processing unit, the device further includes: an effective judging unit, configured to notify the zooming processing unit to restore the display size of the image when determining that the user operation is valid; The image is scaled.

在实现图像缩放的装置包括缩放处理单元的基础上,该装置进一步包括:操作捕获单元和过滤处理单元,存储单元进一步用于存储预先设置的用户操作与过滤规则之间的对应关系;操作捕获单元用于捕获用户操作,并提供给过滤处理单元;过滤处理单元用于根据设置的用户操作与过滤规则之间的对应关系,确定与用户操作相对应的过滤规则,根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。On the basis that the device for realizing image zooming includes a zooming processing unit, the device further includes: an operation capturing unit and a filtering processing unit, and the storage unit is further used to store a preset correspondence between user operations and filtering rules; the operation capturing unit It is used to capture user operations and provide them to the filter processing unit; the filter processing unit is used to determine the filter rules corresponding to the user operations according to the corresponding relationship between the set user operations and filter rules, and determine the origin of the image according to the filter rules The starting coordinate, according to which the zoomed image is moved.

在实现图像缩放的装置包括缩放处理单元的基础上,该装置进一步包括:锐化处理单元,对缩放后的图像进行锐化处理。On the basis that the device for realizing image zooming includes a zooming processing unit, the device further includes: a sharpening processing unit, which performs sharpening processing on the zoomed image.

以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.

Claims (17)

1、一种实现图像缩放中的处理方法,其特征在于,该方法包括:1, a kind of processing method in realizing image scaling, is characterized in that, this method comprises: 获得用户输入信息;Obtain user input information; 根据设置的用户输入信息与缩放规则之间的对应关系,确定与用户输入信息相对应的缩放规则;Determine a scaling rule corresponding to the user input information according to the set correspondence between the user input information and the scaling rule; 根据所述缩放规则确定目标区域,并根据所述缩放规则确定目标区域图像的显示比率。The target area is determined according to the scaling rule, and the display ratio of the target area image is determined according to the scaling rule. 2、根据权利要求1所述的方法,其特征在于,所述确定目标区域和显示比率之后,进一步包括:根据所述缩放规则确定缩放后图像的起始坐标。2. The method according to claim 1, further comprising: determining the starting coordinates of the zoomed image according to the scaling rule after the determining the target area and the display ratio. 3、根据权利要求1所述的方法,其特征在于,设置原始图像的起始坐标为(0,0),宽度为W0,高度为H0,3. The method according to claim 1, characterized in that the initial coordinates of the original image are set as (0, 0), the width is W0, the height is H0, 所述获得用户输入信息包括:获得用户通过鼠标输入的两个坐标位置,用户第一次通过鼠标输入的坐标为(x1,y1),用户第二次通过鼠标输入的坐标为(x2,y2);The obtaining of user input information includes: obtaining two coordinate positions input by the user through the mouse, the coordinates input by the user through the mouse for the first time are (x1, y1), and the coordinates input by the user through the mouse for the second time are (x2, y2) ; 所述根据设置的用户输入信息与缩放规则之间的对应关系确定与用户输入信息相对应的缩放规则、根据所述缩放规则确定目标区域、目标区域图像的显示比率,包括:The determining the scaling rule corresponding to the user input information according to the corresponding relationship between the set user input information and the scaling rule, determining the target area and the display ratio of the target area image according to the scaling rule include: 确定目标区域的起始坐标为(x1,y1),宽度W1=|x2-x1|,高度H1=|y2-y1|,判断x1是否小于x2,Determine the starting coordinates of the target area as (x1, y1), width W1=|x2-x1|, height H1=|y2-y1|, determine whether x1 is smaller than x2, 如果x1小于x2,对目标区域图像进行放大,判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,确定目标区域图像的显示比率为R=H0/H1;如果W0/W1小于H0/H1,确定目标区域图像的显示比率为R=W0/W1;If x1 is less than x2, enlarge the image of the target area to determine whether W0/W1 is not less than H0/H1, if W0/W1 is not less than H0/H1, determine the display ratio of the target area image as R=H0/H1; if W0/W1 W1 is less than H0/H1, and the display ratio of the target area image is determined to be R=W0/W1; 如果x1不小于x2,对目标区域图像进行缩小,判断W0/W1是否不小于H0/H1,如果W0/W1不小于H0/H1,确定目标区域图像的显示比率为R=H0/H1;如果W0/W1小于H0/H1,确定目标区域图像的显示比率为R=W0/W1。If x1 is not less than x2, shrink the image of the target area to determine whether W0/W1 is not less than H0/H1, and if W0/W1 is not less than H0/H1, determine that the display ratio of the image of the target area is R=H0/H1; if W0 /W1 is smaller than H0/H1, and the display ratio of the target area image is determined to be R=W0/W1. 4、根据权利要求3所述的方法,其特征在于,4. The method of claim 3, wherein: 所述确定目标区域图像的显示比率为R=H0/H1之后,进一步包括:确定放大后图像的起始坐标为(x,0)、宽度为W1*R、高度为H0;After the determination of the display ratio of the image of the target area is R=H0/H1, it further includes: determining that the starting coordinates of the enlarged image are (x, 0), the width is W1*R, and the height is H0; 所述确定目标区域图像的显示比率为R=W0/W1之后,进一步包括:确定放大后图像的起始坐标为(0,y)、宽度为W0、高度为H1*R;After the determination of the display ratio of the image of the target area is R=W0/W1, it further includes: determining that the starting coordinates of the enlarged image are (0, y), the width is W0, and the height is H1*R; 所述确定目标区域图像的显示比率为R=H0/H1之后,进一步包括:确定缩小后图像的起始坐标为(x,y)、宽度为W1/R、高度为H1/R;After determining the display ratio of the target area image as R=H0/H1, it further includes: determining the starting coordinates of the reduced image as (x, y), the width as W1/R, and the height as H1/R; 所述确定目标区域图像的显示比率为R=W0/W1之后,进一步包括:确定缩小后图像的起始坐标为(x,y)、宽度为W1/R、高度为H1/R。After determining the display ratio of the target area image as R=W0/W1, the method further includes: determining the starting coordinates of the reduced image as (x, y), the width as W1/R, and the height as H1/R. 5、根据权利要求2或4所述的方法,其特征在于,所述确定目标区域图像的显示比率之后,进一步包括:根据显示比率对目标区域图像进行缩放处理,并将缩放后图像位于确定的起始坐标处。5. The method according to claim 2 or 4, characterized in that after determining the display ratio of the target area image, further comprising: performing scaling processing on the target area image according to the display ratio, and positioning the zoomed image at the determined starting coordinates. 6、根据权利要求5所述的方法,其特征在于,所述对目标区域图像进行缩放处理之后,进一步包括:确定用户操作满足有效条件时,恢复目标区域图像的显示尺寸。6 . The method according to claim 5 , further comprising: after determining that the user operation satisfies a valid condition, restoring the display size of the target area image after the scaling process of the target area image. 7、根据权利要求6所述的方法,其特征在于,所述确定用户操作满足有效条件时恢复目标区域图像的显示尺寸,包括:7. The method according to claim 6, wherein said restoring the display size of the target area image when determining that the user operation satisfies the valid condition comprises: 获得用户双击鼠标的操作,用户第一次双击鼠标的坐标为(x3,y3)、时刻为t1,第二次双击鼠标的坐标为(x4,y4),时刻为t2;Obtain the operation of the user double-clicking the mouse. The coordinates of the user's first double-clicking of the mouse are (x3, y3) and the time is t1, and the coordinates of the second double-clicking of the mouse are (x4, y4) and the time is t2; 判断|x4-x3|是否小于设定的位移门限、并且t2-t1是否小于设定的时间门限,如果均满足,则确定用户操作有效,恢复目标区域图像的显示尺寸;否则,确定用户操作无效,不恢复图像的显示尺寸。Judging whether |x4-x3| is less than the set displacement threshold, and whether t2-t1 is less than the set time threshold, if both are satisfied, then determine that the user operation is valid and restore the display size of the image in the target area; otherwise, determine that the user operation is invalid , does not restore the display size of the image. 8、根据权利要求5所述的方法,其特征在于,该方法进一步包括:8. The method according to claim 5, further comprising: A、捕获用户操作,根据设置的用户操作与过滤规则之间的对应关系确定与用户操作相对应的过滤规则;根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。A. Capture user operations, determine the corresponding filtering rules according to the corresponding relationship between user operations and filtering rules set; determine the starting coordinates of the image according to the filtering rules, and move the zoomed image according to the starting coordinates. 9、根据权利要求8所述的方法,其特征在于,设置原始图像的起始坐标为(0,0),宽度为W0,高度为H0,所述步骤A包括:9. The method according to claim 8, wherein the initial coordinates of the original image are set as (0, 0), the width is W0, and the height is H0, and the step A includes: 捕获用户通过鼠标输入的坐标(x5,y5),捕获用户通过鼠标输入的坐标(x6,y6);Capture the coordinates (x5, y5) entered by the user through the mouse, and capture the coordinates (x6, y6) entered by the user through the mouse; 如果x6-x5≥0、y6-y5≥0,则缩放后图像向显示屏幕的右下方移动,移动后的缩放后图像的起始坐标为(x2-x1,y2-y1)、宽度为W0-(x2-x1)、高度为H0-(y2-y 1);If x6-x5≥0, y6-y5≥0, the zoomed image moves to the bottom right of the display screen, the starting coordinates of the moved zoomed image are (x2-x1, y2-y1), and the width is W0- (x2-x1), the height is H0-(y2-y 1); 如果x6-x5≥0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(x2-x1,0)、宽度为W0-(x2-x1)、高度为H0+(y2-y1);If x6-x5≥0, y6-y5<0, the zoomed image moves to the upper right of the display screen, the starting coordinates of the moved zoomed image are (x2-x1, 0), and the width is W0-(x2 -x1), the height is H0+(y2-y1); 如果x6-x5<0、y6-y5≥0,则缩放后图像向显示屏幕的左下方移动,移动后的缩放后图像的起始坐标为(0,y2-y1)、宽度为W0+(x2-x1)、高度为H0-(y2-y1);If x6-x5<0, y6-y5≥0, the zoomed image moves to the lower left of the display screen, and the starting coordinates of the moved zoomed image are (0, y2-y1), and the width is W0+(x2- x1), the height is H0-(y2-y1); 如果x6-x5<0、y6-y5<0,则缩放后图像向显示屏幕的右上方移动,移动后的缩放后图像的起始坐标为(0,0)、宽度为W0+(x2-x1)、高度为H0+(y2-y1)。If x6-x5<0, y6-y5<0, the zoomed image moves to the upper right of the display screen, the starting coordinates of the moved zoomed image are (0, 0), and the width is W0+(x2-x1) , the height is H0+(y2-y1). 10、根据权利要求5所述的方法,其特征在于,所述对目标区域图像进行缩放处理之后,进一步包括:对缩放后的图像进行锐化处理。10 . The method according to claim 5 , further comprising: performing sharpening processing on the zoomed image after said scaling the image of the target area. 11、根据权利要求10所述的方法,其特征在于,所述对缩放后的图像进行锐化处理,包括:采用线性插值将缩放后图像进行像素拷贝并调整像素值,并采用高通滤波器对图像模糊色彩进行过滤。11. The method according to claim 10, wherein said sharpening the zoomed image comprises: using linear interpolation to copy pixels of the zoomed image and adjusting pixel values, and using a high-pass filter to The image is blurred by color filtering. 12、一种实现图像缩放中的处理装置,其特征在于,该装置包括:存储单元、输入检测单元、规则确定单元和参数确定单元,其中,12. A processing device for realizing image scaling, characterized in that the device includes: a storage unit, an input detection unit, a rule determination unit, and a parameter determination unit, wherein, 所述存储单元用于存储预先设置的用户输入信息与缩放规则之间的对应关系;The storage unit is used to store preset correspondence between user input information and scaling rules; 所述输入检测单元用于获得用户输入信息;The input detection unit is used to obtain user input information; 所述规则确定单元用于根据所述用户输入信息与缩放规则之间的对应关系,确定与所述用户输入信息相对应的缩放规则;The rule determining unit is configured to determine a scaling rule corresponding to the user input information according to a correspondence between the user input information and scaling rules; 所述参数确定单元用于根据缩放规则确定目标区域,并根据缩放规则确定目标区域图像的显示比率。The parameter determination unit is used to determine the target area according to the scaling rule, and determine the display ratio of the target area image according to the scaling rule. 13、根据权利要求12所述的装置,其特征在于,所述参数确定单元进一步用于:根据缩放规则确定缩放后图像的起始坐标。13. The device according to claim 12, wherein the parameter determination unit is further configured to: determine the starting coordinates of the scaled image according to a scaling rule. 14、根据权利要求13所述的装置,其特征在于,所述装置进一步包括:缩放处理单元,用于根据显示比率对目标区域图像进行缩放处理,并将缩放后图像位于确定的起始坐标处。14. The device according to claim 13, characterized in that the device further comprises: a scaling processing unit, configured to perform scaling processing on the target area image according to the display ratio, and position the scaled image at the determined starting coordinate . 15、根据权利要求14所述的装置,其特征在于,15. The device of claim 14, wherein: 所述装置进一步包括:有效判断单元,用于确定用户操作有效时,通知缩放处理单元恢复图像的显示尺寸;The device further includes: a valid judgment unit, configured to notify the scaling processing unit to restore the display size of the image when it is determined that the user operation is valid; 所述缩放处理单元用于停止对目标区域图像进行缩放处理。The scaling processing unit is configured to stop performing scaling processing on the image of the target area. 16、根据权利要求14或15所述的装置,其特征在于,所述装置进一步包括:操作捕获单元和过滤处理单元,16. The device according to claim 14 or 15, characterized in that the device further comprises: an operation capture unit and a filter processing unit, 所述存储单元进一步用于存储预先设置的用户操作与过滤规则之间的对应关系;The storage unit is further used to store a preset correspondence between user operations and filtering rules; 所述操作捕获单元用于捕获用户操作;The operation capture unit is used to capture user operations; 所述过滤处理单元用于根据所述用户操作与过滤规则之间的对应关系,确定与所述用户操作相对应的过滤规则,根据该过滤规则确定图像的起始坐标,根据该起始坐标移动缩放后图像。The filtering processing unit is configured to determine a filtering rule corresponding to the user operation according to the corresponding relationship between the user operation and the filtering rule, determine the starting coordinates of the image according to the filtering rule, and move the image according to the starting coordinates. Zoomed image. 17、根据权利要求14或15所述的装置,其特征在于,所述装置进一步包括:锐化处理单元,对缩放后的图像进行锐化处理。17. The device according to claim 14 or 15, characterized in that the device further comprises: a sharpening processing unit, which performs sharpening processing on the zoomed image.
CN2009100864826A 2009-06-05 2009-06-05 Processing method and device for realizing image zooming Active CN101576996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100864826A CN101576996B (en) 2009-06-05 2009-06-05 Processing method and device for realizing image zooming

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100864826A CN101576996B (en) 2009-06-05 2009-06-05 Processing method and device for realizing image zooming

Publications (2)

Publication Number Publication Date
CN101576996A true CN101576996A (en) 2009-11-11
CN101576996B CN101576996B (en) 2012-04-25

Family

ID=41271930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100864826A Active CN101576996B (en) 2009-06-05 2009-06-05 Processing method and device for realizing image zooming

Country Status (1)

Country Link
CN (1) CN101576996B (en)

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096545A (en) * 2009-12-11 2011-06-15 三星电子株式会社 Electronic apparatus and method of controlling the same
CN102339469A (en) * 2010-07-21 2012-02-01 腾讯科技(深圳)有限公司 Image processing method and device
CN102890816A (en) * 2011-07-20 2013-01-23 深圳市快播科技有限公司 Method and device for video image scaling
CN102890603A (en) * 2011-07-20 2013-01-23 深圳市快播科技有限公司 Video image processing method and video image processing device
CN103096019A (en) * 2011-11-02 2013-05-08 广达电脑股份有限公司 Video conference system, terminal device and image capturing method for video conference
CN103345738A (en) * 2013-06-04 2013-10-09 北京百度网讯科技有限公司 Object detection method and device based on area of interest
CN105225201A (en) * 2015-09-06 2016-01-06 网易(杭州)网络有限公司 A kind of method and system of display object adaptive resolution display
CN105763768A (en) * 2014-12-15 2016-07-13 深圳市中兴微电子技术有限公司 Image processing method, device and system
CN107463306A (en) * 2017-07-12 2017-12-12 北京潘达互娱科技有限公司 Method for displaying image and device
CN107680051A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image filtering method and mobile terminal
CN110019860A (en) * 2017-12-04 2019-07-16 天津三星电子有限公司 A kind of processing method and electronic equipment of multimedia file
CN111083568A (en) * 2019-12-13 2020-04-28 维沃移动通信有限公司 Video data processing method and electronic equipment
CN111093045A (en) * 2019-12-10 2020-05-01 北京佳讯飞鸿电气股份有限公司 Method and device for scaling video sequence resolution
CN111756999A (en) * 2016-06-12 2020-10-09 苹果公司 User interface for camera effects
US11178335B2 (en) 2018-05-07 2021-11-16 Apple Inc. Creative camera
US11204692B2 (en) 2017-06-04 2021-12-21 Apple Inc. User interface camera effects
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
US11223771B2 (en) 2019-05-06 2022-01-11 Apple Inc. User interfaces for capturing and managing visual media
WO2022022689A1 (en) * 2020-07-31 2022-02-03 北京字节跳动网络技术有限公司 Interaction method and apparatus, and electronic device
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11330184B2 (en) 2020-06-01 2022-05-10 Apple Inc. User interfaces for managing media
US11350026B1 (en) 2021-04-30 2022-05-31 Apple Inc. User interfaces for altering visual media
US11490017B2 (en) 2015-04-23 2022-11-01 Apple Inc. Digital viewfinder user interface for multiple cameras
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media
CN117036465A (en) * 2023-08-14 2023-11-10 江苏一影医疗设备有限公司 Medical image processing method and processing system
US11895391B2 (en) 2018-09-28 2024-02-06 Apple Inc. Capturing and displaying images with multiple focal planes
US11977731B2 (en) 2018-02-09 2024-05-07 Apple Inc. Media capture lock affordance for graphical user interface
US12112024B2 (en) 2021-06-01 2024-10-08 Apple Inc. User interfaces for managing media styles
US12154218B2 (en) 2018-09-11 2024-11-26 Apple Inc. User interfaces simulated depth effects
US12401889B2 (en) 2023-05-05 2025-08-26 Apple Inc. User interfaces for controlling media capture settings
US12506953B2 (en) 2021-12-03 2025-12-23 Apple Inc. Device, methods, and graphical user interfaces for capturing and displaying media

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6714218B1 (en) * 2000-09-05 2004-03-30 Intel Corporation Scaling images
CN101155301B (en) * 2006-09-28 2010-08-11 腾讯科技(深圳)有限公司 Stream media video image amplifying method and stream media receiving client terminal
CN101329860A (en) * 2007-06-22 2008-12-24 鸿富锦精密工业(深圳)有限公司 Image scaling system and scaling method

Cited By (65)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096545A (en) * 2009-12-11 2011-06-15 三星电子株式会社 Electronic apparatus and method of controlling the same
CN102339469A (en) * 2010-07-21 2012-02-01 腾讯科技(深圳)有限公司 Image processing method and device
CN102890603B (en) * 2011-07-20 2015-05-27 深圳市快播科技有限公司 Video image processing method and video image processing device
CN102890603A (en) * 2011-07-20 2013-01-23 深圳市快播科技有限公司 Video image processing method and video image processing device
CN102890816B (en) * 2011-07-20 2015-07-29 深圳市快播科技有限公司 Video image zooming disposal route and video image zooming treating apparatus
CN102890816A (en) * 2011-07-20 2013-01-23 深圳市快播科技有限公司 Method and device for video image scaling
CN103096019A (en) * 2011-11-02 2013-05-08 广达电脑股份有限公司 Video conference system, terminal device and image capturing method for video conference
CN103096019B (en) * 2011-11-02 2015-12-02 广达电脑股份有限公司 Video conference system, terminal device and image capturing method for video conference
CN103345738A (en) * 2013-06-04 2013-10-09 北京百度网讯科技有限公司 Object detection method and device based on area of interest
CN103345738B (en) * 2013-06-04 2016-08-17 北京百度网讯科技有限公司 Method for checking object based on area-of-interest and device
CN105763768B (en) * 2014-12-15 2019-12-13 深圳市中兴微电子技术有限公司 An image processing method, device and system
CN105763768A (en) * 2014-12-15 2016-07-13 深圳市中兴微电子技术有限公司 Image processing method, device and system
US11711614B2 (en) 2015-04-23 2023-07-25 Apple Inc. Digital viewfinder user interface for multiple cameras
US12149831B2 (en) 2015-04-23 2024-11-19 Apple Inc. Digital viewfinder user interface for multiple cameras
US11490017B2 (en) 2015-04-23 2022-11-01 Apple Inc. Digital viewfinder user interface for multiple cameras
CN105225201B (en) * 2015-09-06 2018-07-06 网易(杭州)网络有限公司 A kind of method and system for showing object adaptive resolution and showing
CN105225201A (en) * 2015-09-06 2016-01-06 网易(杭州)网络有限公司 A kind of method and system of display object adaptive resolution display
CN111756999A (en) * 2016-06-12 2020-10-09 苹果公司 User interface for camera effects
US11165949B2 (en) 2016-06-12 2021-11-02 Apple Inc. User interface for capturing photos with different camera magnifications
US12132981B2 (en) 2016-06-12 2024-10-29 Apple Inc. User interface for camera effects
US11962889B2 (en) 2016-06-12 2024-04-16 Apple Inc. User interface for camera effects
US11245837B2 (en) 2016-06-12 2022-02-08 Apple Inc. User interface for camera effects
CN111756999B (en) * 2016-06-12 2022-03-29 苹果公司 User interface for camera effects
US11641517B2 (en) 2016-06-12 2023-05-02 Apple Inc. User interface for camera effects
US11204692B2 (en) 2017-06-04 2021-12-21 Apple Inc. User interface camera effects
US12314553B2 (en) 2017-06-04 2025-05-27 Apple Inc. User interface camera effects
US11687224B2 (en) 2017-06-04 2023-06-27 Apple Inc. User interface camera effects
CN107463306A (en) * 2017-07-12 2017-12-12 北京潘达互娱科技有限公司 Method for displaying image and device
CN107680051A (en) * 2017-09-18 2018-02-09 维沃移动通信有限公司 A kind of image filtering method and mobile terminal
CN110019860A (en) * 2017-12-04 2019-07-16 天津三星电子有限公司 A kind of processing method and electronic equipment of multimedia file
US11977731B2 (en) 2018-02-09 2024-05-07 Apple Inc. Media capture lock affordance for graphical user interface
US12530116B2 (en) 2018-02-09 2026-01-20 Apple Inc. Media capture lock affordance for graphical user interface
US11722764B2 (en) 2018-05-07 2023-08-08 Apple Inc. Creative camera
US12170834B2 (en) 2018-05-07 2024-12-17 Apple Inc. Creative camera
US11178335B2 (en) 2018-05-07 2021-11-16 Apple Inc. Creative camera
US12154218B2 (en) 2018-09-11 2024-11-26 Apple Inc. User interfaces simulated depth effects
US12394077B2 (en) 2018-09-28 2025-08-19 Apple Inc. Displaying and editing images with depth information
US11669985B2 (en) 2018-09-28 2023-06-06 Apple Inc. Displaying and editing images with depth information
US11321857B2 (en) 2018-09-28 2022-05-03 Apple Inc. Displaying and editing images with depth information
US11895391B2 (en) 2018-09-28 2024-02-06 Apple Inc. Capturing and displaying images with multiple focal planes
US11223771B2 (en) 2019-05-06 2022-01-11 Apple Inc. User interfaces for capturing and managing visual media
US11770601B2 (en) 2019-05-06 2023-09-26 Apple Inc. User interfaces for capturing and managing visual media
US12192617B2 (en) 2019-05-06 2025-01-07 Apple Inc. User interfaces for capturing and managing visual media
US11706521B2 (en) 2019-05-06 2023-07-18 Apple Inc. User interfaces for capturing and managing visual media
CN111093045A (en) * 2019-12-10 2020-05-01 北京佳讯飞鸿电气股份有限公司 Method and device for scaling video sequence resolution
CN111083568A (en) * 2019-12-13 2020-04-28 维沃移动通信有限公司 Video data processing method and electronic equipment
US12081862B2 (en) 2020-06-01 2024-09-03 Apple Inc. User interfaces for managing media
US11617022B2 (en) 2020-06-01 2023-03-28 Apple Inc. User interfaces for managing media
US11330184B2 (en) 2020-06-01 2022-05-10 Apple Inc. User interfaces for managing media
US12316922B2 (en) 2020-07-31 2025-05-27 Beijing Bytedance Network Technology Co., Ltd. Interaction method and apparatus, and electronic device
US11863835B2 (en) 2020-07-31 2024-01-02 Douyin Vision Co., Ltd. Interaction method and apparatus, and electronic device
WO2022022689A1 (en) * 2020-07-31 2022-02-03 北京字节跳动网络技术有限公司 Interaction method and apparatus, and electronic device
US11212449B1 (en) 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
US12155925B2 (en) 2020-09-25 2024-11-26 Apple Inc. User interfaces for media capture and management
US11418699B1 (en) 2021-04-30 2022-08-16 Apple Inc. User interfaces for altering visual media
US12101567B2 (en) 2021-04-30 2024-09-24 Apple Inc. User interfaces for altering visual media
US11539876B2 (en) 2021-04-30 2022-12-27 Apple Inc. User interfaces for altering visual media
US11778339B2 (en) 2021-04-30 2023-10-03 Apple Inc. User interfaces for altering visual media
US11350026B1 (en) 2021-04-30 2022-05-31 Apple Inc. User interfaces for altering visual media
US11416134B1 (en) 2021-04-30 2022-08-16 Apple Inc. User interfaces for altering visual media
US12112024B2 (en) 2021-06-01 2024-10-08 Apple Inc. User interfaces for managing media styles
US12506953B2 (en) 2021-12-03 2025-12-23 Apple Inc. Device, methods, and graphical user interfaces for capturing and displaying media
US12401889B2 (en) 2023-05-05 2025-08-26 Apple Inc. User interfaces for controlling media capture settings
US12495204B2 (en) 2023-05-05 2025-12-09 Apple Inc. User interfaces for controlling media capture settings
CN117036465A (en) * 2023-08-14 2023-11-10 江苏一影医疗设备有限公司 Medical image processing method and processing system

Also Published As

Publication number Publication date
CN101576996B (en) 2012-04-25

Similar Documents

Publication Publication Date Title
CN101576996B (en) Processing method and device for realizing image zooming
US11550420B2 (en) Quick review of captured image data
CN102890816B (en) Video image zooming disposal route and video image zooming treating apparatus
CN102890603B (en) Video image processing method and video image processing device
CN103645871B (en) A kind of method and system of Dynamic Announce local area image
CN112399123B (en) Video definition adjusting method and device, electronic equipment and storage medium
CN101873426B (en) Image preview system and image preview method thereof
JP4770878B2 (en) Information display device and program
CN103729118B (en) A method and mobile device for realizing image scaling and display
CN104731494A (en) Method and device for magnifying selected area in preview interface
CN112954193B (en) Shooting method, shooting device, electronic equipment and medium
CN111385607A (en) Resolution determination method and device, storage medium, client and server
CN109324736A (en) The exchange method and device of partial enlargement picture
CN106445332A (en) Icon display method and system
CN106561044A (en) Method and system for processing black edge of vertical-screen video in Android system
CN103096045B (en) Method of Adjusting Video Image Compression Using Gestures
CN110362250A (en) A method, device and display device for partially enlarging an image
CN104063875A (en) Super-resolution reconstruction method for enhancing smoothness and definition of video image
KR101751807B1 (en) Method and system for image processing
CN105094614B (en) Method for displaying image and device
CN107547727A (en) A kind of image preview method and apparatus
CN113938614B (en) Video image zooming method, device, equipment and storage medium
CN110121032A (en) A kind of method, apparatus, equipment and storage medium showing animation effect
CN102547068A (en) Improved bilinear interpolation video scaling method
CN103606175B (en) The display packing of a kind of map hotspot icon and controller

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant