CN111192202B - Automatic house source image processing method and device - Google Patents
Automatic house source image processing method and device Download PDFInfo
- Publication number
- CN111192202B CN111192202B CN201911418089.2A CN201911418089A CN111192202B CN 111192202 B CN111192202 B CN 111192202B CN 201911418089 A CN201911418089 A CN 201911418089A CN 111192202 B CN111192202 B CN 111192202B
- Authority
- CN
- China
- Prior art keywords
- image
- angle
- brightness
- processed
- adjusting
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims description 21
- 238000012937 correction Methods 0.000 claims description 12
- 238000005034 decoration Methods 0.000 claims description 3
- 238000003860 storage Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 9
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 238000003702 image correction Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/60—Rotation of a whole image or part thereof
-
- G06T5/90—
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/90—Determination of colour characteristics
Abstract
The invention discloses a house source image automatic processing method, which comprises the following steps: s1, obtaining an image to be processed; s2, extracting features of the image to be processed; s3, identifying objects in the graph such as ceilings, wall surfaces, floors and the like according to a preset model, and extracting angle values of edges of the objects and image frames; s4, judging whether the image needs to correct the angle according to the angle value of the edge of the identified object and the frame of the image; s5, picking up brightness data of pixel points in the image, and adjusting the brightness of the image according to a user instruction; s6, presetting exposure, contrast, saturation, sharpening and RGB values of the images in different styles, and adjusting parameters of the images to be processed according to user selection to complete stylized setting; and S7, saving the processed image to a local or uploading the processed image to a server. The room source image automatic processing method provided by the invention can conveniently and rapidly process the room source image, modify the angle, brightness and the like of the image, and realize the purpose of rapidly beautifying the room source image.
Description
Technical Field
The invention relates to a method for beautifying a picture, in particular to a method for automatically processing a house source image.
Background
When renting or selling houses, the brokers need to issue the acquired house source information to the network, the users view the house source through the mobile terminal and the mobile phone, and for the house source information, the users view the house source information through the mobile phone APP or the small program. At present, the image correction and brightness adjustment of the image by the broker is basically carried out at the computer end through Photoshop, then the image is transmitted to the mobile phone for house source release, or the image is optimized by other map-making applications, and then the house source release is carried out. The operation steps of the manufacturing method are troublesome, and the angle, the brightness and various parameters of the image cannot be simply and rapidly processed.
Aiming at the automatic image processing method, the person skilled in the art has developed various methods such as automatic image missing and automatic beautifying after long-term continuous exploration, however, there is no mature technology for processing house source images, and the house source images are processed in a large number and have simple processing requirements, so that a method and a device for automatic and rapid processing are needed to be provided.
Disclosure of Invention
The invention aims to provide an automatic house source image processing method for solving the problems in the background technology.
In order to achieve the above purpose, the present invention provides the following technical solutions: the automatic house source image processing method is characterized by comprising the following steps:
s1, obtaining an image to be processed;
s2, extracting features of the image to be processed to obtain feature information, wherein the feature information comprises one or more of exposure degree, contrast ratio, saturation, sharpening degree and RGB;
s3, identifying objects in the graph such as ceilings, wall surfaces, floors and the like according to a preset model, and extracting angle values of edges of the objects and image frames;
s4, judging whether the image needs to correct the angle according to the angle value of the edge of the identified object and the image frame, if the angle is between 0 and 30 degrees, judging that the image can be automatically repaired, and completing automatic angle adjustment according to a user instruction so that the angle between the edge of the extracted object and the image frame is 0;
s5, picking up brightness data of pixel points in the image, and adjusting the brightness of the image according to a user instruction;
s6, presetting exposure, contrast, saturation, sharpening and RGB values of the images in different styles, and adjusting parameters of the images to be processed according to user selection to complete stylized setting;
and S7, saving the processed image to a local or uploading the processed image to a server.
In the above-mentioned automatic room source image processing method, in the step S1, the method for obtaining the image to be processed includes a local image or a server image.
In the automatic room source image processing method, the method further comprises the steps of S4.1, manually adjusting the angle, rotating the image by 90 degrees anticlockwise, 180 degrees and 270 degrees anticlockwise and correcting the image by 0-45 degrees leftwards and rightwards according to the user requirement, wherein the correction of 45 degrees leftwards and rightwards is automatically scaled and cut into the original image size according to the user correction angle, and clicking reduction is carried out to restore the original image size to 0 degrees.
Another object of the present invention is to provide an automatic room source image processing apparatus, including:
the acquisition module is used for acquiring a local or cloud image to be processed by a user;
the correction angle module is used for manually or automatically correcting the image angle;
the brightness adjusting module is used for manually or automatically adjusting the brightness of the image;
the style setting module is used for modifying the image parameters so as to show different image styles;
and the storage module is used for storing the processed image to a local or uploading the processed image to a cloud.
In the automatic room source image processing device, the correction angle module comprises three sub-modules, namely an automatic fine adjustment angle, a manual angle adjustment angle and a rotation image angle.
In the automatic house source image processing device, the automatic fine adjustment angle module automatically adjusts to 0 degree by identifying edges of a ceiling, a ground or a wall in an image and comparing the edges with a nearest image frame if the angle is smaller than 30 degrees.
In the automatic room source image processing device, the brightness adjustment module is used for reading the brightness of each pixel point in the image, carrying out weighted average, determining the initial brightness of the image, and adjusting the brightness of each pixel point through the brightness adjustment module.
In the above-mentioned automatic room source image processing device, the brightness adjustment module further includes a local brightness adjustment module, and brightness adjustment is performed on pixels around the selected area with the selected area as a center.
In the automatic room source image processing device, the style setting module adjusts each parameter of the image according to preset parameters to display different styles including warm tone, cold tone, black and white style, etc., or selects japanese style, european style, chinese style, etc. according to different decoration styles, and when the user selects the corresponding style, the image is automatically adjusted according to the preset parameters and displayed for the user to preview, so as to facilitate the user to select.
In the automatic room source image processing device, the style setting module is further provided with a manual parameter adjusting module, and the custom style required by a user is realized by manually adjusting the exposure degree, the contrast, the saturation, the sharpening degree and the RGB value.
Compared with the prior art, the room source image automatic processing method provided by the invention has the advantages that a user can conveniently and rapidly process the room source image through the mobile terminal, modify parameters such as angles, brightness, styles and the like of the image, then store the image to the local place or directly modify the image in the room source information album, so that the user can avoid complicated operation, the aim of rapidly correcting the image is realized, the user can preview the modification result of the image in real time through the mobile terminal, the parameters can be timely adjusted when the problem is found, the use cost and maintenance cost of the user are reduced, and the user viscosity is improved.
Drawings
FIG. 1 is a workflow diagram of a room source image automatic processing method of the present invention;
FIG. 2 is a schematic diagram of the structure of the room source image automatic processing device of the present invention;
FIG. 3 is a schematic diagram of an automatic optimization flow of the present invention;
FIG. 4 is a schematic diagram of the process of correcting angles according to the present invention;
FIG. 5 is a schematic view of the brightness adjustment according to the present invention;
FIG. 6 is a schematic diagram of a style-modified flow chart of the present invention
FIG. 7 is a schematic diagram of a local image reading and saving process according to the present invention;
FIG. 8 is a schematic diagram of the image local reading, local saving and server saving process according to the present invention;
FIG. 9 is a schematic diagram of the image server reading, local saving and server saving processes of the present invention;
Detailed Description
The following are specific embodiments of the present invention and the technical solutions of the present invention will be further described with reference to the accompanying drawings, but the present invention is not limited to these embodiments.
As shown in fig. 1, the method for automatically processing the house source image comprises the following steps:
s1, obtaining an image to be processed;
s2, extracting features of the image to be processed to obtain feature information, wherein the feature information comprises one or more of exposure degree, contrast ratio, saturation, sharpening degree and RGB;
s3, identifying objects in the graph such as ceilings, wall surfaces, floors and the like according to a preset model, and extracting angle values of edges of the objects and image frames;
s4, judging whether the image needs to correct the angle according to the angle value of the edge of the identified object and the image frame, if the angle is between 0 and 30 degrees, judging that the image can be automatically repaired, and completing automatic angle adjustment according to a user instruction so that the angle between the edge of the extracted object and the image frame is 0;
s5, picking up brightness data of pixel points in the image, and adjusting the brightness of the image according to a user instruction;
s6, presetting exposure, contrast, saturation, sharpening and RGB values of the images in different styles, and adjusting parameters of the images to be processed according to user selection to complete stylized setting;
and S7, saving the processed image to a local or uploading the processed image to a server.
Fig. 3 shows a flow of the present invention for automatically processing images, and the automatic processing is performed after the images are selected, and the saving is completed. Fig. 7-9 are schematic flow diagrams of capturing images from different ends and storing the images to different ends after processing.
As shown in FIG. 4, the method further comprises S4.1, manually adjusting the angle, and according to the user' S requirement, the image can be rotated 90 degrees anticlockwise, 180 degrees and 270 degrees and corrected by about 0 to 45 degrees, wherein the correction of about 45 degrees can be automatically scaled and cut into the original image size according to the user correction angle, and the click reduction is reduced to 0 degrees.
As shown in fig. 2, the automatic processing device for the house source image comprises:
the acquisition module is used for acquiring a local or cloud image to be processed by a user;
the correction angle module is used for manually or automatically correcting the image angle;
the brightness adjusting module is used for manually or automatically adjusting the brightness of the image;
the style setting module is used for modifying the image parameters so as to show different image styles;
and the storage module is used for storing the processed image to a local or uploading the processed image to a cloud.
In the room source image automatic processing device, the correction angle module comprises three sub-modules, namely an automatic fine adjustment angle, a manual angle adjustment angle and a rotation image angle. The automatic fine adjustment angle module automatically adjusts to 0 degree by identifying the edges of the ceilings, floors or walls in the images and comparing with the nearest image frame if the angle is less than 30 degrees.
As shown in fig. 5, the brightness adjustment module is configured to read the brightness of each pixel in the image, perform weighted average, determine the initial brightness of the image, and adjust the brightness of each pixel through the brightness adjustment module. As another scheme, the brightness adjustment module further comprises a local brightness adjustment module, which uses the selected area as the center and adjusts the brightness of the pixels around the selected area.
As shown in fig. 6, in the automatic processing device for a house source image, the style setting module adjusts each parameter of the image according to preset parameters to display different styles, including a warm tone, a cold tone, a black and white style, or can select a japanese style, an european style, a Chinese style, etc. according to different decoration styles, and when a user selects a corresponding style, the image is automatically adjusted according to the preset parameters and displayed to the user for previewing, so that the user can conveniently select the image. The style setting module is also provided with a manual parameter adjusting module, and the user-defined style required by the user is realized by manually adjusting the exposure, contrast, saturation, sharpening and RGB values.
The invention provides an automatic house source image processing method, a user can conveniently and rapidly process a house source image through a mobile terminal, modify parameters such as angles, brightness, styles and the like of the image, then store the image to a local place or directly modify the image in a house source information album, so that the user avoids complicated operation, the aim of rapidly correcting the image is fulfilled, the user can preview the modification result of the image in real time through the mobile terminal, the parameters are timely adjusted when the problem is found, the use cost and maintenance cost of the user are reduced, and the viscosity of the user is improved.
The specific embodiments described herein are offered by way of example only to illustrate the spirit of the invention. Those skilled in the art may make various modifications or additions to the described embodiments or substitutions thereof without departing from the spirit of the invention or exceeding the scope of the invention as defined in the accompanying claims.
Claims (5)
1. The automatic house source image processing method is characterized by comprising the following steps:
s1, obtaining an image to be processed;
s2, extracting features of the image to be processed to obtain feature information, wherein the feature information comprises one or more of exposure degree, contrast ratio, saturation, sharpening degree and RGB;
s3, identifying objects such as ceilings, walls and floors in the graph according to a preset model, and extracting angle values of edges of the objects and image frames;
s4, judging whether the image needs to correct the angle according to the angle value of the edge of the identified object and the image frame, if the angle is between 0 and 30 degrees, judging that the image can be automatically repaired, and completing automatic angle adjustment according to a user instruction, so that the angle between the edge of the extracted object and the image frame is 0;
s5, picking up brightness data of pixel points in the image, and adjusting the brightness of the image according to a user instruction;
s6, presetting exposure, contrast, saturation, sharpening and RGB values of the images in different styles, and adjusting parameters of the images to be processed according to user selection to complete stylized setting;
and S7, saving the processed image to a local or uploading the processed image to a server.
2. The automatic room source image processing method according to claim 1, wherein in the step S1, the method for obtaining the image to be processed includes a local image or a server image.
3. The automatic room source image processing method according to claim 1, further comprising the steps of S4.1, manually adjusting the angle, and according to user requirements, enabling the image to rotate anticlockwise by 90 degrees, 180 degrees and 270 degrees and correct left and right by 0-45 degrees, wherein the left and right 45-degree correction is automatically scaled and cut into original image sizes according to the user correction angle, and click reduction is conducted to restore the original image to 0 degrees.
4. An automatic room source image processing device, comprising:
the acquisition module is used for acquiring a local or cloud image to be processed by a user;
the correction angle module is used for manually or automatically correcting the image angle;
the brightness adjusting module is used for manually or automatically adjusting the brightness of the image;
the style setting module is used for modifying the image parameters so as to show different image styles;
the storage module is used for storing the processed image to a local or uploading the processed image to a cloud;
the correction angle module comprises three sub-modules, namely an automatic fine adjustment angle, a manual angle adjustment angle and a rotation image angle;
the automatic fine adjustment angle module automatically adjusts to 0 degree by identifying the edges of the ceilings, floors or walls in the images and comparing the edges with the nearest image frame if the angle is smaller than 30 degrees;
the brightness adjustment module is used for reading the brightness of each pixel point in the image, carrying out weighted average, determining the initial brightness of the image, and adjusting the brightness of each pixel point through the brightness adjustment module;
the brightness adjusting module further comprises a local brightness adjusting module, and brightness adjusting is carried out on pixels around the selected area by taking the selected area as the center;
the style setting module comprises the steps of adjusting each parameter of the image according to preset parameters, displaying different styles including warm tone, cold tone and black and white style, or selecting Japanese style, european style and Chinese style according to different decoration styles, and automatically adjusting and displaying the image to the user for previewing according to the preset parameters after the user selects the corresponding style, so that the user can conveniently select the style.
5. The automatic room source image processing device according to claim 4, wherein the style setting module is further provided with a manual parameter adjusting module, and the user-defined style required by the user is realized by manually adjusting the exposure, contrast, saturation, sharpening and RGB values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418089.2A CN111192202B (en) | 2019-12-31 | 2019-12-31 | Automatic house source image processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911418089.2A CN111192202B (en) | 2019-12-31 | 2019-12-31 | Automatic house source image processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111192202A CN111192202A (en) | 2020-05-22 |
CN111192202B true CN111192202B (en) | 2024-02-02 |
Family
ID=70709656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911418089.2A Active CN111192202B (en) | 2019-12-31 | 2019-12-31 | Automatic house source image processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111192202B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11338899A (en) * | 1998-05-21 | 1999-12-10 | Nichiha Corp | System for supporting house coordination and storage medium |
CN104751517A (en) * | 2015-04-28 | 2015-07-01 | 努比亚技术有限公司 | Graphic processing method and graphic processing device |
CN104794695A (en) * | 2015-04-29 | 2015-07-22 | 北京明兰网络科技有限公司 | Shooting-based method for processing three-dimensional building decoration materials |
JP2017076178A (en) * | 2015-10-13 | 2017-04-20 | 旭化成ホームズ株式会社 | Room purpose evaluation device and room purpose evaluation method |
CN107592454A (en) * | 2017-09-08 | 2018-01-16 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108416066A (en) * | 2018-03-29 | 2018-08-17 | 平安好房(上海)电子商务有限公司 | Image searching method, user equipment, storage medium and picture searching device |
CN110069654A (en) * | 2019-03-15 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Source of houses searching method, device, equipment and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9292162B2 (en) * | 2013-04-08 | 2016-03-22 | Art.Com | Discovering and presenting décor harmonized with a décor style |
-
2019
- 2019-12-31 CN CN201911418089.2A patent/CN111192202B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11338899A (en) * | 1998-05-21 | 1999-12-10 | Nichiha Corp | System for supporting house coordination and storage medium |
CN104751517A (en) * | 2015-04-28 | 2015-07-01 | 努比亚技术有限公司 | Graphic processing method and graphic processing device |
CN104794695A (en) * | 2015-04-29 | 2015-07-22 | 北京明兰网络科技有限公司 | Shooting-based method for processing three-dimensional building decoration materials |
JP2017076178A (en) * | 2015-10-13 | 2017-04-20 | 旭化成ホームズ株式会社 | Room purpose evaluation device and room purpose evaluation method |
CN107592454A (en) * | 2017-09-08 | 2018-01-16 | 维沃移动通信有限公司 | A kind of image processing method and mobile terminal |
CN108416066A (en) * | 2018-03-29 | 2018-08-17 | 平安好房(上海)电子商务有限公司 | Image searching method, user equipment, storage medium and picture searching device |
CN110069654A (en) * | 2019-03-15 | 2019-07-30 | 平安城市建设科技(深圳)有限公司 | Source of houses searching method, device, equipment and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
李智君 ; 王勇 ; .低照度环境监控的图像增强算法研究.电子测试.2016,(第19期),全文. * |
王琦.怎样用电脑矫正建筑物的透视变形.照相机.2005,(第02期),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN111192202A (en) | 2020-05-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11601630B2 (en) | Video processing method, electronic device, and non-transitory computer-readable medium | |
JP5139293B2 (en) | Imaging camera processing apparatus and imaging camera processing method | |
US9100678B2 (en) | Image display method, server, and image display system | |
US7492375B2 (en) | High dynamic range image viewing on low dynamic range displays | |
CN1711750A (en) | Method and system for conducting image processing from a mobile client device | |
US10467803B1 (en) | Techniques for providing virtual lighting adjustments utilizing regression analysis and functional lightmaps | |
CN108848367B (en) | Image processing method and device and mobile terminal | |
US11170536B2 (en) | Systems and methods for home improvement visualization | |
WO2019101005A1 (en) | Pixel compensation method and apparatus, and terminal device | |
CN104836957A (en) | Photo shooting processing method and device | |
US7894690B2 (en) | Online image processing methods utilizing image processing parameters and user's satisfaction loop | |
CN111833234A (en) | Image display method, image processing apparatus, and computer-readable storage medium | |
CN114820292A (en) | Image synthesis method, device, equipment and storage medium | |
DE102013020611B4 (en) | An approach to camera control | |
US20210368088A1 (en) | Systems and methods of image enhancement | |
US9092889B2 (en) | Image processing apparatus, image processing method, and program storage medium | |
US11341611B2 (en) | Automatic generation of perceived real depth animation | |
CN111192202B (en) | Automatic house source image processing method and device | |
WO2023087663A1 (en) | Image capture method, electronic device and computer-readable storage medium | |
CN108876729B (en) | Method and system for supplementing sky in panorama | |
CN112839167B (en) | Image processing method, device, electronic equipment and computer readable medium | |
JP2013098925A (en) | Image processing apparatus, image processing method and program | |
WO2019205566A1 (en) | Method and device for displaying image | |
JP2000306118A (en) | Tree texture generating device | |
Zavalishin et al. | Visually aesthetic image contrast enhancement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20230907 Address after: Room A310, Building 7, 700 Wanrong Road, Jing'an District, Shanghai Applicant after: Shanghai Ke'errui Software Technology Co.,Ltd. Address before: Room 703-186, No. 1207, Guangzhong West Road, Jing'an District, Shanghai 200040 Applicant before: SHANGHAI JIANJIA INFORMATION TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |