teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

追記

2021/06/21 23:58

投稿

quickquip
quickquip

スコア11314

answer CHANGED
@@ -1,3 +1,13 @@
1
- [https://docs.scipy.org/doc/scipy/release.1.3.0.html?highlight=imresize#scipy-interpolate-changes](https://docs.scipy.org/doc/scipy/release.1.3.0.html?highlight=imresize#scipy-interpolate-changes)
1
+ [https://docs.scipy.org/doc/scipy/release.1.3.0.html#scipy-interpolate-changes](https://docs.scipy.org/doc/scipy/release.1.3.0.html#scipy-interpolate-changes)
2
2
 
3
- > Functions from scipy.interpolate (spleval, spline, splmake, and spltopp) and functions from scipy.misc (bytescale, fromimage, imfilter, imread, imresize, imrotate, imsave, imshow, toimage) have been removed.
3
+ > Functions from scipy.interpolate (spleval, spline, splmake, and spltopp) and functions from scipy.misc (bytescale, fromimage, imfilter, imread, imresize, imrotate, imsave, imshow, toimage) have been removed.
4
+
5
+
6
+ [https://docs.scipy.org/doc/scipy/release.1.0.0.html#deprecated-features](https://docs.scipy.org/doc/scipy/release.1.0.0.html#deprecated-features)
7
+
8
+ > Most of those functions have unexpected behavior (like rescaling and type casting image data without the user asking for that).
9
+
10
+ リスケーリングや型変換などユーザが期待するのと違う作用をしてしまうから、って理由のようですね。
11
+ 画像操作は画像操作のライブラリに任せて、門外漢が便利関数として提供するのはやめた、ってことでしょうか。
12
+
13
+ どういう操作をするのがいいかはタスクに依って違うと思います。