Here is yet an alternative solution to your problem by modelling your question as a 'path optimization problem'. Linkaxes( cell2mat(get(get(0,'Children'),'Children')) )įunction = FitCurveByPolynom(x,y) Props =regionprops(labels,im,'Image','Area','BoundingBox') ImBinary = imclose(imBinary,strel('disk',2)) These are the curves after fitting a polynomial: These are the curves that are found by finding the weighted average per column: I skipped the automatic threshold selection. Here is a Matlab code that shows steps 1,2 and 4. You can also fit a high-level polynomial, though it is worse, in my opinion. Connect the (x,y) points by fitting some kind of curve.Possibly, smooth the y values, to remove noise.For each blob in the binary image (one zebra stripe), for each x, find the weighted center (by pixel intensity) in y direction.Find a threshold to separate the foreground from the background.My impression, by looking at the images, is that the centerlines could be more continuous (more points) and smoother (not quantized) if they were detected directly from the non-thresholded image (either RGB or grayscale), by some statistical sweeping method (some flooding / iterative convolution, whatever).Īny suggestion would be much appreciated! The problem is that, by thresholding and also by taking the mean height of a discrete pixel column, we're having some precision loss and quantization, which is not desired at all. The photo is a PNG (RGB), and former attempts used grayscaling then difference thresholding to get a black-and-white, "zebra-like" photography, from which it was easy to find the midpoint of each pixel column of each fringe. The task is to find the centerlines of the fringes, which represent, mathematically, the 3D curve of intersection between the fringe plane and the subject surface. If you need any further help, please contact Customer Care.I'm working in a project where fringes are projected against a subject, and a photo is taken. Please bear in mind that the length and neck depth of any garment will fluctuate slightly depending on your size and body shape. Make sure your tape measure is not pulled too tightly and rests comfortably against your body. Ensure it sits as straight as possible around your back. While wearing the bra you would wear under the garment, place the tape measure comfortably around the fullest part of your bust. Place the tape measure at your natural waist position (typically the narrowest part of your torso, just below your rib cage) and wrap it around the circumference.Īlways measure your hip span at its broadest (without wearing shapewear, even if you would wear this under the garment), ensuring the tape measure is level across the back and front of the body. You can then assess the length of the garment against the tape measure. Place the tape measure at the centre of your waist and allow it to hang. Place the tape measure where your neck meets your shoulder and allow it to hang. – You can then assess the length of the garment against the tape measure. ![]() The length stated for the garment is the distance between the centre of your collarbones and the tip of the V neck. Measure from the centre of your collarbones down along the chest. ![]() Please see information below on how to measure yourself How to measure yourself ![]() Please see the table below for international size conversion International size conversion UK
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |