removed unused methods
performance improvement for converting Mats to javafx images