Image Region - ⛔ Extends SMath Studio with an Image Region. - Messages
[albumimg]96[/albumimg] [albumimg]106[/albumimg]
WroteNeed to change size manually after recalculation.
Sources: https://smath.info/svn/public/plugins/ImageRegion/
[albumimg]96[/albumimg]


Resizing requires just to touch the handles, then the size jumps to correct value. One has to be careful with image size, using 128x128 for the second image, Smath crashed when I tried to rename the variable image.
Also, there seems to be an indexing problem. For some sizes, the result of the second computation does not overwrite the upper left rectangle as expected but has some shift. Don't know if that is due to the formula or due to the plugin.
P.S. We have to change the names of variables. We use the same variable image.
The image region produced artefacts with data read by READRGB(). It seems that from a certain point there is a shift in pixel indexing. Graylevels read by READ_IMAGE are displayed correctly, just as images from files.
The problem does not occur with the win logo from your MathcadFileAccess Examples. It, however, persists if I save the fhb logo in different formats, including various tastes of bmp.
Also, the SMath logo as available at the download section in the forum is not displayed correctly. READ_IMAGE fails to read it at all.
P.S. I also noticed that I cannot put a function call to the placeholder but have to assign a matrix in advance.
P.P.S: The gray level image has slightly colored shades in the image which are obvious in high zoom levels. I can't tell if that is a READ_IMAGE problem or an imageregion problem.
mkraska, I found two errors in the functions. Thanks for your examples.
Not all image formats are supported. Some files can't be loaded.
P.S. LitePipe Demo example.
[albumimg]105[/albumimg]
LitePipes_20130504.zip (1 MiB) downloaded 68 time(s).
Wrote
Not all image formats are supported. Some files can't be loaded.
uni, thanks again for bugfixing. What a pity that the SMath logo is one of poor unloadable files...
After updating both MathcadFileAccess and ImageRegion:
- The imageregion example works fine.
- The image examples in the MathcadFileAccess examples dir have no images included.
- There is a hardwired local path from your computer in the writebin example. If changed to currentdir everything works.
My examples, however, do not work.
- The vertical offset of the lower right image triangle has gone
- The colorful artefacts in the graylevel plots have gone
- Now, there is a more obvious horizontal shift in the image
Do i have to assume that my test image is buggy? It is the very expemsive new official logo of our school, taken from the website.
P.S. I did not get to run the mcadefi stuff so far. This trick with putting it beside the smath exe did not work for me.
ImageRegion - 1.0.4872.36288,
MathcadFileAccess - 1.0.4872.36253.
I forgot to say that you need to update both plugins. Errors have been in both plugins simultaneously.
WroteThis is strange, I checked the plugin on your example. Check version:
ImageRegion - 1.0.4872.36288,
MathcadFileAccess - 1.0.4872.36253.
I forgot to say that you need to update both plugins. Errors have been in both plugins simultaneously.
You are right, It was my fault. I failed to complete the update by moving the dll...
Now just the smath logo seems to resist the debugging effort.
[albumimg]106[/albumimg]
[albumimg]318[/albumimg] [albumimg]319[/albumimg]
Also, after downloading the plugin, further access to the online gallery is denied. This also happens with Davide's Conditionally Formatted Label but not with Andrey's Excel Files Plugin.
Tested with the installer version of 0.96.4909 using plugin version 1.0.5033.22634
No such access problems with the portable version. The display problem is present in both versions.
Moment-2.zip (1 KiB) downloaded 68 time(s).
Gallery access issue remains, but might have causes outside the plugin.
PS: how about an optional background? The grid is visible through the image, which is close to paper-and-pencil-feeling, but which might be a matter of taste -> optional setting would be fine.
WrotePS: how about an optional background? The grid is visible through the image, which is close to paper-and-pencil-feeling, but which might be a matter of taste -> optional setting would be fine.
Ok, I'll do it later.
WroteWrotePS: how about an optional background? The grid is visible through the image, which is close to paper-and-pencil-feeling, but which might be a matter of taste -> optional setting would be fine.
Ok, I'll do it later.
Looking forward to the implementation.
Still there is another, more important issue: could you please interpret relative paths with respect to the directory of the current SMath document instead of the current directory? This would create portable documents and enable putting examples in the activebook help system.
-
New Posts
-
No New Posts