def test_censure_on_rectangular_images():
 rect_image = np.random.rand(300, 200)
 square_image = np.random.rand(200, 200)
 CENSURE().detect(square_image)
 CENSURE().detect(rect_image)

def test_censure_on_rectangular_images ( ) : rect_image = np . random . rand ( 300 , 200 ) square_image = np . random . rand ( 200 , 200 ) CENSURE ( ) . detect ( square_image ) CENSURE ( ) . detect ( rect_image )
censure feature detector should work on 2d image of any shape .