소스 검색

implemented RSSlic::segRegions for NICE::Image

Sven Sickert 11 년 전
부모
커밋
2b9e339d03
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      RSSlic.cpp

+ 2 - 2
RSSlic.cpp

@@ -35,8 +35,8 @@ RSSlic::~RSSlic()
 
 int RSSlic::segRegions ( const NICE::Image & img, NICE::Matrix & mask) const
 {
-  cerr << "not implemented yet" << endl;
-  return -1;
+  ColorImage cimg ( img, img, img );
+  return segRegions ( cimg, mask );
 }
 
 int RSSlic::segRegions ( const NICE::ColorImage & img, NICE::Matrix & mask) const