コメント修正

This commit is contained in:
lltcggie 2018-12-01 15:03:16 +09:00
parent cad223c7e5
commit 62c0f4bc71

View File

@ -744,10 +744,6 @@ void stImage::DeconvertFromNetFormat(const int input_plane)
void stImage::ShrinkImage(const Factor scale)
{
// TODO: scale = 1.0 でも悪影響を及ぼさないか調べる
const int scaleBase = 2; // TODO: モデルの拡大率によって可変できるようにする
const auto Width = scale.MultiNumerator(mOrgSize.width);
const auto Height = scale.MultiNumerator(mOrgSize.height);
@ -765,8 +761,6 @@ void stImage::ShrinkImage(const Factor scale)
void stImage::ShrinkImage(const int width, const int height)
{
// TODO: scale = 1.0 でも悪影響を及ぼさないか調べる
const cv::Size_<int> ns(width, height);
if (mEndImage.size().width != ns.width || mEndImage.size().height != ns.height)
{