WO2017215108A1 - 一种调整投影图像的方法及投影仪 - Google Patents

一种调整投影图像的方法及投影仪 Download PDF

Info

Publication number
WO2017215108A1
WO2017215108A1 PCT/CN2016/095348 CN2016095348W WO2017215108A1 WO 2017215108 A1 WO2017215108 A1 WO 2017215108A1 CN 2016095348 W CN2016095348 W CN 2016095348W WO 2017215108 A1 WO2017215108 A1 WO 2017215108A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
boundary
projection plane
projected image
captured image
Prior art date
Application number
PCT/CN2016/095348
Other languages
English (en)
French (fr)
Inventor
袁洪跃
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to US16/309,492 priority Critical patent/US10616543B2/en
Publication of WO2017215108A1 publication Critical patent/WO2017215108A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3185Geometric adjustment, e.g. keystone or convergence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3141Constructional details thereof
    • H04N9/317Convergence or focusing systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3191Testing thereof
    • H04N9/3194Testing thereof including sensor feedback

Definitions

  • the present invention relates to projection technology, and more particularly to a method and projector for adjusting a projected image.
  • the projector In the current working process, the projector usually projects the image onto a plane of the area in a fixed size.
  • the area is not flat.
  • the wall size is smaller than the projected image size, and usually needs to pass.
  • the lens focal length of the projector is manually adjusted to adjust the projected image size, and the uneven portion is excluded from the projected image to ensure that the area covered by the projected image is flat, thereby ensuring the viewing quality.
  • the embodiment of the present invention is intended to provide a method and a projector for adjusting a projected image, which reduces the operation difficulty and the use complexity of adjusting the projected image of the projector.
  • an embodiment of the present invention provides a method for adjusting a projected image, where the method includes:
  • the captured image is detected according to a preset boundary detection algorithm, and a boundary condition in the projected image in the captured image is determined;
  • Adjusting a coverage state of the projection image to the projection plane by controlling an adjustment motor in the projector according to a boundary condition in the projection image in the captured image until the adjusted projection image covers the projection plane and the projection plane Match.
  • the detecting a captured image according to a preset boundary detection algorithm, and determining a boundary condition in the projected image in the captured image specifically:
  • the grayscale image is convoluted according to a preset matrix template, and a boundary enhancement map corresponding to the captured image is obtained;
  • a pixel point whose gradation value exceeds a preset gradation threshold is determined as a boundary point, and a pixel point whose gradation value is smaller than a preset gradation threshold is determined as a non-boundary point.
  • the boundary condition in the projected image in the captured image adjusting the coverage state of the projection image by the adjustment motor in the projector until the adjusted projection image covers the projection plane
  • the state is adapted to the projection plane, including:
  • the boundary condition in the projected image in the captured image adjusting the coverage state of the projection image by the adjustment motor in the projector until the adjusted projection image covers the projection plane
  • the state is adapted to the projection plane, including:
  • the boundary condition in the projected image in the captured image adjusting the coverage state of the projection image by the adjustment motor in the projector until the adjusted projection image covers the projection plane
  • the state is adapted to the projection plane, including:
  • Adjusting the position adjustment motor in the projector according to the third step length and the opposite direction of the single boundary when the boundary of the projected image in the new captured image includes a single boundary of the projection plane The position of the projector optical zoom lens is moved, and the position of the projected image after the movement is moved.
  • an embodiment of the present invention provides a projector, where the projector includes an adjustment motor and an optical zoom lens, and further includes: a shooting module, a detection module, and an adjustment module; wherein
  • the photographing module is configured to capture a state in which the projected image covers the projection plane, to obtain a captured image, wherein a contrast between the projected image and the projection plane is greater than a preset threshold;
  • the detecting module is configured to detect the captured image according to a preset boundary detection algorithm, and determine a boundary condition in the projected image in the captured image;
  • the adjusting module is configured to adjust a coverage state of the projection image to the projection plane by controlling an adjustment motor in the projector according to a boundary condition in the projected image in the captured image, until the adjusted projection image covers the projection plane
  • the state is adapted to the projection plane.
  • the detecting module includes: a conversion submodule, a convolution submodule, a traversal submodule, and a determining submodule;
  • the conversion submodule is configured to convert the captured image into a corresponding grayscale image
  • the convolution sub-module is configured to convolute the grayscale image according to a preset matrix template to obtain a boundary enhancement map corresponding to the captured image;
  • the traversing sub-module is configured to traverse the gray value of each pixel of the boundary enhancement map, and trigger the determining sub-module during the traversal process;
  • the determining sub-module is configured to determine a pixel point whose gray value exceeds a preset gray level threshold as a boundary point, and to determine a pixel point whose gray value is smaller than a preset gray level threshold as a non-boundary point.
  • the adjustment module is set to:
  • the focal length of the optical zoom lens is adjusted according to a preset first step length by controlling the zoom adjustment motor to reduce the size of the projected image ;
  • the state of the projection plane is adapted to the projection plane
  • the focal length of the optical zoom lens is adjusted according to a preset first step length by controlling the zoom adjustment motor to reduce the reduction The projected image size after.
  • the adjustment module is set to:
  • the adjustment module is set to:
  • Adjusting the optical zoom lens by controlling the position adjustment motor according to a preset third step length and an opposite direction of the single boundary when a boundary of the projected image in the captured image includes a single boundary of the projection plane Position, moving the projected image position;
  • Adjusting the optical zoom by controlling the position adjustment motor to follow the third step length and the opposite direction of the single boundary when the boundary of the projected image in the new captured image includes a single boundary of the projection plane
  • the position of the lens moves the position of the projected image after the movement.
  • a computer storage medium is further provided, and the computer storage medium may store an execution instruction for performing the method of adjusting the photographic image in the above embodiment.
  • Embodiments of the present invention provide a method for adjusting a projected image and a projector, which monitors a state in which a projected image covers a projection plane, and adjusts the projected image according to the monitored state, thereby automatically adjusting the projected image, so that The projected image covers the appropriate area on the projection plane, which reduces the operational difficulty and complexity of the projector.
  • FIG. 1 is a schematic structural diagram of a projector according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for adjusting a projected image according to an embodiment of the present invention
  • 3A is a schematic diagram of a captured image according to an embodiment of the present invention.
  • FIG. 3B is a schematic diagram of another captured image according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a boundary detection process according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of adjusting a coverage state of a projection image to a projection plane according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of still another captured image according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of still another captured image according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another method for adjusting a coverage state of a projection image to a projection plane according to an embodiment of the present disclosure
  • FIG. 9 is a schematic diagram of another captured image according to an embodiment of the present invention.
  • FIG. 10 is a schematic flowchart of another method for adjusting a coverage state of a projection image on a projection plane according to an embodiment of the present disclosure
  • FIG. 11 is a schematic diagram of still another captured image according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of a projector according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another projector according to an embodiment of the present invention.
  • an adjustment motor for performing zoom adjustment and position adjustment on the zoom optical lens and a projected projection plane state for the projected image are additionally provided.
  • the image processing device for photographing and border detection can perform boundary detection on the captured image by the image processing device, and controls the adjustment motor to perform zoom adjustment or position adjustment on the zoom optical lens according to the result of the detection.
  • the method may include:
  • the technical solution of the embodiment can be used as a solution for the projector to perform projection image test between the projected actual images, so that after the test adjustment is completed, the projector can cover the projection plane when the actual image is projected. region. Therefore, in the above technical solution, preferably, the contrast between the projected image and the projection plane is greater than a preset threshold; in the embodiment, the projection image is a white wall, and the projected image may be a regular shape of red.
  • the blue image for example, a red circle, a blue rectangle, or the like, is not specifically limited in this embodiment.
  • S202 detecting a captured image according to a preset boundary detection algorithm, and determining a boundary condition in the projected image in the captured image;
  • the projected image in the captured image may appear as a boundary of the projection plane, as shown in FIGS. 3A and 3B.
  • a white solid line frame indicates a projected image
  • a cross line fills a broken line frame to indicate a projection plane.
  • the white solid line frame represents the projected image
  • the cross line fills the dotted line frame to represent the projection plane
  • the captured image Partial boundaries of the projection plane appear in the projected image.
  • the boundary in the projected image in the captured image indicates that the state in which the projected image covers the projection plane is not compatible with the projection plane, and the zoom optical lens of the projector needs to be adjusted according to step S203 described next. Thereby, the state in which the adjusted projected image covers the projection plane is adapted to the projection plane.
  • S203 Adjust an overlay state of the projection image to the projection plane by controlling an adjustment motor in the projector according to a boundary condition in the captured image, until a state in which the adjusted projection image covers the projection plane is adapted to the projection plane.
  • the projector can automatically adjust the projected image, so that the projected image covers a suitable area on the projection plane, which reduces the operation difficulty and the use complexity of the projector.
  • the method may include:
  • the preset matrix template can be selected as
  • the technical solution of the embodiment may also select other boundary detection methods to determine the boundary condition in the projected image in the captured image, which is not specifically described in this embodiment.
  • the boundary condition of the projected image in the captured image can be obtained; and the projected image
  • the boundary condition in the image indicates that the size or position of the projected image is not compatible with the projection plane. Therefore, it is necessary to adjust the focal length or size of the optical zoom lens in the projector so that the projected image covers the state and projection of the projection plane. Plane adaptation.
  • step S203 may specifically include:
  • S2032A capturing a state in which the reduced projected image covers the projection plane, and detecting a new captured image according to the preset boundary detection algorithm
  • S2034A adjusting a focal length of the projector optical zoom lens according to a preset first step length by controlling the zoom adjustment motor in the projector when a boundary in the projected image in the new captured image includes all boundaries of the projection plane , reducing the size of the reduced projected image.
  • the white solid line frame represents the projected image
  • the cross line fills the dotted line frame to indicate the projection plane.
  • the zoom adjustment motor can adjust the focal length of the optical zoom lens according to the first step length to reduce the size of the projected image; and the reduced projected image covers the state of the projection plane to be photographed, and according to
  • the aforementioned boundary detection algorithm detects a new captured image, and the boundary condition in the projected image in the new captured image may be that there is no boundary of the projection plane, as shown in FIG. 7; or there are still all boundaries of the projection plane.
  • the zooming adjustment motor continues to adjust the focal length of the optical zoom lens according to the first step length to reduce the projected image size until there is no boundary of the projection plane in the projected image.
  • step S203 may specifically include:
  • S2032B capturing an image of the expanded projection image covering the projection plane, and detecting a new captured image according to the preset boundary detection algorithm
  • the white solid line frame represents the projected image
  • the cross line fills the dotted line frame to indicate the projection plane.
  • the zoom adjustment motor can adjust the focal length of the optical zoom lens according to the second step length to enlarge the projected image size; and the enlarged projected image covers the state of the projection plane to be photographed, and according to
  • the aforementioned boundary detection algorithm detects a new captured image, and the boundary condition in the projected image in the new captured image may be that there is still no boundary of the projection plane; or there is the entire boundary of the projection plane.
  • the focal length of the projector optical zoom lens is suitable before the projection image is enlarged, and the projected image before the expansion covers the projection.
  • the state of the plane is adapted to the projection plane; when there is no boundary of the projection plane in the projected image in the new captured image, it is necessary to continue adjusting the focal length of the optical zoom lens according to the second step length by the zoom adjustment motor.
  • the projected image size is reduced until the expanded projection image covers the projection plane and the projection plane is adapted.
  • step S203 may specifically include:
  • S2032C capturing a state in which the moved projection image covers the projection plane, and detecting a new captured image according to the preset boundary detection algorithm
  • the white solid line frame represents the projected image
  • the cross line fills the dotted line frame to indicate the projection plane
  • the position of the optical zoom lens can be adjusted according to the third step length and the opposite direction of the left boundary by the position adjustment motor to correspondingly move the position of the projected image on the projection plane
  • the projected image covers the state of the projection plane for shooting, and detects the new captured image according to the foregoing boundary detection algorithm, and the boundary condition in the projected image in the new captured image may be that the left boundary of the projection plane still exists; Or there is no boundary of the projection plane.
  • the position of the projector optical zoom lens is suitable at this time; when there is still a projection plane in the projected image in the new captured image At the left boundary, it is necessary to continue to adjust the position of the optical zoom lens according to the third step length by the position adjustment motor.
  • the position of the projected image at the projection plane is moved until the state in which the projected image after the movement covers the projection plane is adapted to the projection plane.
  • a single boundary is a left boundary as an example.
  • the position adjustment motor adjusts the projection according to the third step length and the opposite direction of the single boundary. The position of the instrument's optical zoom lens.
  • the embodiment provides a method for adjusting a projected image.
  • the image is captured and detected by the projection state of the projection image, and is adjusted according to the coverage state, so that the adjusted projection image covers the projection plane and the projection plane. adaptation.
  • the projected image can be automatically adjusted, so that the projected image covers a suitable area on the projection plane, which reduces the operation difficulty and the use complexity of the projector.
  • a projector 120 is provided according to an embodiment of the present invention.
  • the projector 120 includes an adjustment motor 1201 and an optical zoom lens 1202, and further includes: a photographing module 1203. , the detecting module 1204 and the adjusting module 1205; wherein
  • the photographing module 1203 is configured to capture a state in which the projected image covers the projection plane, to obtain a captured image, wherein a contrast between the projected image and the projection plane is greater than a preset threshold;
  • the detecting module 1204 is configured to detect the captured image according to a preset boundary detection algorithm, and determine a boundary condition in the projected image in the captured image;
  • the adjustment module 1205 is configured to adjust a coverage state of the projection image to the projection plane by controlling an adjustment motor in the projector 120 according to a boundary condition in the projection image in the captured image, until the adjusted projection image covers the projection
  • the state of the plane is adapted to the projection plane.
  • the adjustment motor 1201 may include a motor 1201A for performing zoom adjustment on the optical zoom lens and a motor 1201B for position adjustment of the optical zoom lens.
  • the detecting module 1204 includes: a converting submodule 12041, a convolution submodule 12042, a traversing submodule 12043, and a determining submodule 12044;
  • the conversion sub-module 12041 is configured to convert the captured image into a corresponding grayscale image
  • the convolution sub-module 12042 is configured to convolve the grayscale image according to a preset matrix template to obtain a boundary enhancement map corresponding to the captured image;
  • the traversing sub-module 12043 is configured to traverse the gray value of each pixel of the boundary enhancement map, and during the traversal, trigger the determining sub-module 12044;
  • the determining sub-module 12044 is configured to determine a pixel point whose gray value exceeds a preset gray level threshold as a boundary point, and to determine a pixel point whose gray value is smaller than the preset gray level threshold as a non-boundary point.
  • the adjustment module 1205 is configured to:
  • the zoom adjustment motor 1201A is adjusted to adjust the focal length of the optical zoom lens 1202 according to a preset first step length, and the projection is reduced.
  • the focal length of the optical zoom lens 1202 is adjusted by controlling the zoom adjustment motor 1201A according to a preset first step length.
  • the reduced projected image size is adjusted by controlling the zoom adjustment motor 1201A according to a preset first step length.
  • the adjustment module 1205 is configured to:
  • the zoom adjustment motor 1201 is adjusted to adjust a focal length of the optical zoom lens 1202 according to a preset second step length to enlarge the projected image size;
  • the focal length of the optical zoom lens 1202 is adjusted according to a preset second step length by controlling the zoom adjustment motor 1201A to expand the enlarged projection Image size
  • the adjustment module 1205 is configured to:
  • Adjusting the optical zoom by controlling the position adjustment motor 1201B according to a preset third step length and an opposite direction of the single boundary when a boundary of the projected image in the captured image includes a single boundary of the projection plane Position of the lens 1202, moving the projected image position;
  • the position of the zoom lens 1202 moves the position of the projected image after the movement.
  • the embodiment provides a projector 120 for capturing and detecting a covered image on a projection plane. And adjusting according to the coverage state, so that the state of the adjusted projection image covering the projection plane is adapted to the projection plane. Thereby, the projected image can be automatically adjusted, so that the projected image covers a suitable area on the projection plane, which reduces the operation difficulty and the use complexity of the projector.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the above technical solution provided by the embodiment of the present invention can be applied to the process of adjusting a photographic image by monitoring the state of the projection image covering the projection plane, and adjusting the projection image according to the monitored state, thereby automatically performing the projection image.
  • the adjustment makes the projected image cover the appropriate area on the projection plane, which reduces the operation difficulty and the use complexity of the projector.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Projection Apparatus (AREA)
  • Transforming Electric Information Into Light Information (AREA)
  • Studio Devices (AREA)

Abstract

本发明实施例公开了一种调整投影图像的方法及投影仪;该方法可以包括:对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。

Description

一种调整投影图像的方法及投影仪 技术领域
本发明涉及投影技术,尤其涉及一种调整投影图像的方法及投影仪。
背景技术
当前投影仪在工作过程中,通常是以固定尺寸将图像投射到一区域平面上,当投射平面被投影图像覆盖的区域有部分是不平整的,例如墙面尺寸小于投影图像尺寸,通常需要通过人工调节投影仪的透镜焦距来调整投射图像尺寸,将不平整的部分排除在投射图像之外,以确保投射图像所覆盖区域为平整的,从而保证观看质量。
由于目前均需要进行人工调节,从而加大了用户对投影仪的操作难度,而且人工调节需要反复多次的调整才能够得到合适的投影图像尺寸,增加了投影仪的使用复杂度。
发明内容
为解决上述技术问题,本发明实施例期望提供一种调整投影图像的方法及投影仪,降低针对投影仪的投影图像进行调整的操作难度和使用复杂度。
本发明实施例的技术方案是这样实现的:
第一方面,本发明实施例提供了一种调整投影图像的方法,所述方法包括:
对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;其中,所述投影图像与所述投射平面之间的对比度大于预设的阈值;
根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;
根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
在上述方案中,所述根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况,具体包括:
将所述拍摄图像转换为对应的灰度图;
按照预设的矩阵模板对所述灰度图进行卷积,获得所述拍摄图像对应的边界增强图;
遍历所述边界增强图的每一个像素点的灰度值;
在所述遍历过程中,将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
在上述方案中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述投影图像尺寸;
将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述缩小后的投影图像尺寸。
在上述方案中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
当所述拍摄图像中投影图像没有检测到边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述投影图像尺寸;
将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述扩大后的投影图像尺寸;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所述投影仪内变焦调整马达调节所述投影仪光学变焦透镜的焦距为所述扩大所述投影图像尺寸之前所述投影仪光学变焦透镜的焦距。
在上述方案中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照预设的第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述投影图像位置;
将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照所述第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述移动后的投影图像位置。
第二方面,本发明实施例提供了一种投影仪,所述投影仪包括调整马达和光学变焦透镜,还包括:拍摄模块、检测模块和调整模块;其中,
所述拍摄模块,设置为对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;其中,所述投影图像与所述投射平面之间的对比度大于预设的阈值;
所述检测模块,设置为根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;
所述调整模块,设置为根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
在上述方案中,所述检测模块,包括:转换子模块、卷积子模块、遍历子模块和确定子模块;其中
所述转换子模块,设置为将所述拍摄图像转换为对应的灰度图;
所述卷积子模块,设置为按照预设的矩阵模板对所述灰度图进行卷积,获得所述拍摄图像对应的边界增强图;
所述遍历子模块,设置为遍历所述边界增强图的每一个像素点的灰度值,并在遍历过程中,触发所述确定子模块;
所述确定子模块,设置为将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
在上述方案中,所述调整模块,设置为:
当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达按照预设的第一步进长度调节所述光学变焦透镜的焦距,缩小所述投影图像尺寸;
将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述 投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达按照预设的第一步进长度调节所述光学变焦透镜的焦距,缩小所述缩小后的投影图像尺寸。
在上述方案中,所述调整模块,设置为:
当所述拍摄图像中投影图像没有检测到边界时,通过控制所述变焦调整马达按照预设的第二步进长度调节所述光学变焦透镜的焦距,扩大所述投影图像尺寸;
将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述变焦调整马达按照预设的第二步进长度调节所述光学变焦透镜的焦距,扩大所述扩大后的投影图像尺寸;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所述变焦调整马达调节所述光学变焦透镜的焦距为所述扩大所述投影图像尺寸之前所述光学变焦透镜的焦距。
在上述方案中,所述调整模块,设置为:
当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达按照预设的第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜的位置,移动所述投影图像位置;
将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达按照所述第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜的位置,移动所述移动后的投影图像位置。
在本发明实施例中,还提供了一种计算机存储介质,该计算机存储介质可以存储有执行指令,该执行指令用于执行上述实施例中的调整摄影图像方法的实现。
本发明实施例提供了一种调整投影图像的方法及投影仪,通过对投影图像覆盖投影平面的状态进行监测,并根据监测的状态对投影图像进行调整,从而能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。
附图说明
图1为本发明实施例提供的一种投影仪结构示意图;
图2为本发明实施例提供的一种调整投影图像的方法流程示意图;
图3A为本发明实施例提供的一种拍摄图像示意图;
图3B为本发明实施例提供的另一种拍摄图像示意图;
图4为本发明实施例提供的一种边界检测流程示意图;
图5为本发明实施例提供的一种调节投影图像对投射平面的覆盖状态的流程示意图;
图6为本发明实施例提供的又一种拍摄图像示意图;
图7为本发明实施例提供的再一种拍摄图像示意图;
图8为本发明实施例提供的另一种调节投影图像对投射平面的覆盖状态的流程示意图;
图9为本发明实施例提供的另一种拍摄图像示意图;
图10为本发明实施例提供的又一种调节投影图像对投射平面的覆盖状态的流程示意图;
图11为本发明实施例提供的又一种拍摄图像示意图;
图12为本发明实施例提供的一种投影仪的结构示意图;
图13为本发明实施例提供的另一种投影仪的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
参见图1所示的投影仪结构,本发明实施例在图1所示的投影仪结构中,额外设置有针对变焦光学透镜进行变焦调整及位置调整的调整马达以及针对投影图像投射投影平面状态进行拍摄及边界检测的图像处理装置,从而能够通过图像处理装置针对拍摄图像进行边界检测,根据检测的结果控制调整马达对变焦光学透镜进行变焦调整或位置调整。通过上述过程,能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。
实施例一
基于上述投影仪结构,参见图2,其示出了本发明实施例提供的一种调整投影图像的方法,该方法可以包括:
S201:对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;
可以理解地,本实施例的技术方案可以作为投影仪在投射实际图像之间进行投影图像测试的方案,从而在测试调整完毕之后,能够使得投影仪在投射实际图像时,在投射平面覆盖适当的区域。因此,上述技术方案中,优选地,投影图像与所述投射平面之间的对比度大于预设的阈值;在本实施例中,以投影平面为白色墙壁为例,投射图像可以是规则形状的红色、蓝色的图像,例如红色的圆圈、蓝色的矩形等等,本实施例对此不做具体限定。
S202:根据预设的边界检测算法对拍摄图像进行检测,确定拍摄图像中投影图像内的边界情况;
需要说明的是,当投影图像的尺寸超过投射平面时,或者当投影图像偏离投射平面中心位置较大距离时,拍摄图像中的投影图像会出现投射平面的边界,如图3A及图3B所示的拍摄图像,在图3A所示的拍摄图像中,白色实线框表示投影图像,交叉线填充虚线框表示投射平面,当投影图像的尺寸大于投射平面的尺寸时,拍摄图像中的投影图像内会出现投射平面的全部边界;在图3B所示的拍摄图像中,白色实线框表示投影图像,交叉线填充虚线框表示投射平面,当投影图像偏离投射平面的中心位置时,拍摄图像中的投影图像内会出现投射平面的部分边界。上述拍摄图像中投影图像内的边界均说明了投影图像覆盖所述投射平面的状态与所述投射平面均不适配,需要按照接下来所述的步骤S203对投影仪的变焦光学透镜进行调整,从而使得调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
S203:根据拍摄图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
通过上述技术方案,投影仪能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。
示例性地,对于步骤S202,参见图4,具体可以包括:
S2021:将拍摄图像转换为对应的灰度图;
S2022:按照预设的矩阵模板对灰度图进行卷积,获得拍摄图像对应的边界增强图;
S2023:遍历边界增强图的每一个像素点的灰度值;
S2024:在遍历过程中,将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
对于上述示例,在具体实现过程中,预设的矩阵模板可以选取为
Figure PCTCN2016095348-appb-000001
可以理解地,除了上述示例以外,本实施例的技术方案还可以选择其他边界检测方法来对确定拍摄图像中投影图像内的边界情况,本实施例对此不作具体赘述。
示例性地,通过步骤S202之后,就能够获得拍摄图像中投影图像的边界情况;而投影图 像中的边界情况,说明了投影图像的尺寸或位置与投射平面不适配,因此需要通过调节投影仪中的光学变焦透镜的焦距或者尺寸,从而使得投影图像覆盖所述投射平面的状态与投射平面适配。
可选地,参见图5,步骤S203具体可以包括:
S2031A:当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述投影图像尺寸;
S2032A:将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
S2033A:当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
S2034A:当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述缩小后的投影图像尺寸。
在具体实现过程中,如图6所示的拍摄图像示意图,白色实线框表示投影图像,交叉线填充虚线框表示投射平面,当投影图像尺寸较大时,拍摄图像中的投影图像内会出现投射平面的全部边界;此时,可以通过变焦调整马达按照第一步进长度调节光学变焦透镜的焦距来缩小投影图像尺寸;对缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并按照前述的边界检测算法对新的拍摄图像进行检测,而新的拍摄图像中投影图像内的边界情况可能是不存在投射平面的边界,如图7所示;或者仍然存在投射平面的全部边界。
可以理解地,当新的拍摄图像中投影图像内不存在投射平面的边界时,此时可以确定缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;而当新的拍摄图像中投影图像内包括投射平面的所有边界时,继续通过变焦调整马达按照第一步进长度调节光学变焦透镜的焦距来缩小投影图像尺寸,直至投影图像内不存在投射平面的边界。
可选地,参见图8,步骤S203具体可以包括:
S2031B:当所述拍摄图像中投影图像没有检测到边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述投影图像尺寸;
S2032B:将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
S2033B:当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述扩大后的投影图像尺寸;
S2034B:当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所 述投影仪内变焦调整马达调节所述投影仪光学变焦透镜的焦距为所述扩大所述投影图像尺寸之前所述投影仪光学变焦透镜的焦距。
在具体实现过程中,参见图9所示的拍摄图像示意图,白色实线框表示投影图像,交叉线填充虚线框表示投射平面,当投影图像尺寸较小时,拍摄图像中的投影图像内不会出现投射平面的任何边界;此时,可以通过变焦调整马达按照第二步进长度调节光学变焦透镜的焦距来扩大投影图像尺寸;对扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并按照前述的边界检测算法对新的拍摄图像进行检测,而新的拍摄图像中投影图像内的边界情况可能是仍然不存在投射平面的边界;或者存在投射平面的全部边界。
可以理解地,当新的拍摄图像中投影图像内存在投射平面的全部边界时,可以认为在对投影图像扩大前,投影仪光学变焦透镜的焦距是合适的,扩大前的投影图像覆盖所述投射平面的状态与所述投射平面适配;当新的拍摄图像中的投影图像内不存在投射平面的边界时,此时需要继续通过变焦调整马达按照第二步进长度调节光学变焦透镜的焦距来缩小投影图像尺寸,直至扩大后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
可选地,参见图10,步骤S203具体可以包括:
S2031C:当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照预设的第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述投影图像位置;
S2032C:将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
S2033C:当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
S2034C:当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照所述第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述移动后的投影图像位置。
在具体实现过程中,参见图11所示的拍摄图像示意图,白色实线框表示投影图像,交叉线填充虚线框表示投射平面,当投影图像的位置相对于投射平面偏左时,拍摄图像中的投影图像内出现投射平面的左边界;此时,可以通过位置调整马达按照第三步进长度以及左边界的相反方向调节光学变焦透镜的位置来对应移动投影图像在投射平面的位置;对移动后的投影图像覆盖所述投射平面的状态进行拍摄,并按照前述的边界检测算法对新的拍摄图像进行检测,而新的拍摄图像中投影图像内的边界情况可能是仍然存在投射平面的左边界;或者不存在投射平面的边界。
可以理解地,当新的拍摄图像中投影图像内不存在投射平面的边界时,可以认为此时投影仪光学变焦透镜的位置是合适的;当新的拍摄图像中的投影图像内仍然存在投射平面的左边界时,此时需要继续通过位置调整马达按照第三步进长度调节光学变焦透镜的位置来对应 移动投影图像在投射平面的位置,直至移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
需要说明的是,本实施例以单一边界是左边界为例进行说明,当单一边界为右边界的时候,位置调整马达按照所述第三步进长度以及该单一边界的相反方向调节所述投影仪光学变焦透镜的位置。
本实施例提供了一种调整投影图像的方法,通过对投影图像在投射平面的覆盖状态进行拍摄及检测,并根据覆盖状态进行调整,使得调整后的投影图像覆盖投射平面的状态与投射平面相适配。从而能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。
实施例二
基于前述实施例相同的技术构思,参见图12,其示出了本发明实施例提供的一种投影仪120,所述投影仪120包括调整马达1201和光学变焦透镜1202,还包括:拍摄模块1203、检测模块1204和调整模块1205;其中,
所述拍摄模块1203,设置为对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;其中,所述投影图像与所述投射平面之间的对比度大于预设的阈值;
所述检测模块1204,设置为根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;
所述调整模块1205,设置为根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪120内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
需要说明的是,调整马达1201可以包括针对光学变焦透镜进行变焦调整的马达1201A及针对光学变焦透镜进行位置调整的马达1201B。
在上述方案中,参见图13,所述检测模块1204,包括:转换子模块12041、卷积子模块12042、遍历子模块12043和确定子模块12044;其中
所述转换子模块12041,设置为将所述拍摄图像转换为对应的灰度图;
所述卷积子模块12042,设置为按照预设的矩阵模板对所述灰度图进行卷积,获得所述拍摄图像对应的边界增强图;
所述遍历子模块12043,设置为遍历所述边界增强图的每一个像素点的灰度值,并在遍历过程中,触发所述确定子模块12044;
所述确定子模块12044,设置为将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
在上述方案中,其中,所述调整模块1205,设置为:
当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达1201A按照预设的第一步进长度调节所述光学变焦透镜1202的焦距,缩小所述投影图像尺寸;
将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达1201A按照预设的第一步进长度调节所述光学变焦透镜1202的焦距,缩小所述缩小后的投影图像尺寸。
在上述方案中,其中,所述调整模块1205,设置为:
当所述拍摄图像中投影图像没有检测到边界时,通过控制所述变焦调整马达1201按照预设的第二步进长度调节所述光学变焦透镜1202的焦距,扩大所述投影图像尺寸;
将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述变焦调整马达1201A按照预设的第二步进长度调节所述光学变焦透镜1202的焦距,扩大所述扩大后的投影图像尺寸;
当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所述变焦调整马达1201A调节所述光学变焦透镜1202的焦距为所述扩大所述投影图像尺寸之前所述光学变焦透镜1202的焦距。
在上述方案中,所述调整模块1205,设置为:
当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达1201B按照预设的第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜1202的位置,移动所述投影图像位置;
将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达1201B按照所述第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜1202的位置,移动所述移动后的投影图像位置。
本实施例提供了一种投影仪120,通过对投影图像在投射平面的覆盖状态进行拍摄及检测, 并根据覆盖状态进行调整,使得调整后的投影图像覆盖投射平面的状态与投射平面相适配。从而能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。
工业实用性
本发明实施例提供的上述技术方案,可以应用于调整摄影图像的过程中,通过对投影图像覆盖投影平面的状态进行监测,并根据监测的状态对投影图像进行调整,从而能够自动对投影图像进行调节,使得投影图像在投影平面上覆盖合适的区域,降低了投影仪的操作难度和使用复杂度。

Claims (10)

  1. 一种调整投影图像的方法,所述方法包括:
    对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;其中,所述投影图像与所述投射平面之间的对比度大于预设的阈值;
    根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;
    根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
  2. 根据权利要求1所述的方法,其中,所述根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况,具体包括:
    将所述拍摄图像转换为对应的灰度图;
    按照预设的矩阵模板对所述灰度图进行卷积,获得所述拍摄图像对应的边界增强图;
    遍历所述边界增强图的每一个像素点的灰度值;
    在所述遍历过程中,将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
  3. 根据权利要求1所述的方法,其中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
    当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述投影图像尺寸;
    将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
    当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述投影仪内变焦调整马达按照预设的第一步进长度调节投影仪光学变焦透镜的焦距,缩小所述缩小后的投影图像尺寸。
  4. 根据权利要求1所述的方法,其中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
    当所述拍摄图像中投影图像没有检测到边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述投影图像尺寸;
    将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述投影仪内变焦调整马达按照预设的第二步进长度调节投影仪光学变焦透镜的焦距,扩大所述扩大后的投影图像尺寸;
    当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所述投影仪内变焦调整马达调节所述投影仪光学变焦透镜的焦距为所述扩大所述投影图像尺寸之前所述投影仪光学变焦透镜的焦距。
  5. 根据权利要求1所述的方法,其中,所述根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配,包括:
    当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照预设的第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述投影图像位置;
    将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
    当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述投影仪内位置调整马达按照所述第三步进长度以及所述单一边界的相反方向调节所述投影仪光学变焦透镜的位置,移动所述移动后的投影图像位置。
  6. 一种投影仪,所述投影仪包括调整马达和光学变焦透镜,还包括:拍摄模块、检测模块和调整模块;其中,
    所述拍摄模块,设置为对投影图像覆盖投射平面的状态进行拍摄,获得拍摄图像;其中,所述投影图像与所述投射平面之间的对比度大于预设的阈值;
    所述检测模块,设置为根据预设的边界检测算法对所述拍摄图像进行检测,确定所述拍摄图像中投影图像内的边界情况;
    所述调整模块,设置为根据所述拍摄图像中投影图像内的边界情况,通过控制投影仪内的调整马达调节投影图像对投射平面的覆盖状态,直至调整后的投影图像覆盖所述投射平面的状态与所述投射平面适配。
  7. 根据权利要求6所述的投影仪,其中,所述检测模块,包括:转换子模块、卷积子模块、遍历子模块和确定子模块;其中
    所述转换子模块,设置为将所述拍摄图像转换为对应的灰度图;
    所述卷积子模块,设置为按照预设的矩阵模板对所述灰度图进行卷积,获得所述拍摄图像对应的边界增强图;
    所述遍历子模块,设置为遍历所述边界增强图的每一个像素点的灰度值,并在遍历过程中,触发所述确定子模块;
    所述确定子模块,设置为将灰度值超过预设灰度阈值的像素点确定为边界点,将灰度值小于预设灰度阈值的像素点确定为非边界点。
  8. 根据权利要求6所述的投影仪,其中,所述调整模块,设置为:
    当所述拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达按照预设的第一步进长度调节所述光学变焦透镜的焦距,缩小所述投影图像尺寸;
    将缩小后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,确定所述缩小后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
    当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,通过控制所述变焦调整马达按照预设的第一步进长度调节所述光学变焦透镜的焦距,缩小所述缩小后的投影图像尺寸。
  9. 根据权利要求6所述的投影仪,其中,所述调整模块,设置为:
    当所述拍摄图像中投影图像没有检测到边界时,通过控制所述变焦调整马达按照预设的第二步进长度调节所述光学变焦透镜的焦距,扩大所述投影图像尺寸;
    将扩大后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,通过控制所述变焦调整马达按照预设的第二步进长度调节所述光学变焦透镜的焦距,扩大所述扩大后的投影图像尺寸;
    当所述新的拍摄图像中投影图像内的边界包括投射平面的所有边界时,控制所述变焦调整马达调节所述光学变焦透镜的焦距为所述扩大所述投影图像尺寸之前所述光学变焦透镜的焦距。
  10. 根据权利要求6所述的投影仪,其中,所述调整模块,设置为:
    当所述拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达按照预设的第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜的位置,移动所述投影图像位置;
    将移动后的投影图像覆盖所述投射平面的状态进行拍摄,并根据所述预设的边界检测算法对新的拍摄图像进行检测;
    当所述新的拍摄图像中投影图像内不存在边界时,确定所述移动后的投影图像覆盖所述投射平面的状态与所述投射平面适配;
    当所述新的拍摄图像中投影图像的边界包括所述投射平面的单一边界时,通过控制所述位置调整马达按照所述第三步进长度以及所述单一边界的相反方向调节所述光学变焦透镜的位置,移动所述移动后的投影图像位置。
PCT/CN2016/095348 2016-06-14 2016-08-15 一种调整投影图像的方法及投影仪 WO2017215108A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/309,492 US10616543B2 (en) 2016-06-14 2016-08-15 Method and projector for adjusting projected image

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610415396.5 2016-06-14
CN201610415396.5A CN107509066B (zh) 2016-06-14 2016-06-14 一种调整投影图像的方法及投影仪

Publications (1)

Publication Number Publication Date
WO2017215108A1 true WO2017215108A1 (zh) 2017-12-21

Family

ID=60663356

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/095348 WO2017215108A1 (zh) 2016-06-14 2016-08-15 一种调整投影图像的方法及投影仪

Country Status (3)

Country Link
US (1) US10616543B2 (zh)
CN (1) CN107509066B (zh)
WO (1) WO2017215108A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391105A (zh) * 2018-03-05 2018-08-10 联想(北京)有限公司 一种控制投影的方法及电子设备
CN109302595A (zh) * 2018-10-29 2019-02-01 镇江智米网络科技有限公司 一种酒店投影设备的自动对焦方法及投影设备
CN110519578A (zh) * 2019-08-16 2019-11-29 深圳供电局有限公司 一种投影方法及投影系统
JP7350898B2 (ja) * 2020-01-29 2023-09-26 富士フイルム株式会社 投影装置、投影方法、及び制御プログラム
CN114286065A (zh) * 2020-09-28 2022-04-05 成都极米科技股份有限公司 投影画面调节方法、装置、投影仪和存储介质
CN113286134A (zh) * 2021-05-25 2021-08-20 青岛海信激光显示股份有限公司 图像校正方法及拍摄设备
CN113596420B (zh) * 2021-07-28 2022-12-09 歌尔科技有限公司 投影仪镜片的检测方法、装置、投影仪及可读存储介质
CN115733961A (zh) * 2021-08-30 2023-03-03 成都极米科技股份有限公司 投影画面移动方法、装置、投影设备和存储介质
CN115314688A (zh) * 2022-08-04 2022-11-08 广东思沃激光科技有限公司 Dmd投影系统的焦距测量方法、装置、存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101040518A (zh) * 2004-10-20 2007-09-19 夏普株式会社 图像投影方法、投影仪和计算机程序
US20080292304A1 (en) * 2007-05-22 2008-11-27 Funai Electric Co., Ltd. Projection Type Image Display Apparatus And Projection Type Image Display System
CN103650024A (zh) * 2011-07-06 2014-03-19 株式会社理光 投影显示设备、信息处理设备、投影显示系统和程序
CN104052976A (zh) * 2014-06-12 2014-09-17 海信集团有限公司 投影方法及装置
CN104750443A (zh) * 2013-12-31 2015-07-01 联想(北京)有限公司 一种显示控制方法及电子设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9514716B2 (en) * 2012-10-19 2016-12-06 Casio Computer Co., Ltd. Projection apparatus, projection control apparatus, projection system, and projection state adjustment method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101040518A (zh) * 2004-10-20 2007-09-19 夏普株式会社 图像投影方法、投影仪和计算机程序
US20080292304A1 (en) * 2007-05-22 2008-11-27 Funai Electric Co., Ltd. Projection Type Image Display Apparatus And Projection Type Image Display System
CN103650024A (zh) * 2011-07-06 2014-03-19 株式会社理光 投影显示设备、信息处理设备、投影显示系统和程序
CN104750443A (zh) * 2013-12-31 2015-07-01 联想(北京)有限公司 一种显示控制方法及电子设备
CN104052976A (zh) * 2014-06-12 2014-09-17 海信集团有限公司 投影方法及装置

Also Published As

Publication number Publication date
US20190253677A1 (en) 2019-08-15
CN107509066A (zh) 2017-12-22
CN107509066B (zh) 2020-05-01
US10616543B2 (en) 2020-04-07

Similar Documents

Publication Publication Date Title
WO2017215108A1 (zh) 一种调整投影图像的方法及投影仪
WO2018201809A1 (zh) 基于双摄像头的图像处理装置及方法
JP4664379B2 (ja) 画像データ処理用の電子デバイス及び画像データ処理方法
JP5720275B2 (ja) 撮像装置および撮像方法
JP2009193421A (ja) 画像処理装置、カメラ装置、画像処理方法、およびプログラム
JP5703448B2 (ja) 画像表示装置及び画像表示方法
US9953422B2 (en) Selective local registration based on registration error
JP2010081587A (ja) 撮像装置及びその追尾方法
JP2009077202A (ja) 画像処理装置、画像処理方法、及び画像処理プログラム、並びに撮像装置
US9973687B2 (en) Capturing apparatus and method for capturing images without moire pattern
WO2018019143A1 (zh) 图像拍摄对位方法和系统
JP6447840B2 (ja) 画像装置、及び画像装置における自動的な焦点合わせのための方法、並びに対応するコンピュータプログラム
WO2017206509A1 (zh) 投影区域的适配方法、装置及系统
CN104243796A (zh) 摄影装置、摄影方法、模板创建装置和模板创建方法
JP2011193443A (ja) 物体追尾装置
WO2018041042A1 (zh) 一种摄像云台控制方法及装置、摄像系统
JP2016201626A (ja) シフト素子制御装置、シフト素子制御プログラムおよび光学機器
JP2011248205A (ja) 制御装置および投写型映像表示装置
WO2013186994A1 (ja) 投射型投影装置、光防眩方法、および光防眩用プログラム
US20150281575A1 (en) Image processing apparatus, image processing method, program, and camera
JP2015230515A (ja) 被写体追尾装置およびカメラ
US11115582B2 (en) Imaging control apparatus, imaging apparatus, and recording medium
JP7107191B2 (ja) 撮像制御装置、撮像装置及び撮像制御プログラム
JP7020387B2 (ja) 撮像制御装置、撮像装置及び撮像制御プログラム
WO2020235167A1 (ja) 撮像装置、撮像方法及び記憶媒体

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16905221

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16905221

Country of ref document: EP

Kind code of ref document: A1