mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
add IplImage
This commit is contained in:
parent
103d670269
commit
90740e1f23
2 changed files with 8 additions and 0 deletions
|
@ -2,4 +2,5 @@ require_relative "opencv/version"
|
|||
require "opencv.so"
|
||||
require_relative "opencv/basic_structs"
|
||||
require_relative "opencv/cvmat"
|
||||
require_relative "opencv/iplimage"
|
||||
require_relative "opencv/cvhaarclassifiercascade"
|
||||
|
|
7
lib/opencv/iplimage.rb
Normal file
7
lib/opencv/iplimage.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
module Cv
|
||||
class IplImage < CvMat
|
||||
def initialize(width, height, depth = :cv8u, channel = 3)
|
||||
super(height, width, depth, channel)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue