Getting All Page Attributes of a Specific Type

Permalink
I'm trying to get all page attributes of type 'image/file'. When I use
Loader::model('attributes/categories/collection');
CollectionAttributeKey::getAttributes(
    $c->getCollectionID(),
    $c->getVersionID()
);

I get the current values of all the page attributes, which is nice, but I need to filter out all but 'image/file'.

Am I missing something and making it too difficult? Thanks for your help.

SkyBlueSofa