Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a rather nasty bug in Rotate180PixelAccessor that would

segfault on multi-plane images.  This was breaking the
InterestPoint TestIntegral test_haar_filters2() test.
  • Loading branch information...
commit 8403ae0a714bca56deba94947c5e0e77715d1774 1 parent 41bd850
Matthew Hancher authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/vw/Image/Manipulation.h
View
4 src/vw/Image/Manipulation.h
@@ -206,8 +206,8 @@ namespace vw {
inline Rotate180PixelAccessor& prev_col() { m_child.next_col(); return *this; }
inline Rotate180PixelAccessor& next_row() { m_child.prev_row(); return *this; }
inline Rotate180PixelAccessor& prev_row() { m_child.next_row(); return *this; }
- inline Rotate180PixelAccessor& next_plane() { m_child.prev_plane(); return *this; }
- inline Rotate180PixelAccessor& prev_plane() { m_child.next_plane(); return *this; }
+ inline Rotate180PixelAccessor& next_plane() { m_child.next_plane(); return *this; }
+ inline Rotate180PixelAccessor& prev_plane() { m_child.prev_plane(); return *this; }
inline Rotate180PixelAccessor& advance( ptrdiff_t di, ptrdiff_t dj, ptrdiff_t dp=0 ) { m_child.advance(-di,-dj,dp); return *this; }
inline result_type operator*() const { return *m_child; }
Please sign in to comment.
Something went wrong with that request. Please try again.