From: Stephen W. <ste...@cs...> - 2005-06-15 23:16:32
|
Stephen Walton wrote: > John asked what MATLAB does at present. The answer is: MATLAB's > image() displays arrays as does imshow(origin='upper'), with first > index increasing downward and second index increasing left to right, > but it has the y axis increasing from top to bottom. I will add, in fairness to all concerned, that MATLAB has the same issue as matplotlib with respect to image position readout. If one uses MATLAB's ginput() to read pixel coordinates from a displayed image, they have to be reversed to address the corresponding data in the displayed array. Maybe the fairest thing is to tell me "this is how it works, get over it" :-) and move on. |