Using Selective Attention for Some Vision Tasks