[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9722] [octave forge] (image) new objects

From: Martin Janda
Subject: [Octave-patch-tracker] [patch #9722] [octave forge] (image) new objects imref2d and imref3d
Date: Sat, 26 Jan 2019 16:59:23 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #10, patch #9722 (project octave):

I have not enough experience with Octave so it might be a problem on my side.
I'm testing with Octave 4.4.1 under Windows. The only way I was able to run
the tests was from the inst directory specifying the containing folder like

>> test @imref2d/imref2d
PASSES 32 out of 32 tests
>> test @imref2d/intrinsicToWorld
PASSES 9 out of 9 tests
>> test @imref2d/contains
PASSES 10 out of 10 tests
>> test @imref2d/sizesMatch
PASSES 6 out of 6 tests
>> test @imref2d/worldToSubscript
PASSES 7 out of 7 tests
>> test @imref3d/imref3d
PASSES 37 out of 37 tests
>> test @imref3d/contains
PASSES 11 out of 11 tests
>> test @imref3d/intrinsicToWorld
PASSES 13 out of 13 tests
>> test @imref3d/worldToIntrinsic
PASSES 10 out of 10 tests
>> test @imref3d/worldToSubscript
PASSES 11 out of 11 tests

Is this a good approach or should simple 'test imref2d' called from the inst
directory work? I tried to call 'test strel' from inst/@strel directory and  I
also got an error

>> test strel
error: matrix cannot be indexed with .
error: called from
    numel at line 23 column 3
    test at line 305 column 3

while calling it from the inst directory works

>> test @strel/strel
PASSES 28 out of 28 tests

Extending imshow is beyong the scope of this patch although it would be nice
to do it for sure (I haven't tried it yet). There are more functions that
should work with imref2d and imref3d  (I already use them in patch #9730).


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]