Introduction About Site Map

XML
RSS 2 Feed RSS 2 Feed
Navigation

Main Page | Blog Index

Archive for the ‘Research’ Category

GMDS-based Surface Matching After Alignment, Masking

FOLLOWING this previous shoutout I was speaking to a colleague about a more reliable way of comparing two triangulated surfaces as it is required once the masking gets done and good alignment is attained.

I spent some time searching around the Web to see if someone made a robust and accurate way of doing so, rather than rely on ad hoc methods that I wrote on my own. The triangles already are reduced for analogous regions to overlap, but comparing on this basis (in 3-D) needs some cunning theory to be robust to slight changes in expression. MathWorks’ File Exchange hardly provides anything for this purpose. I looked through hundreds of submissions. There is a paper titled “Surface Matching: geodesic distance evolution PDEs on manifolds” and it links to http://www.cs.cmu.edu/~3dvision/meshtoolbox/executables.html. The page is no longer there, but there is a new working URL for it. “Overlap” is the tool closest to what we need (but not quite the best for the job). The comparison we do is not a topological one but one that should be sensitive to small localised anomalies, with just 4,000 (at most, for technical limitation in FMM) triangles. To get to the very high 90s in terms of matching rates (%-wise) I could use some advice/pointers. I have been reading “Geodesic Matching of Triangulated Surfaces”. It is a paper from A. Ben Hamza and Hamid Krim (North Carolina State University) and it demonstrates the use of Jensen-Shannon dissimilarity results. Wang et al. in “3D Brain surface matching based on geodesics and local geometry” seemed interesting and relevant. This paper, however, does not deal with surface-to-surface comparison of brains but with other problems. After a while it was time to explore older methods.

We experimented a lot with GMDS back in July until a few months later. It did not give sufficiently good results for two main reasons: 1) the separability in terms of scores was not good enough and 2) GMDS did not always find the correct correspondences, perhaps due to initialisation issues and other factors. GMDS gave recognition rates higher than 90%, but this baseline was surpassed by the newer implementation. As GMDS is a refinement mechanism, it would be useful to see what would happen if we iterate (i.e. re-run it after some other way of aligning the surfaces). I decided to give that a go.

The results so far look so-and-so, with more false pairs being run to smoothen the curve and draw better conclusions. I am merely presenting the results, irrespective of their quality, just the quality of the experiments used to arrive at them. What’s measured in this case is the best fit stress (best among all iterations), which means that the rest get altogether discarded. ~4000 triangles are used for FMM in this case.

Running further experiments to account for more example pairs has done little to actually contribute to optimism, so I will explore another approach in iterating over the set with GMDS (run overnight).

Taking the average GMDS score rather than the best fit (minimum) score leads to results that are not better. These results are significantly inferior to those attaind through the older FMM-based method.

Important enough to mention was the fact that in the aforementioned experiments — those with GMDS iterations — only the area around the nose was factored in because it surrounds the landmark point which can most accurately be determined. Experiments from last year, however, systematically showed superior performance when an estimation of eye locations form the basis for an expanded mask, so additional experiments will now be run with the expectation that they will show improved recognition performance (hopefully around 95% correct).

Several more experiments have been run to explore the use of GMDS in a supposedly more robust way to establish when an image pair comprises corresponding people. Starting with experiments that look at the use of 3 GMDS processes around 3 different centres, there is a best fit approach, from which the following ROC curve was obtained.

The same for average reveals similar performance.

By taking all centre points at once and performing GMDS on a mask around that we get the third ROC curve.

he same for average shows performance lagging considerably (in comparison with results from another approach).

It is a lot worse than the ~97% recognition rates we got some months ago, Time to step back and rethink perhaps.

Geometry Gurus Needed (First Order Geodesics on Surface Pairs)

I COULD really use the advice of some people who are interested in computer graphics and vision — inverse but complementary fields, which are largely related to geometry and mathematics at large. The challenge is to compare surfaces based on their 3-D characteristics, using Euclidean, geodesic or another non-Euclidean metrics.

Here is what the surfaces look like.

Subject surfaces

The following image represents a performance ROC curve we have.

ROC curve dilation approach

In simple terms, this means that we’re able to classify correctly about 70% of the time. Having summarised a year’s work, culminating in mostly unsuccessful experiments around diffusion (around 97^ recognition rate, the above is poor, So I return to working with geodesic distances as the Swiss army knife for measurement of distances. But the approach being explored at the moment is different and with further enhancement it can hopefully yield performance higher than 97% (matching rate). The sources of limitation are generally well understood in the sense that they can be visualised and overlaid on top of the image pairs. There is no trivial and reliable way to establish multiple landmark points around which to measure distances consistently, so I am trying another way, which at a very coarse level has a matching rate of about 80% (can be significantly improved soon).

The approach attempted at this stage involves triangle comparison post- and pre-marking, but the performance attained so far is not satisfactory.

The limitation is likely inherent in the measuring of distances in FMM and the sub-sampling that results from triangulation (see image for the size of triangles to be fully appreciated).

One particular weakness of the diffusion approach to masking is that it leads to holes in the data, which invalidates some of the measures that were used routinely beforehand. In order to fuse together both geodesic and spectral measures, we now attempt to get a more symbiotic approach that carves out surfaces based on geodesic properties and then uses spectral features on these surfaces. Since ordering does not exist (e.g. point-to-point correspondences), the histogram of images is used to describe the sub-surfaces (carved out around a known correspondence). By increasing the number of rings and bins in the histogram, the performance can be varied somewhat. I was running overnight experiment to test this and got some other appalling ROC curves, such as this:

Curve dilation approach with more rings

The results from the last experiment were disappointing because they did not provide good separability. So the following morning I designed and started running an experiment that explores the potential of measuring diffusion distance between furthest points in the surface carved in accordance with geodesic boundaries (several rings). This too did not give good results. Generally speaking, diffusion distance as a measurement has not proven to be anywhere as useful as FMM so far (since December). It seems to be insensitive to small differences and it does not seem to degrade linearly, either. The next experimental design will explore another new approach, perhaps conceding the potential of diffusion being integrated into the framework’s pipeline.

So the question is this: given two surfaces that are geodetically craves around the surface, what approach would you use to compare them for similarity? We’ve tried a variety of known methods, but none seems to yield very encouraging results thus far. Thanks for any advice or pointers you may have.

Longest Document I’ve Ever Published

With recent milestones reached and a change in publication strategy, I decided to unleash some easy-to-run code along with the 535 pages which document the code as well as experiments that have been run using this code over the past year or so. The document is not as organised as it ought to be, but I hereby make a lot of stuff available in fairly raw form. I made an HTML version to overcome file size issues that are associated with PDF, not to mention accessibility issues.

Surface Matching With Statistics and Geometry: Technical Report for 2011 (PDF – 535 pages, HTML – multi-page layout)

In summary, performance verging state-of-the-art is reached. In order to pile up and share the approach/work done thus far (before proceeding with the exploratory direction of diffusion/other), these are hastily-assembled notes that weigh 60 MB (over 500 pages for this document) which contain a lot of material that can prove useful some time along the way. Here is a previous post with some shorter documents. They are all being uploaded as HTML and PDF once they become coherent enough, soon to be indexed and made accessible through the research page and Web search as well.

Research Posts to Resume Soon

LAST year (or at the end of 2010 to be more accurate) I started posting a lot more often about my work in this blog. I resumed what I had done years beforehand, even if that meant a loss of focus for this personal blog. But then again, this blog hardly ever had any single point of focus, so after the upcoming release of one gigantic PDF I will resume posting updates about my research on a more regular basis. This ought to achieve a more transparent communication of ideas. It is also a departure from the disappointing pace of blogging (about a post per week as of late).

Why This Blog is Hardly Active Anymore

Roy Schestowitz

I RARELY find the time or even the need to write about my research in this blog, either the Linux- and software-related research or my job where I study geometric methods and develop new techniques that nobody tried before. The reason for inaction regarding the latter is that I cumulatively prepare a large report (over 300 pages so far) which will be published in full in this Web site when it’s all polished, along with code. I posted some material before. For the former, there is a site dedicated to that and it is called Techrights. That site took many years to build a reputation and PageRank 7. It now attracts a huge number of visitors and serves as my main blogging platform (I have about 10 installed WordPress blogs in total). Schestowitz.com became a dumping ground for random thoughts and stories that do not fit elsewhere. Thanks to all those who follow this blog in spite of disorder.

For more regular updates from me, please also follow Techrights. It is more polished than this Web site.

Manipulating Image Sequences and Making Animations

SO, TODAY was a little dull. In the midst of boredom scripts were produced to turn a sequence of images into an animation of small size with an example of crop, border, and resize (ImageMagick required). Let’s go through this one step at a time. Put all the images from the sequence in a working directory.

mogrify -resize 25% -border 3 *

This adds a border and also resizes all images at the same time.

mogrify -crop 300x70+0+40 *

This one crops the images in accordance with the coordinates given (width, height, horizontal offset, vertical offset). Once everything is processed:

animate *

Save the resultant animation as GIF, for example (there are other options). Here is a sample:

Person in 3-D

That specific animation provides insight into variability of surfaces on which geodesic measures are taken. For particular cases, detection is made harder by motion around the eyes (including closure), but this is one of the caveats of dealing with surfaces of these kinds. It would be easier with biomedical data.

GMDS Notes Now Online

GMDS error

THE FOLLOWING research notes have just been uploaded, hopefully to help others understand the work undertaken and what ideas are being tested (generalised to the extent of being applicable to any type of data, including biomedical). The 200+ pages long document which is more complete is still work in progress and it will be published at a later date. Thanks to the ERC for funding this work.

GMDS and PCA Duality (PDF, HTML)
3-D Expression Dissection: An Approach In Brief (PDF, HTML)
Multi-Feature PCA (PDF, HTML)
Exploratory GMDS Integration (PDF, HTML)
GMDS-PCA: Project Plan (PDF, TXT)

Retrieval statistics: 21 queries taking a total of 0.094 seconds • Please report low bandwidth using the feedback form
Original styles created by Ian Main (all acknowledgements) • PHP scripts and styles later modified by Roy Schestowitz • Help yourself to a GPL'd copy
|— Proudly powered by W o r d P r e s s — based on a heavily-hacked version 1.2.1 (Mingus) installation —|