Aliasing, rotating and rescaling
Let's look at the impact of aliasing on images.
Remember that aliasing is an effect that causes different signals, in this case pixels, to become indistinguishable or distorted.
You'll make this cat image upright by rotating it 90 degrees and then rescaling it two times. Once with the anti aliasing filter applied before rescaling and a second time without it, so you can compare them.
Image preloaded as
image_cat.
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Image Processing in Python
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ
ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์
# Import the module and the rotate and rescale functions
from skimage.____ import ____, ____