DisplayObject hitTestObject

i want to use a DisplayObject to determine collides with hitTestObject function
how to create a DisplayObject for BitmapData?
so it knows totally transparent pixels are not collidable