Approximation of a functional curve in a digital image

Approximation of a functional curve in a digital image - 消息

#1 已发布: 2021/6/8 18:11:10
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538.87 KiB)已下载 1567 次。
Digital Image Function Analysis.pdf (1.56 MiB)已下载 1226 次。

Clipboard01.jpg

Image for the analysis:

imgPerformance.jpg

Best regards.
Alvaro.
1位用户喜欢此帖子
overlord 2021/6/15 04:12:00
#2 已发布: 2021/6/9 10:46:57
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538.87 KiB)已下载 1567 次。
Digital Image Function Analysis.pdf (1.56 MiB)已下载 1226 次。

Best regards.
Alvaro.


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.
#3 已发布: 2021/6/9 12:44:14
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

Wrote

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538.87 KiB)已下载 1567 次。
Digital Image Function Analysis.pdf (1.56 MiB)已下载 1226 次。

Best regards.
Alvaro.


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 (60.26 KiB)已下载 427 次。

Best regards.
Alvaro.
#4 已发布: 2021/6/9 12:59:47
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

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.
#5 已发布: 2021/6/9 14:47:49
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

Wrote

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.02 MiB)已下载 1578 次。

Best regards.
Alvaro.
#6 已发布: 2021/6/9 15:40:59
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

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.
#7 已发布: 2021/6/9 18:05:00
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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.19 MiB)已下载 1649 次。


#8 已发布: 2021/6/14 10:35:47
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

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.
digital.PNG
#9 已发布: 2021/6/14 13:10:49
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

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.
#10 已发布: 2021/6/14 16:15:44
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrote

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.
digital2.PNG


#11 已发布: 2021/6/14 17:46:10
Alvaro

Alvaro

1,139个赞,共1,805个帖子。

组: User

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/forum/yaf_postsm71146_Approximation-of-a-functional-curve-in-a-digital-image.aspx#post71146

and check if you can update the plugins for images.

Best regards.
Alvaro.
#12 已发布: 2021/6/14 18:05:21
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

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 (24.14 KiB)已下载 1449 次。
#13 已发布: 2021/6/15 19:19:49
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

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
#14 已发布: 2021/6/16 08:15:51
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

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
#15 已发布: 2021/6/16 11:55:45
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Wrote

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#16 已发布: 2021/6/19 08:14:15
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

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 please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
overlord 2021/6/20 01:29:00
#17 已发布: 2021/6/20 01:29:20
overlord

overlord

600个赞,共1,381个帖子。

组: Moderator

Wrote

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位用户喜欢此帖子
Davide Carpi 2021/6/20 09:45:00
#18 已发布: 2021/6/23 12:21:39
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

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.

Digitize Trcer 15.PNG
#19 已发布: 2021/6/23 21:42:21
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

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.
  • 有新帖
  • 无新帖