Skip to content

Commit

Permalink
fixing the bug with #1
Browse files Browse the repository at this point in the history
  • Loading branch information
ArashAkbarinia committed Feb 2, 2017
1 parent df89acc commit bdfc73d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpp/sed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,12 @@ std::vector<std::vector<cv::Mat> > DoV1 ( cv::Mat OpponentImage, double LgnSigma
for ( int t = 0; t < nangles; t++ )
{
cv::Mat cltim;
cv::filter2D ( cim, cltim, cim.depth(), d1gs[t] );
cv::filter2D ( clim, cltim, clim.depth(), d1gs[t] );
cltim = cv::abs ( cltim );

angles[t] = cltim;
}
SurroundModulation ( cim, angles, d1gs[0].rows, v1sigma );
SurroundModulation ( clim, angles, d1gs[0].rows, v1sigma );
// resizing them back to the original size
for ( int t = 0; t < nangles; t++ )
{
Expand Down

0 comments on commit bdfc73d

Please sign in to comment.