How to fit a dress on human body automatically ?

조회 수: 6 (최근 30일)
Selva Karna
Selva Karna 2021년 1월 21일
댓글: Walter Roberson 2021년 3월 11일
How to fit a dress on human body automatically ?
  댓글 수: 5
Selva Karna
Selva Karna 2021년 3월 11일
you done have idea about this , please delete your commands?
Walter Roberson
Walter Roberson 2021년 3월 11일
No, I don't think I will. The information about how to ask a question well is something you still need to study.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 1월 24일
If all you have is a picture of a piece of clothing, and a picture of a person, then you cannot reliably fit the clothing on the image of the person.
In the best case, the person would happen to be holding their body in the same position as the picture of the clothing happens to have. In that situation, you would use image registration or cross correlation to locate the corresponding points on the piece of clothing and the human, and then you would scale the image of the clothing, and rotate as needed, and drop it on top of the person.
However, most of the time you will not get that lucky. For example if you look at the sample jacket, the arms on it are straight and a particular angle away from the body, whereas the arms of the person in the image at a different angle relative to the body (and different from each other), and the arms are not exactly straight. You would therefore need to manipulate the picture of the clothing to angle parts of it relative to what it is, like image registration with distortions.
The image registration with distortion problem is at least studied, and you can find algorithms for it in reference papers.
But... when all you have is the image of the clothing, you do not know anything about the stiffness of the clothing or which parts stretch or curve when worn. And that means you cannot reliably place it over a human in a natural pose -- not unless you have engineering data that models that particular clothing as a mesh of nodes, each of which is to be modeled as a flat triangle (you can use larger triangles for the back than for the arms if you need to.)
  댓글 수: 2
Selva Karna
Selva Karna 2021년 1월 27일
Hi @Walter Roberson, Share any sample code..
Walter Roberson
Walter Roberson 2021년 1월 27일
I do not have any sample code for this purpose, but see https://www.mathworks.com/help/signal/ref/xcorr2.html#buwe7f3

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by