Hi,

I get strange results when I use the houghtf function from the image package 
(tested with version 1.0.10  on windows and 1.0.12 on Ubuntu) with GNU 
Octave Version 3.2.4.

For example, when I run the following code several times in a row, I get 
different results even though the input should be exactly the same as far as 
I can tell.

%%% testing.m %%%%%%%%%%%%%%%
clear I J

I = zeros(100,100);
I(30,:) = 1; I(:, 65) = 1; I(35:45, 35:50) = 1;
for i = 1:90, I(i,i) = 1;endfor

J = houghtf(I);
max(max(J))
plot(max(J));
%%%%%%%%%%%%%%%%%%%%%%

The reported max values seems to increase almost every run and the shape of 
the plot differs as well. Sometimes only the scale of the plot is changed 
but other times the shape changes drastically between different runs.

This is the behavior when the image size is set to 100x100 and most other 
image sizes I have tried to use. If the image size is changed to 100x150 as 
in the test code, the result from the houghtf function seems to be identical 
every time.

Regards
Simon Börjesson 


------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to