ppt课件-夏季斯坦计算教育( summer institutefor computing education).pptVIP

  • 4
  • 0
  • 约5.97千字
  • 约 21页
  • 2017-01-10 发布于湖南
  • 举报

ppt课件-夏季斯坦计算教育( summer institutefor computing education).ppt

Conditionals – part 2 Barb Ericson Georgia Institute of Technology August 2005 Learning Goals Understand at a conceptual and practical level How to use conditionals with two possibilities How to do simple edge detection How to use ‘and’, ‘or’, ‘exclusive or’ and ‘not’ in a conditional What is De Morgan’s Law? Edge Detection Loop through all the pixels in the picture Calculate the average color for the current pixel and the pixel at the same x but y+1. Get the distance between the two averages If the absolute value of the distance is greater than some value turn the current pixel black Other

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档