CN109859108B - Image processing clipping method convenient for adjusting image size - Google Patents

Image processing clipping method convenient for adjusting image size Download PDF

Info

Publication number
CN109859108B
CN109859108B CN201910111622.4A CN201910111622A CN109859108B CN 109859108 B CN109859108 B CN 109859108B CN 201910111622 A CN201910111622 A CN 201910111622A CN 109859108 B CN109859108 B CN 109859108B
Authority
CN
China
Prior art keywords
image
size
images
dot matrix
color
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
Application number
CN201910111622.4A
Other languages
Chinese (zh)
Other versions
CN109859108A (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.)
Changsha Yingbeidi Electronic Technology Co ltd
Original Assignee
Changsha Yingbeidi Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Yingbeidi Electronic Technology Co ltd filed Critical Changsha Yingbeidi Electronic Technology Co ltd
Priority to CN201910111622.4A priority Critical patent/CN109859108B/en
Publication of CN109859108A publication Critical patent/CN109859108A/en
Application granted granted Critical
Publication of CN109859108B publication Critical patent/CN109859108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for conveniently adjusting image size cutting for image processing, which relates to the technical field of image size cutting. The image processing is used for conveniently adjusting the image size cutting method, aiming at image characteristics, the images are divided into two major categories, namely regular images and irregular or images with special requirements, the two categories of images are respectively processed in the aspects of size and cutting by adopting a proper mode method, the diagonal principle is directly adopted for determining the image cutting size for the regular images, the images with the irregular or special requirements are segmented layer by layer, in the segmentation process, the images are subjected to timely resolution adjustment and PS repair, and the finally obtained images are ensured to have very good definition as far as possible.

Description

Image processing clipping method convenient for adjusting image size
Technical Field
The invention relates to the technical field of image size cutting, in particular to a method for conveniently adjusting image size cutting for image processing.
Background
Image processing is a technology for analyzing images by a computer to achieve a required result, and is also called image processing, picture cropping belongs to one of image processing, picture batch cropping can be divided into five categories of relative cropping, absolute cropping, fixed cropping, thumbnail and size cropping, and image size cropping can be classified into image size cropping, so that the image is re-cropped in size.
In image cropping, a series of processing steps are required to be performed on the image after the image is picked up, and then the corresponding size cropping step is performed.
The conventional image size cutting method usually performs unified and disposable cutting and segmentation on the images due to factors such as convenience and time saving when cutting the irregular images, so that the finally cut images are not clear enough, the insufficient definition of the images is often caused by unsuitable resolution ratio given by the images with different sizes, and the problem and the influence caused by the problem are particularly considered in the process of cutting the images.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a clipping method for conveniently adjusting the image size for image processing, which solves the problems in the prior art.
In order to achieve the above purpose, the invention is realized by the following technical scheme: an image processing method for facilitating adjustment of image size cutting, the image processing method for facilitating adjustment of image size cutting is divided into two, namely an image size cutting method for regular images and an image size cutting method for irregular or special requirements, the image size cutting method for regular images specifically comprises the following steps:
(1) Importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Determining the image size according to diagonal rule and cutting;
the image size clipping method aiming at irregular or special requirements specifically comprises the following steps:
(1) Importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Selecting image contour features, and freely distributing grids on the image according to a dot-line-to-plane principle;
(5) According to the line or plane formed by the grid points, intercepting the line or plane along the edge of the selected area of the image as far as possible without leaving edges;
(6) After the image is cut off, the resolution is determined again, and the image is repaired through PS software;
(7) A blank document is built, and the image is reserved in the blank document in a white background;
(8) Repeating steps (4), (5), (6) and (7) until a final target image is obtained.
Optionally, the regular image may be directly cut according to the diagonal rule, and the irregular or specially required image may not be directly cut according to the diagonal rule.
Optionally, the scanned image is scanned and picked up, and the content of the scanned and picked up is specifically three aspects of image color distribution picking up, image morphology distribution picking up and image readable information picking up.
Optionally, the image readable information is specifically a file name, a file format, a publisher, a publishing time and a storage size of the image, and an original resolution of the image and an original size of the image.
Optionally, the distribution grid is used for selecting the image contour feature, and the distribution grid is specifically a lattice pick-up of dense points.
Optionally, the dot matrix pick-up of the dense dots includes image line dot matrix pick-up, image concentrated area dot matrix pick-up, and image color intersection area dot matrix pick-up.
Optionally, the image line dot matrix is picked up, and the border lines of the selected area of the image are traced through the dense strip dot matrix.
Optionally, the image concentrated area lattice is picked up, and the concentrated area of the image selected area is covered by the dense block lattice, and the concentrated area of the image selected area is specifically a color distribution area and a tile area.
Optionally, the dot matrix of the image color intersection area is picked up, and the color intersection area of the selected area of the image is covered by the dense block dot matrix, wherein the color intersection area of the selected area of the image is specifically a color transition area among different chromaticity, hue and color samples.
The invention provides a clipping method for image processing, which is convenient for adjusting the image size, and has the following beneficial effects: the image processing is used for conveniently adjusting the image size cutting method, aiming at image characteristics, the images are divided into two major types, namely regular images and irregular or special-requirement images, the two types of images are respectively processed in size and cutting aspect by adopting a proper mode method, the diagonal principle is directly adopted for determining the image cutting size for the regular images, the irregular or special-requirement images are segmented layer by layer, in the segmentation process, the timely resolution adjustment and PS repair are carried out on the images, the final obtained images are ensured to have very good definition as far as possible, the sizes and the areas of the captured images are determined in a grid distribution mode when the irregular or special-requirement images are cut, and the image sizes can be adjusted in a targeted mode according to the actual condition of the images, so that the aim of conveniently adjusting the image sizes is fulfilled.
Drawings
FIG. 1 is a schematic diagram of an image size cropping process according to the present invention;
FIG. 2 is a schematic diagram of a scanned image process according to the present invention;
FIG. 3 is a flow chart illustrating the process of selecting image profile features according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
Referring to fig. 1-3, the present invention provides a technical solution: the image processing method for facilitating adjustment of image size includes two specific methods, namely an image size cutting method for regular images and an image size cutting method for irregular or special requirements, and specifically comprises the following steps:
(1) Importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Determining the image size according to diagonal rule and cutting;
the image size cutting method aiming at irregular or special requirements specifically comprises the following steps:
(1) Importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Selecting image contour features, and freely distributing grids on the image according to a dot-line-to-plane principle;
(5) According to the line or plane formed by the grid points, intercepting the line or plane along the edge of the selected area of the image as far as possible without leaving edges;
(6) After the image is cut off, the resolution is determined again, and the image is repaired through PS software;
(7) A blank document is built, and the image is reserved in the blank document in a white background;
(8) Repeating steps (4), (5), (6) and (7) until a final target image is obtained;
the regular image can be cut directly according to the diagonal rule, the irregular or special-requirement image is cut directly without the diagonal rule, the image processing is convenient for adjusting the image size cutting method, the image is divided into two major categories aiming at the image characteristics, namely the regular image and the irregular or special-requirement image, the two categories of images are respectively processed in the aspects of size and cutting by adopting a proper method, the diagonal rule is directly adopted for determining the image cutting size for the regular image, and the irregular or special-requirement image is divided layer by layer;
scanning and picking up the image, wherein the content of the scanning and picking up is specifically three aspects of image color distribution picking up, image form distribution picking up and image readable information picking up, the image scanning process is actually a process of acquiring the basic form of the image, the purpose of the image scanning process is to determine the basic tone, the basic color and the basic layout of the image, the image readable information is specifically the file name, the file format, the publisher, the release time and the storage size of the image, the original resolution of the image and the original size of the image, and the image information is perfected by picking up the image readable information, so that the problem of poor resolution caused by difference of the file formats of the image is avoided;
the distribution grid is used for selecting image contour features, the distribution grid is particularly dense dot matrix pick-up, the dense dot matrix pick-up enables the pick-up process to be finer and more accurate, line surface drawing is closer to an original image, the dense dot matrix pick-up comprises image line dot matrix pick-up, image concentrated region dot matrix pick-up and image color intersection region dot matrix pick-up, three-party dot matrix pick-up of image lines, image concentrated regions and image color intersection regions is used for maximally restoring the image contour features, the image line dot matrix pick-up is used for tracing border lines of the image selected region, edge division is carried out on the image selected region, the image concentrated region dot matrix pick-up is used for covering the concentrated region of the image selected region, the concentrated region of the image selected region is particularly a color distribution region and a block region, the color and block concentrated representation region of the image selected region are divided, the image color intersection regions of the image selected region are covered through the dense regional dot matrix, the color intersection regions of the image selected region are particularly different in chromaticity, hue and color intersection regions are different in hue and color intersection regions, and color intersection regions are divided into transition regions;
in the process of carrying out layer-by-layer segmentation on irregular or specially required images, timely resolution adjustment and PS repair are carried out on the images, so that the finally obtained images are guaranteed to have very good definition as far as possible, when the irregular or specially required images are cut, the sizes and the areas of the captured images are determined in a grid distribution mode, the image sizes can be adjusted in a targeted manner according to the actual conditions of the images, and therefore the purpose of conveniently adjusting the image sizes is achieved.
In summary, the image processing is convenient for adjusting the image size cutting method, classifying and cutting images in different forms, and the cut images can keep extremely high definition, when the images with irregular or special requirements are cut, the images are divided layer by layer, the cutting is accurate, the condition that excessive images are not cut or unnecessary images are reserved is ensured, and the cut final images can be ensured to have extremely high definition.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.

Claims (5)

1. The image processing method for conveniently adjusting the image size is characterized by comprising two specific image size cutting methods for regular images and image size cutting methods for irregular or special requirements, wherein the image size cutting method for regular images specifically comprises the following steps of: (1) importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Determining the image size according to diagonal rule and cutting;
the image size clipping method aiming at irregular or special requirements specifically comprises the following steps: (1) importing an image;
(2) Scanning the image to determine a global space;
(3) Determining the resolution and adjusting the chromatic aberration;
(4) Selecting image contour features, and freely distributing grids on the image according to a dot-line-to-plane principle;
(5) According to the line or plane formed by the grid points, intercepting the line or plane along the edge of the selected area of the image as far as possible without leaving edges;
(6) After the image is cut off, the resolution is determined again, and the image is repaired through PS software;
(7) A blank document is built, and the image is reserved in the blank document in a white background;
(8) Repeating the steps (4), (5), (6) and (7) until a final target image is obtained,
the regular image can be cut directly according to the diagonal rule, the irregular or special-requirement image is not cut directly according to the diagonal rule,
the scanned image is scanned and picked up, the content of the scanned and picked up is specifically three aspects of image color distribution picking up, image form distribution picking up and image readable information picking up,
the image readable information is specifically the file name, file format, publisher, publication time and storage size of the image and the original resolution of the image and the original size of the image,
the distribution grid is used for selecting image contour features, and the distribution grid is specifically a lattice pick-up of dense points.
2. An image processing method for facilitating adjustment of image size cropping according to claim 1, wherein: the dot matrix pick-up of the dense dots comprises image line dot matrix pick-up, image concentrated area dot matrix pick-up and image color intersection area dot matrix pick-up.
3. An image processing method for facilitating adjustment of image size cropping according to claim 2, wherein: and picking up the image line dot matrix, and tracing the frame lines of the selected area of the image through the dense strip dot matrix.
4. An image processing method for facilitating adjustment of image size cropping according to claim 2, wherein: the image concentrated area lattice is picked up, and concentrated areas of the image selected area are covered by the dense blocky lattice, wherein the concentrated areas of the image selected area are specifically color distribution areas and block areas.
5. An image processing method for facilitating adjustment of image size cropping according to claim 2, wherein: the image color intersection area lattice is picked up, the color intersection area of the selected area of the image is covered through the dense blocky lattice, and the color intersection area of the selected area of the image is specifically a color transition area among different chromaticity, hue and color samples.
CN201910111622.4A 2019-02-12 2019-02-12 Image processing clipping method convenient for adjusting image size Active CN109859108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910111622.4A CN109859108B (en) 2019-02-12 2019-02-12 Image processing clipping method convenient for adjusting image size

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910111622.4A CN109859108B (en) 2019-02-12 2019-02-12 Image processing clipping method convenient for adjusting image size

Publications (2)

Publication Number Publication Date
CN109859108A CN109859108A (en) 2019-06-07
CN109859108B true CN109859108B (en) 2024-03-19

Family

ID=66897781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910111622.4A Active CN109859108B (en) 2019-02-12 2019-02-12 Image processing clipping method convenient for adjusting image size

Country Status (1)

Country Link
CN (1) CN109859108B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112686973A (en) * 2020-12-24 2021-04-20 京东方科技集团股份有限公司 Image editing method, control device, storage medium and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184295A (en) * 2011-05-12 2011-09-14 贰陆光学(苏州)有限公司 Method and system for optimizing irregular material clipping layout
CN103544711A (en) * 2013-11-08 2014-01-29 国家测绘地理信息局卫星测绘应用中心 Automatic registering method of remote-sensing image
CN108737732A (en) * 2018-06-04 2018-11-02 成都依能科技股份有限公司 A method of give a definition static high-definition image shooting area in dynamic image preview
CN108776970A (en) * 2018-06-12 2018-11-09 北京字节跳动网络技术有限公司 Image processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6456732B1 (en) * 1998-09-11 2002-09-24 Hewlett-Packard Company Automatic rotation, cropping and scaling of images for printing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184295A (en) * 2011-05-12 2011-09-14 贰陆光学(苏州)有限公司 Method and system for optimizing irregular material clipping layout
CN103544711A (en) * 2013-11-08 2014-01-29 国家测绘地理信息局卫星测绘应用中心 Automatic registering method of remote-sensing image
CN108737732A (en) * 2018-06-04 2018-11-02 成都依能科技股份有限公司 A method of give a definition static high-definition image shooting area in dynamic image preview
CN108776970A (en) * 2018-06-12 2018-11-09 北京字节跳动网络技术有限公司 Image processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
数字图像与视频图像的裁剪方法研究;杨再祥 等;《无线互联科技》;20170930(第17期);第116-117页 *

Also Published As

Publication number Publication date
CN109859108A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109886896B (en) Blue license plate segmentation and correction method
CN108146093B (en) Method for removing bill seal
CN107085505B (en) CDR file automatic processing and automatic comparison method and system
WO2008018623A1 (en) Method, apparatus and integrated circuit for improving image sharpness
CN107067375A (en) A kind of image defogging method based on dark channel prior and marginal information
US6556721B1 (en) Method for image auto-cropping
CN109859108B (en) Image processing clipping method convenient for adjusting image size
CN104361335A (en) Method for automatically removing black edges of scanning images
CN113436206B (en) Pathological tissue section scanning area positioning method based on cluster segmentation
CN115170525A (en) Image difference detection method and device
CN112784894B (en) Automatic labeling method for rock slice microscopic image
AU2009270534B2 (en) Method and apparatus for imaging of features on a substrate
CN116681879B (en) Intelligent interpretation method for transition position of optical image boundary layer
Shi et al. Historical document image segmentation using background light intensity normalization
CN110751690B (en) Visual positioning method for milling machine tool bit
CN112686872A (en) Wood counting method based on deep learning
CN110288531B (en) Method and tool for assisting operator in making standard identity card photo
CN114627463B (en) Non-contact power distribution data identification method based on machine identification
CN109345544B (en) Automatic color difference analysis method for 24-color card
CN111275729A (en) Method and system for precisely dividing sky area and method and system for changing sky of image
CN113516587B (en) Sock platemaking file inverse generation method based on pixel fusion
CN113763404B (en) Foam image segmentation method based on optimization mark and edge constraint watershed algorithm
JP4825888B2 (en) Document image processing apparatus and document image processing method
CN111640122B (en) LED special-shaped display screen facula positioning and dividing method based on connected domain
CN111681185B (en) Finite element modeling method based on X-ray scanning image of asphalt mixture

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: 20240219

Address after: 410000 floor 2, building C12, Minmetals Lugu science and Technology Industrial Park, No. 28, Lutian Road, high tech Development Zone, Changsha City, Hunan Province

Applicant after: CHANGSHA YINGBEIDI ELECTRONIC TECHNOLOGY CO.,LTD.

Country or region after: China

Address before: 518000 b812, TT international apartment, Lianhua West Road, Futian District, Shenzhen City, Guangdong Province

Applicant before: Du Du

Country or region before: China

GR01 Patent grant
GR01 Patent grant