SMath Studio Forum
»
SMath Studio
»
Samples
»
Approximation of a functional curve in a digital image
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
|
1 user thanked Razonar for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Razonar Couldn't make it work with linux. Will check with a windows machine. Yet, if I understood what it does... WOW, this is sick. How is it possible? I am just simply amazed by this. Very good job.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: overlord Originally Posted by: Razonar Couldn't make it work with linux. Will check with a windows machine. Yet, if I understood what it does... WOW, this is sick. How is it possible? I am just simply amazed by this. Very good job. Hi overlord. Thanks. Do you download the image "imgPerformance.jpg" and put it in the same directory than the sm file? It is the only issue specific for linux that I can see. I know, it is showed instead given the link for download. Here it is as zip file: imgPerformance.zip (61kb) downloaded 14 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Yes, I have downloaded the image already. It starts to give error on Ms:scan(Mc,k1,255) `Argument doesn't meet to expected kind`. Perhaps the image2rgb doesn't work under linux. M matrix is filled with zeros, nothing else. Edited by user 09 June 2021 19:03:46(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: overlord Yes, I have downloaded the image already. It starts to give error on Ms:scan(Mc,k1,255) `Argument doesn't meet to expected kind`. Perhaps the image2rgb doesn't work under linux. M matrix is filled with zeros, nothing else. Hi. I remember now that the worksheet also use Mean, from statics plugin, and I put it definition at left margin, but disable. Maybe it's that one. This version have embed image matrix, and except for the XYPlot, I guess that it have not any other plugin. Digital Image Function Analysis - Image embeded.sm (4,118kb) downloaded 18 time(s).Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Razonar Hi. I remember now that the worksheet also use Mean, from statics plugin, and I put it definition at left margin, but disable. Maybe it's that one. This version have embed image matrix, and except for the XYPlot, I guess that it have not any other plugin.
Best regards. Alvaro. I have statistical plugins with linux. In windows, with same plugins and setting it solve. And matrix is not full of zeros. image2rgb is not working under linux.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Try this suggestion: 1. Plug one of those dirty image in Paint. 2. zap the X,Y grids. 3. Capture WinGrab and note the X, Y pixels for further scaling. 4. Insert picture, Digitize, clean ... finish project. Page12 Digitize.sm (1,222kb) downloaded 16 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: Razonar From the textbooks to a SMath evaluable function ... Best regards. Alvaro. OMG, I may try to rehash an old problem that Jean helped me with in MathCAD that I could never get to work. First, why the error in the SM file? I just downloaded and opened using Portable version on both Windows 10 and Linux. Edited by user 14 June 2021 16:37:35(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Hi. You can try to eval only Ms outside the plot for read the error, if it is not an specific error related with the plot.
Best regards. Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Originally Posted by: Razonar Hi. You can try to eval only Ms outside the plot for read the error, if it is not an specific error related with the plot.
Best regards. Alvaro. Ms is not defined. As you can see, I changed kc as well.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Nope. The message says that "M" is not defined, not Ms. And M is for load the image, not for doing some process. Try this version, with the image embeded in the worksheet: https://en.smath.com/for...tal-image.aspx#post71146and check if you can update the plugins for images. Best regards. Alvaro.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: ElSid I may try to rehash an old problem that Jean helped me with in MathCAD that I could never get to work. That one is over 15 years old ! Three visible modules ... done. Capture, clean in Paint [very quick], save as *.BMP ... Take Elsid ... Jean Digitize Elsid.sm (25kb) downloaded 24 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: ElSid First, why the error in the SM file? I just downloaded and opened using Portable version on both Windows 10 and Linux.
I have tried the embedded image version with linux (not portable). The image2rgb() doesn't work with image importing. But image data matrix embedded version works fine. If image data added version don't work for you, Maybe the portable plugins are old and not suitable. Regards
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Elsid, My offer via Paint is valid, but delicate from too thick graph. My other tool is via Tracer 15 [freeware] Paste image as is in Tracer, capture at will pixels. Each capture is stacked in vector, obviously noisy. Once in hand, Ksmooth the Y vector ... We have Ksmooth as a Smath utilities. Once smoothed, spline ... Job done. Have a good day ... Jean
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
Originally Posted by: overlord The image2rgb() doesn't work with image importing. image2rgb has a procedure for fast image reading that somehow doesn't works in mono I'll try to update a beta version with an alternative code ASAP. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,648 Location: Italy Was thanked: 1329 time(s) in 875 post(s)
|
Just released a beta version of the Custom Functions plugin for latest Stable SMath Studio. Please test if now it works under linux. |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
1 user thanked Davide Carpi for this useful post.
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Davide Carpi Just released a beta version of the Custom Functions plugin for latest Stable SMath Studio. Please test if now it works under linux. It worked for my linux setup. Thanks.
|
1 user thanked overlord for this useful post.
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud My other tool is via Tracer 15 [freeware] Paste image as is in Tracer, capture at will pixels. ... once pixels in hand ► Ksmooth ► final fit.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: Jean Giraud My other tool is via Tracer 15 [freeware] Tracer is a great tool. Contact the Author Marcus Karolewski from googling. You will find his e-mail in case of problem downloading. In fact, Marcus sent me Tracer 15 years ago. Also, he is the Author of Spline2XV6. Latest Tracer 2012. Spline2XV6 was implemented by Mathsoft DAEP on my suggestion. Jean.
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Samples
»
Approximation of a functional curve in a digital image
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.