The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Problems with Matrix.ImageLinesProfile
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Frank_H

Germany
Posts

Posted - 06/29/2005 :  05:14:05 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 7.5 SR5

I have some strange problems with Matrix.ImageLinesProfile.

I tried to get it working on a Matrix (40 rows by 600 cols) with an x-range of [-.1,.6] and y-range [-0.1,0.1] (path e.g. {(0,0.01),(.3,0.05)} ) and always ended up with error -2 (by the way, where do I find an explanation of the error codes?). Then I just changed the y-range to [-10,10] and also multiplied y in the path by 100 - and it worked.
Any idea, what's going on here? Any internal rounding which I could turn of or change its precision?
For now I am scaling my axis, but it would be nice not to have to check for that.
I also noticed, that the function has some problems with a range [y0,y1] with y1 > y0, but I now just flip the matrix to avoid that.

Regards,
Frank

eparent

118 Posts

Posted - 06/30/2005 :  2:17:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This is a bug. A tracker item has been created. The Tracker ID is #7855. This bug will be fixed in the next version.


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000