Content-based medical image retrieval system for lung diseases using deep CNNs