Skip to content

Commit

Permalink
コメント修正
Browse files Browse the repository at this point in the history
  • Loading branch information
lltcggie committed Dec 1, 2018
1 parent cad223c commit 62c0f4b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions common/stImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand All @@ -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)
{
Expand Down

0 comments on commit 62c0f4b

Please sign in to comment.