A Research on an Algorithm for Removing Bowtie Effect