Code to Automatically detect IVUS lumean and media adventia