Editable Image Region - Plugin Update

Editable Image Region - Plugin Update - Сообщения

#61 Опубликовано: 20.04.2016 18:49:37
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Plugin updated with [[R] [G] [B] [A]] functionality. Use SMath 0.98 +.

Given the thematic of the example, Happy Birthday!!! (to whoever this would apply).

Test and report!

balloon.jpg
ImageTestFile.pt.2.sm (3 МиБ) скачан 163 раз(а).
3 пользователям понравился этот пост
Mike Kaganski 20.04.2016 19:30:00, Davide Carpi 20.04.2016 19:04:00, Andrey Ivashov 17.05.2016 10:55:00
#62 Опубликовано: 20.04.2016 20:42:28
Mike Kaganski

Mike Kaganski

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

Группа: User

Wrote

Plugin updated with [[R] [G] [B] [A]] functionality. Use SMath 0.98 +.

Given the thematic of the example, Happy Birthday!!! (to whoever this would apply).

Test and report!



Thank you very much! It just works!!!
С уважением, Михаил Каганский
#63 Опубликовано: 21.04.2016 02:17:39
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Wrote

I want to remind you that we already have a function READRGB() which uses Mathcad style.

Wrote

Smath opens RGB in the same style as Mathcad


This is MathcadFileAccess plugin opens.



Viacheslav,

Given that rendering capabilities of the image region were expanded, could you take a look at the READRGB() function and similar?

Currently it takes 6 times longer to read the image from file than to render it.. Is there an opportunity for a little performance bump? Maybe using the newly baked Entry[] variable could help...
#64 Опубликовано: 05.05.2016 12:54:32
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

I am thinking of adding suport for CorelDraw .cdr file.. Primarily for the very neat "smart drawing" tool it has. For those who does not know smart drawing is a pencil like tool that will take your rough scribble and transform it into a vector rectangle, line, triangle, circle etc.

Now question to you guys - are you aware of any other software besides CorelDraw that can do that?
#65 Опубликовано: 05.05.2016 17:36:59
kilele

kilele

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

Группа: User

Wrote


Now question to you guys - are you aware of any other software besides CorelDraw that can do that?



- Ziteboard has a shape recognition feature and allows to export drawings for free.

- Inkscape has a line/freehand drawing tool which you can even adjust the amount of smoothing you want before you draw the line.

- Gimp has a plugin called "Smooth Path" which I've never tried.
#66 Опубликовано: 05.05.2016 20:47:45
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Wrote

Wrote


Now question to you guys - are you aware of any other software besides CorelDraw that can do that?



- Ziteboard has a shape recognition feature and allows to export drawings for free. - very limited does not work oofline?

- Inkscape has a line/freehand drawing tool which you can even adjust the amount of smoothing you want before you draw the line. - does not recognize shapes

- Gimp has a plugin called "Smooth Path" which I've never tried. - does not recognize shapes



CorelDraw Essentials X6 is only $80 - reasonably priced.

#67 Опубликовано: 06.05.2016 08:15:28
kilele

kilele

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

Группа: User

Wrote



CorelDraw Essentials X6 is only $80 - reasonably priced.



Some more tools for you to investigate: microsoft onenote, grafio lite, sketchboard at sourceforge.net
Nice project to get started in programming. I guess that an easy way than using techniques like computer vision, learning machine, etc. could be a step to step menu guiding the user while he's drawing. Since you'd be drawing commands should have to be made by voice.
#68 Опубликовано: 10.05.2016 05:09:55
kilele

kilele

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

Группа: User

Coreldraw's smart drawing looks like a neat tool indeed.
Did Onenote work for you? The last version, for tablets at least, is said to support shape recognition.
#69 Опубликовано: 10.05.2016 11:31:18
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Coreldraw's smart drawing looks like a neat tool indeed.
Did Onenote work for you? The last version, for tablets at least, is said to support shape recognition.



=======================================

What I don't understand, but I don't have to understand: why that "Image region"
persists with "Art drawing stuff" ... that you pay $ or do nothing ... instead of
working with "Engineering CAD tools" and many are freeware, damned advanced, can
save *.dxf [Autocad].
I wonder who cares "Art Drawing" in a math tool like Smath ?

#70 Опубликовано: 10.05.2016 11:59:12
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Hey guys lets not start another holy crusade here. Image region does dwg and dxf as well. And pixel perfect RGBA matrix rendering.

Kilele, I was on a quest to find perfect sketching tool for a while.. What I needed was to have software where I can pickup a (digital) pencil and draw freehand to get the creativity juices flowing. With its Smart Drawing CorelDraw works great for me.. better than anything else. I did not use One Note because it is broken on my PC. I do use CAD when I want to make some real sketches to scale, and will use CorelDraw for conceptual doodles (right now I am still using buebeam for that).

Which brings me to the point - .cdr is a blank file choice now. Since it is a proprietary file format it is rendered in SMath by saving a same named .svg, .png, or .pdf in either root folder of the .sm workbook or the "temp" folder in the AppData.
#71 Опубликовано: 16.05.2016 14:49:55
Davide Carpi

Davide Carpi

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

Группа: Moderator

Alex, can you see this matrix in the image region?

mat(mat(251,250,229,128,182,185,196,251,246,210,254,160,242,197,251,223,236,254,212,164,211,251,214,188,77,152,254,253,251,195,202,56,96,248,254,251,214,190,42,91,254,254,251,223,237,197,235,254,254,251,210,254,254,254,254,254,8,7),mat(251,250,201,128,142,175,140,251,241,153,254,122,242,141,251,186,207,254,162,128,157,251,161,211,177,213,220,218,251,150,233,189,211,231,216,251,167,227,169,198,225,211,251,179,252,207,221,225,208,251,159,252,168,141,207,207,8,7),mat(251,250,179,106,93,173,74,251,237,95,233,87,242,85,251,155,170,248,100,100,75,251,110,240,254,213,146,134,251,108,254,254,243,175,130,251,120,254,254,230,161,124,251,131,254,211,185,160,121,251,109,249,118,42,129,123,8,7),1,3)
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#72 Опубликовано: 16.05.2016 14:58:59
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Wrote

Alex, can you see this matrix in the image region?

mat(mat(251,250,229,128,182,185,196,251,246,210,254,160,242,197,251,223,236,254,212,164,211,251,214,188,77,152,254,253,251,195,202,56,96,248,254,251,214,190,42,91,254,254,251,223,237,197,235,254,254,251,210,254,254,254,254,254,8,7),mat(251,250,201,128,142,175,140,251,241,153,254,122,242,141,251,186,207,254,162,128,157,251,161,211,177,213,220,218,251,150,233,189,211,231,216,251,167,227,169,198,225,211,251,179,252,207,221,225,208,251,159,252,168,141,207,207,8,7),mat(251,250,179,106,93,173,74,251,237,95,233,87,242,85,251,155,170,248,100,100,75,251,110,240,254,213,146,134,251,108,254,254,243,175,130,251,120,254,254,230,161,124,251,131,254,211,185,160,121,251,109,249,118,42,129,123,8,7),1,3)



Hope its not one of those hard to trace bugs that are hardware / OS dependent

M.render.sm (8 КиБ) скачан 64 раз(а).
M.render.png

#73 Опубликовано: 16.05.2016 15:29:20
Davide Carpi

Davide Carpi

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

Группа: Moderator

Thank you! Solved, seems I was having a newer version installed (?)
Uninstalled and downloaded again, now it works :d

2016-05-16 20_28_24-SMath Studio Desktop - [image2rgb.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 17.05.2016 11:07:00
#74 Опубликовано: 16.05.2016 15:34:08
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Wrote

Thank you! Solved, seems I was having a newer version installed (?)
Uninstalled and downloaded again, now it works :d

2016-05-16 20_28_24-SMath Studio Desktop - [image2rgb.sm_].png




Good to hear!

To all - post examples of use for the RGBA rendering capability. I would love to see some practical use of the matrix rendering - right now I am not quite sure what else to do with it besides messing with test image files.
#75 Опубликовано: 16.05.2016 21:05:27
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

To all - post examples of use for the RGBA rendering capability. I would love to see some practical use of the matrix rendering - right now I am not quite sure what else to do with it besides messing with test image files.



Alex,

Just the image, that should enable testing from A...Z, is it ?

Etoile.bmp

#76 Опубликовано: 17.05.2016 08:03:34
Davide Carpi

Davide Carpi

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

Группа: Moderator

Using latest Nightly Build of SMath Studio and the last beta of Custom Functions.

2016-05-17 13_01_32-SMath Studio Desktop - [Page1_test.sm_].png

2016-05-17 13_03_35-SMath Studio Desktop - [Page1_test.sm_].png

2016-05-17 13_13_35-SMath Studio Desktop - [Page1_test.sm_].png

Alex, can you make the double-click feature enabled just on the canvas of the region? It is really annoying while trying to edit the math content
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#77 Опубликовано: 17.05.2016 10:24:17
Alexander O. Melnik

Alexander O. Melnik

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

Группа: Moderator

Wrote

Using latest Nightly Build of SMath Studio and the last beta of Custom Functions.
Alex, can you make the double-click feature enabled just on the canvas of the region? It is really annoying while trying to edit the math content



Could you please provide an example? I have just opened my balloon test file and nothing happens if I double click anywhere on the region.. as it should be.

#78 Опубликовано: 17.05.2016 12:24:25
Davide Carpi

Davide Carpi

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

Группа: Moderator

Wrote

Could you please provide an example? I have just opened my balloon test file and nothing happens if I double click anywhere on the region.. as it should be.



Not sure what happened... while editing the file for posting the screenshots the default viewer was launched several times, now I'm no more able to reproduce. Don't worry, if it will happens again I'll try to find the way to reproduce it.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#79 Опубликовано: 17.05.2016 12:35:27
Andrey Ivashov

Andrey Ivashov

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

Группа: Super Administrator

Hello, Alex.

I've also reproduced it today but cannot say what exactly caused this. I've used many double-clicks on R, G and B variables inside the region and pressed Ctrl+C/V several times... First impression was that pressed Ctrl button broke the logic somehow.

Best regards.
1 пользователям понравился этот пост
Davide Carpi 17.05.2016 12:47:00
#80 Опубликовано: 17.05.2016 12:43:49
Davide Carpi

Davide Carpi

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

Группа: Moderator

Found it! Seems related to the exceptions

1. Add a region in the canvas;
2. add in the placeholder something like mat(identity(3),identity(3),identity(3),1,3);
3. change one of the RGB channels with a number (e.g. 1) -> mat(identity(3),1,identity(3),1,3);
4. double-click will launch the image viewer;


BTW, you should propagate the evaluation exceptions to the user, currently you can't notice when something fails in the evaluation...
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Andrey Ivashov 17.05.2016 13:38:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений