DE102018108284A1 - A method of measuring the size of an object by processing its image - Google Patents
A method of measuring the size of an object by processing its image Download PDFInfo
- Publication number
- DE102018108284A1 DE102018108284A1 DE102018108284.3A DE102018108284A DE102018108284A1 DE 102018108284 A1 DE102018108284 A1 DE 102018108284A1 DE 102018108284 A DE102018108284 A DE 102018108284A DE 102018108284 A1 DE102018108284 A1 DE 102018108284A1
- Authority
- DE
- Germany
- Prior art keywords
- image
- der
- size
- marks
- mark
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/136—Segmentation; Edge detection involving thresholding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/60—Analysis of geometric attributes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10024—Color image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/24—Aligning, centring, orientation detection or correction of the image
- G06V10/245—Aligning, centring, orientation detection or correction of the image by locating a pattern; Special marks for positioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
Abstract
Es wird ein Verfahren zur Messung des Abstandes zweier Punkte eines Gegenstands durch Verarbeiten von dessen Bild vorgeschlagen, wobei das Bild mit einem Handy aufgenommen wurde. Beispielsweise steht der Gegenstand (z.B. ein menschlicher Fuß) auf einem rechteckigen Papier (1) mit einer Markierung (11) in jeder Ecke. Das Bild muss den Fuß und mindestens drei Markierungen (11) zeigen. Eine Person steht neben dem Papier (1), das an einer Wand befestigt ist, wobei mit dieser Methode das Papier (1) mit einer Hand angedrückt werden kann. Der gemessene Abstand kann zum Erhalten einer richtigen Größe des Fußes verwendet werden. A method is proposed for measuring the distance of two points of an object by processing its image, wherein the image was taken with a mobile phone. For example, the article (eg, a human foot) stands on a rectangular paper (1) with a mark (11) in each corner. The picture must show the foot and at least three marks (11). A person stands next to the paper (1), which is attached to a wall, whereby with this method the paper (1) can be pressed with one hand. The measured distance can be used to obtain a correct size of the foot.
Description
Technisches GebietTechnical area
Die Erfindung betrifft ein Verfahren zur Messung der Größe eines Gegenstands (z.B. eines menschlichen Fußes) durch Verarbeiten von dessen Bild, wobei der Nutzer auf einem rechteckigen Papier mit einer Markierung in jeder Ecke steht. In der Zeichnung sind drei dieser Markierungen gezeigt.The invention relates to a method of measuring the size of an object (e.g., a human foot) by processing its image, the user standing on a rectangular paper with a mark in each corner. In the drawing, three of these marks are shown.
Stand der TechnikState of the art
Üblicherweise sieht sich ein Online-Käufer bei der Suche nach einem Produkt einen e-Katalog an. Für Schuhe misst der Käufer beispielsweise den Fuß und wählt die passende Größe im e-Katalog aus, bevor er oder sie die Bestellung aufgibt. Es kommt jedoch häufig vor, dass der Käufer viel Zeit und Mühe für die Messung opfert. Außerdem ist die Größe im zunehmenden Alter unterschiedlich. Das Speichern des Verlaufs der Größen ist schwierig. Ferner können die bestellten Waren, wie beispielsweise Schuhe, wegen eines visuellen Fehlers nicht die richtigen sein. Dies ist sowohl für den Verkäufer als auch für den Käufer ärgerlich. Diese Situation bedarf einer weiteren Verbesserung.Usually, an online shopper looks for an e-catalog when searching for a product. For shoes, for example, the buyer measures the foot and selects the appropriate size in the e-catalog before he or she places the order. However, it often happens that the buyer sacrifices a lot of time and effort for the measurement. In addition, the size varies with age. Saving the history of sizes is difficult. Furthermore, the ordered goods, such as shoes, may not be the right ones due to a visual error. This is annoying for both the seller and the buyer. This situation needs further improvement.
Aufgabe der ErfindungObject of the invention
Ein Ziel der Erfindung ist es, ein Verfahren zur Messung der Größe eines Gegenstands anzugeben, umfassend die Schritte (a) Aufnahme eines Bildes eines Gegenstands mit einem Handy, wobei der Gegenstand auf einem rechteckigen Papier mit vier Markierungen in je eine der vier Ecken aufliegt, um je eine Abbildung des Gegenstands zu erhalten; Verkleinerung der Größe der Abbildung und visuelles Ausgleichen des Bildes; Vergleich der Abbildung mit einem vorbestimmten Wert, um das Rauschen herauszufiltern; weiterer Vergleich der Abbildung mit einem anpassungsfähigen Schwellenwert, um das Rauschen herauszufiltern; Anwendung einer intelligenten Kantendetektion zur Verdeutlichung eines Abbildungsrands; Berechnung der Anzahl der Umrisse der Markierung; Berechnung der Anzahl der Markierungen in der Abbildung; Kennzeichnung der in der Abbildung gezeigten drei Markierungen als erste, zweite und dritte Markierungen mit einer Koordinate; Erhalten einer vierten Markierung mit Hilfe einer Hochrechnung; Erhalten eines Standorts des Gegenstands im dreidimensionalen Raum; Ausführen einer perspektivischen Transformation am Gegenstand, um einen Abstand zwischen zwei beliebigen Punkten des Gegenstandes in der Abbildung zu schaffen; Unterwerfung der Abbildung einer Transformation des Lab-Farbraums; Anpassung der Bildgröße; Umwandeln der zweidimensionalen Eigenschaften der Abbildung in deren eindimensionale Eigenschaft; Ausführen der Bündelung mit k-Mittel (k=3), um Clusterzentren zu erhalten; Anwendung des erstnächsten benachbarten Klassierers an den Clusterzentren, um die neuen Daten in Bündelungen zu klassifizieren und Berechnen der Anzahl Bündelungen mit Hilfe des asiatischen Farbindexes (L:90, a: 12, b:12); Binarisierung der Hautfarbe der Abbildung zum Umwandeln eines Pixelbilds in ein Binärbild; Messung der Länge des Gegenstands bzw. dessen Breite; Ausführen der perspektivischen Transformation am Gegenstand in der Abbildung; und Erhalten einer richtigen Größe des Gegenstands.An object of the invention is to provide a method of measuring the size of an object, comprising the steps of (a) taking an image of an object with a cell phone, the object resting on a rectangular paper with four markings in each of the four corners, to get a picture of the object; Reducing the size of the image and visually balancing the image; Comparing the map with a predetermined value to filter out the noise; further comparing the map with an adaptive threshold to filter out the noise; Application of intelligent edge detection to illustrate an imaging edge; Calculation of the number of outlines of the mark; Calculation of the number of marks in the figure; Marking the three marks shown in the figure as first, second and third marks with one coordinate; Obtaining a fourth mark using a projection; Obtaining a location of the object in three-dimensional space; Performing a perspective transformation on the object to create a distance between any two points of the object in the image; Subjugation of the mapping of a transformation of the Lab color space; Adjustment of image size; Converting the two-dimensional properties of the image into its one-dimensional property; Perform clustering with k means (k = 3) to obtain cluster centers; Applying the nearest neighbor classifier at the cluster centers to classify the new data into bundles and calculate the number of bundles using the Asian color index (L: 90, a: 12, b: 12); Binarizing the skin color of the image to convert a pixel image to a binary image; Measuring the length of the object or its width; Performing the perspective transformation on the object in the image; and getting a proper size of the object.
Die oben genannten Ziele, Merkmale und Vorteile der Erfindung sind anhand der nachfolgenden detaillierten Beschreibung mit Bezugnahme auf die beigefügten Zeichnungen eingehender beschrieben.The above objects, features and advantages of the invention will be more fully understood from the following detailed description with reference to the accompanying drawings.
Figurenlistelist of figures
-
1 zeigt eine schematische Abbildung eines Fußes, der auf einem rechteckigen Papier mit einer Markierung in jeder Ecke nach einem ersten Ausführungsbeispiel der vorliegenden Erfindung steht;1 shows a schematic illustration of a foot standing on a rectangular paper with a mark in each corner according to a first embodiment of the present invention; -
2 stellt ein Flussdiagramm eines Verfahrens zum Auswählen eines Schuhs durch Bearbeiten der Abbildung des Fußes nach einem ersten Ausführungsbeispiel der vorliegenden Erfindung dar;2 FIG. 10 illustrates a flowchart of a method of selecting a shoe by manipulating the image of the foot according to a first embodiment of the present invention; FIG. -
3 zeigt eine schematische Abbildung der sechs Umrisse der Markierung;3 shows a schematic illustration of the six outlines of the mark; -
4 zeigt eine schematische Abbildung des Verfahrens zum Auffinden der vierten Markierung auf dem Papier;4 shows a schematic illustration of the method for finding the fourth mark on the paper; -
5 zeigt die Länge des Fußes in der Abbildung;5 shows the length of the foot in the picture; -
6 zeigt die Breite des Fußes in der Abbildung;6 shows the width of the foot in the picture; -
7 zeigt eine schematische Abbildung des Fußes, der auf einem rechteckigen Papier mit drei Markierungen in je einem der drei Ecken und mit einer vierten Markierung auf einer Stange steht, wobei diese vierte Markierung auf einer Stange ist, die auf dem Papier aufliegt und sich neben den Zehen des Fußes nach einem zweiten Ausführungsbeispiel der vorliegenden Erfindung befindet;7 shows a schematic illustration of the foot, which stands on a rectangular paper with three marks in each one of the three corners and a fourth mark on a rod, this fourth mark is on a rod, which rests on the paper and next to the toes the foot is located according to a second embodiment of the present invention; -
8 stellt ein Flussdiagramm eines Verfahrens zum Auswählen eines Schuhs durch Bearbeiten der Abbildung des Fußes nach dem zweiten Ausführungsbeispiel der vorliegenden Erfindung dar; und8th FIG. 12 illustrates a flowchart of a method of selecting a shoe by manipulating the image of the foot according to the second embodiment of the present invention; FIG. and -
9 zeigt eine schematische Abbildung einer Person, die vor einer Wand mit einem auf dieser aufgeklebten rechteckigen Papier steht, wobei das Papier in jeder Ecke nach einem dritten Ausführungsbeispiel der vorliegenden Erfindung eine Markierung aufweist.9 shows a schematic illustration of a person standing in front of a wall with a this adhered rectangular paper is standing, wherein the paper has a mark in each corner according to a third embodiment of the present invention.
Wege zur Ausführung der ErfindungWays to carry out the invention
Die
Die
- (
A1 ) Aufnahme eines Bildes des in der1 gezeigten Fußes mit einem Handy, um eine Abbildung des Fußes zu erhalten, wobei der Fuß auf derselben Ebene wie dieMarkierungen 11 stehen muss; - (
A2 ) Verkleinerung der Größe der Abbildung und visuelles Ausgleichen des Bildes; - (
A3 ) Vergleich der Abbildung mit einem vorbestimmten Wert, um das Rauschen herauszufiltern, sowie weiterer Vergleich der Abbildung mit einem anpassungsfähigen Schwellenwert, um das Rauschen herauszufiltern und eine deutlichere Abbildung zu erhalten; - (
A4 ) Anwendung einer intelligenten Kantendetektion zur Verdeutlichung eines Abbildungsrands; - (
A5 ) Berechnung der Anzahl der Umrisse derMarkierung 11 , wobei die Anzahl der Umrisse wegen den sechs Pfeilen in der3 sechs beträgt; - (
A6 ) Berechnung der Anzahl derMarkierungen 11 in der Abbildung; - (
A7 ) ein Flußdiagramm für den Übergang zum nächsten Schritt, falls die Anzahl derMarkierungen 11 drei beträgt, da sonst das Flußdiagramm zu Schritt (A1 ) zurückkehrt; - (
A8 ) wie in4 gezeigt, wird dieMarkierung 11 oben links als eine erste Markierung mit einer ersten Koordinate, dieMarkierung 11 oben links als einezweite Markierung 11 mit einer zweiten Koordinate und dieMarkierung 11 oben rechts wird als eine dritte Markierung mit einer dritten Koordinate definiert, so dass mit Hilfe einer Hochrechnung eine vierte Markierung mit einer vierten Koordinate in der unteren rechten Ecke erhalten werden kann; - (
A9 ) Erhalten des Standorts der Abbildung im dreidimensionalen Raum und Ausführen einer perspektivischen Transformation, um einen Abstand zwischen zwei beliebigen Punkten in der Abbildung zu schaffen; - (
B1 ) Unterwerfung der Abbildung einer Transformation des Lab-Farbraums, da der RGB-Farbraum die Hautfarbe nur sehr begrenzt identifiziert, wobei die Hautfarbe mit dem Lab-Farbraum verstärkt werden kann; - (
B2 ) Anpassung der Bildgröße und Umwandlung der zweidimensionalen Eigenschaften der Abbildung in deren eindimensionale Eigenschaft; - (
B3 ) Ausführen der Bündelung mit k-Mitteln (k=3), um Clusterzentren zu erhalten, wobei die Farbe als eine erste Bündelung der Hautfarbe, eine zweite Bündelung der weißen Farbe und eine dritte Bündelung des Hintergrunds klassifiziert werden; - (
B4 ) Erhalten einer Anzahl von Bündelungen und Clusterzentren, insbesondere des erstnächsten benachbarten Klassierers der Clusterzentren, der durch k-Mittel erhalten wurde und zum Klassifizieren der neuen Daten in den vorhandenen Bündelungen verwendet wird, wobei das Berechnen der Anzahl der Bündelungen und Clusterzentren mit Hilfe der asiatische Farbindex (L:90, a:12, b:12) erfolgt; - (
B5 ) Binarisierung der Hautfarbe der Abbildung zum Umwandeln eines Pixelbilds in ein Binärbild, insbesondere wird ein Abstand zwischen jedem Pixel der Abbildung und der nächsten Bündelung als 255 und ein Abstand zwischen derselben Bündelung und dem distalen Clusterzentrum als 0 definiert; - (
B6 ) Messung der Fußlänge (5 ) bzw. der Fußbreite (6 ); - (
C1 ) Ausführung einer perspektivischen Transformation des Fußes in der Abbildung; - (
C2 ) Erhalten der richtigen Größe des Fußes; - (
D1 ) Eingabe der Größe des Fußes in eine Schuhdatenbank, in dem zahlreiche verschiedene Größen und Schuharten gespeichert sind; und - (
D2 ) Suche der Schuhdatenbank, um einen geeigneten nummerierten Schuh, in den der Fuß passt, zu finden.
- (
A1 ) Taking a picture of the in the1 foot with a mobile phone to get an image of the foot, with the foot on the same level as themarkers 11 must stand; - (
A2 ) Reducing the size of the image and visually balancing the image; - (
A3 ) Compare the image with a predetermined value to filter out the noise, and further compare the image with an adaptive threshold to filter out the noise and obtain a clearer image; - (
A4 ) Application of intelligent edge detection to illustrate an imaging edge; - (
A5 ) Calculation of the number of outlines of the marking11 , the number of outlines because of the six arrows in the3 is six; - (
A6 ) Calculation of the number ofmarks 11 in the picture; - (
A7 ) a flow chart for the transition to the next step, if the number ofmarks 11 is three, otherwise the flowchart for step (A1 ) returns; - (
A8 ) as in4 shown, the mark becomes11 top left as a first marker with a first coordinate, themarker 11 top left as asecond mark 11 with a second coordinate and themarker 11 upper right is defined as a third marker with a third coordinate, so that by means of a projection a fourth marker with a fourth coordinate in the lower right corner can be obtained; - (
A9 ) Obtaining the location of the image in three-dimensional space and performing a perspective transformation to create a space between any two points in the image; - (
B1 ) Subjugation of the mapping of a transformation of the Lab color space, since the RGB color space identifies skin color only to a very limited extent, whereby the skin color can be intensified with the Lab color space; - (
B2 ) Adaptation of the image size and conversion of the two-dimensional properties of the image into its one-dimensional property; - (
B3 ) Performing clustering with k means (k = 3) to obtain cluster centers, classifying the color as a first bundling of the skin color, a second bundling of the white color, and a third bundling of the background; - (
B4 Obtaining a number of bundles and cluster centers, in particular the cluster cluster first adjacent clusterer, obtained by k-resources and used to classify the new data in the existing bundles, calculating the number of bundles and cluster centers using the Asian cluster Color index (L: 90, a: 12, b: 12); - (
B5 Binarization of the skin color of the image to convert a pixel image into a binary image, in particular a distance between each pixel of the image and the next bundle is defined as 255 and a distance between the same bundle and the cluster center distal is 0; - (
B6 ) Measurement of foot length (5 ) or the foot width (6 ); - (
C1 ) Performing a perspective transformation of the foot in the figure; - (
C2 ) Getting the right size of the foot; - (
D1 ) Enter the size of the foot in a shoe database, which stores many different sizes and types of shoes; and - (
D2 ) Search the shoe database to find a suitable numbered shoe to fit the foot.
Die
Die
Die
Trotz der Beschreibung der Erfindung anhand der bevorzugten Ausführungsbeispiele wird es den Fachleuten auf diesem Gebiet offensichtlich werden, dass Modifizierungen innerhalb des Geistes und des Umfangs der nachfolgenden angehängten Patentansprüche an der Erfindung vorgenommen werden können.In spite of the description of the invention in terms of the preferred embodiments, it will be apparent to those skilled in the art that modifications can be made to the invention within the spirit and scope of the following appended claims.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102018108284.3A DE102018108284A1 (en) | 2018-04-09 | 2018-04-09 | A method of measuring the size of an object by processing its image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102018108284.3A DE102018108284A1 (en) | 2018-04-09 | 2018-04-09 | A method of measuring the size of an object by processing its image |
Publications (1)
Publication Number | Publication Date |
---|---|
DE102018108284A1 true DE102018108284A1 (en) | 2019-10-10 |
Family
ID=67991381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DE102018108284.3A Ceased DE102018108284A1 (en) | 2018-04-09 | 2018-04-09 | A method of measuring the size of an object by processing its image |
Country Status (1)
Country | Link |
---|---|
DE (1) | DE102018108284A1 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180033202A1 (en) * | 2016-07-29 | 2018-02-01 | OnePersonalization Limited | Method and system for virtual shoes fitting |
-
2018
- 2018-04-09 DE DE102018108284.3A patent/DE102018108284A1/en not_active Ceased
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20180033202A1 (en) * | 2016-07-29 | 2018-02-01 | OnePersonalization Limited | Method and system for virtual shoes fitting |
Non-Patent Citations (4)
Title |
---|
HIRZER, Martin. Marker detection for augmented reality applications. In: Seminar/Project Image Analysis Graz. 2008. URL: http://studierstube.icg.tugraz.at/thesis/marker_detection.pdf * |
PHUNG, Son Lam; BOUZERDOUM, Abdesselam; CHAI, Douglas. A novel skin color model in ycbcr color space and its application to human face detection. In: Image Processing. 2002. Proceedings. 2002 International Conference on. IEEE, 2002. S. I-289 – I-292 * |
Wikipedia, „Computer vision". Bearbeitungsstand: 4. März 2018. URL: https://en.wikipedia.org/w/index.php?title=Computer_vision&oldid=828740489 [abgerufen am 31.01.2019] * |
Wikipedia, „k-Means-Algorithmus". Bearbeitungsstand: 9. Januar 2018. URL: https://de.wikipedia.org/w/index.php?title=K-Means-Algorithmus&oldid=172760627 [abgerufen am 31.01.2019] * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE69833999T2 (en) | METHOD FOR THE AUTOMATIC DETECTION OF HUMAN EYES IN DIGITAL IMAGES | |
EP1290408B1 (en) | Method and assembly for the photogrammetric detection of the 3-d shape of an object | |
DE102017220307B4 (en) | Device and method for recognizing traffic signs | |
DE102009051826A1 (en) | Method for comparing the similarity of 3D pictorial objects | |
DE4309802A1 (en) | Color control close to production with imaging sensors | |
DE2063932A1 (en) | Method for correlating two images | |
DE102009023756B4 (en) | Proof of origin and authorship of images | |
EP1316057A2 (en) | Evaluation of edge direction information | |
DE102019209644A1 (en) | Method for training a neural network | |
DE102015207903A1 (en) | Apparatus and method for detecting a bar-type traffic sign in a traffic sign recognition system | |
WO2020178198A1 (en) | Estimating the movement of an image position | |
DE102015010514B4 (en) | A method of determining map information for a map data set of a navigation environment and computing device | |
DE102018108284A1 (en) | A method of measuring the size of an object by processing its image | |
DE602004004594T2 (en) | METHOD FOR MEASURING THE NEAR RATIO OF TWO CONTOURS AND SYSTEM FOR AUTOMATIC TARGET IDENTIFICATION | |
DE102006036345B4 (en) | Method and device for determining the position of objects in three-dimensional space | |
DE112017006794T5 (en) | IMAGE DATABASE EDUCATION DEVICE, LOCAL AND TILT APPARATUS AND IMAGE DATABASE EDUCATION PROCESS | |
DE60207569T2 (en) | ADJUSTMENT OF THE ENERGY FUNCTION IN CALCULATION IN REAL TIME OF CONTOURS FOR PICTORIAL SEGMENTATION | |
AT505885B1 (en) | METHOD OF COMPARING TWO OBJECTS | |
DE112007001776T5 (en) | Method for selecting an image for insertion into a document | |
DE10214840A1 (en) | Photogrammetric method for determining geometric information from images | |
Savant et al. | Color Image Edge Detection using Gradient Operator | |
DE102009009572B3 (en) | Method for entropy-based determination of object edge curves | |
EP3295367B1 (en) | Device for identifying floor regions | |
DE102020205563A1 (en) | Recording of anatomical dimensions and determination of suitable garments | |
DE102021133709A1 (en) | Mat for performing a photogrammetry method, use of the mat and associated method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
R012 | Request for examination validly filed | ||
R002 | Refusal decision in examination/registration proceedings | ||
R003 | Refusal decision now final |