Approximation of a functional curve in a digital image

Approximation of a functional curve in a digital image - Сообщения

#1 Опубликовано: 08.06.2021 18:11:10
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538 КиБ) скачан 91 раз(а).
Digital Image Function Analysis.pdf (1 МиБ) скачан 92 раз(а).

Clipboard01.jpg

Image for the analysis:

imgPerformance.jpg

Best regards.
Alvaro.
1 пользователям понравился этот пост
overlord 15.06.2021 04:12:00
#2 Опубликовано: 09.06.2021 10:46:57
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

Wrote

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538 КиБ) скачан 91 раз(а).
Digital Image Function Analysis.pdf (1 МиБ) скачан 92 раз(а).

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 Опубликовано: 09.06.2021 12:44:14
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: User

Wrote

Wrote

From the textbooks to a SMath evaluable function

Digital Image Function Analysis.sm (538 КиБ) скачан 91 раз(а).
Digital Image Function Analysis.pdf (1 МиБ) скачан 92 раз(а).

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 КиБ) скачан 53 раз(а).

Best regards.
Alvaro.
#4 Опубликовано: 09.06.2021 12:59:47
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 09.06.2021 14:47:49
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 МиБ) скачан 62 раз(а).

Best regards.
Alvaro.
#6 Опубликовано: 09.06.2021 15:40:59
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 09.06.2021 18:05:00
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 МиБ) скачан 62 раз(а).


#8 Опубликовано: 14.06.2021 10:35:47
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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 Опубликовано: 14.06.2021 13:10:49
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 Опубликовано: 14.06.2021 16:15:44
Ruben Sidranski

Ruben Sidranski

17 сообщений из 463 понравились пользователям.

Группа: 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 Опубликовано: 14.06.2021 17:46:10
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 сообщений из 1675 понравились пользователям.

Группа: 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 Опубликовано: 14.06.2021 18:05:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 КиБ) скачан 64 раз(а).
#13 Опубликовано: 15.06.2021 19:19:49
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 Опубликовано: 16.06.2021 08:15:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 16.06.2021 11:55:45
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 Опубликовано: 19.06.2021 08:14:15
Davide Carpi

Davide Carpi

1417 сообщений из 2873 понравились пользователям.

Группа: 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 20.06.2021 01:29:00
#17 Опубликовано: 20.06.2021 01:29:20
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: 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 20.06.2021 09:45:00
#18 Опубликовано: 23.06.2021 12:21:39
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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 Опубликовано: 23.06.2021 21:42:21
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: 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.
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений