-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the best way to install ImageM? #3
Comments
Hi Curtis, thank you for your investigations, your detailed report, and sorry for the difficulties you encountered... The managment of dependencies with Matlab is complicated, and the ImageM application has many. I think the one you missed was "mattools/matlab-image-class" (the package containing the "Image" class, and the "Image.create" static factory). This package has the "matgeom" and the "matStats" as dependencies, but as you already installed them, this should be ok. I was trying to package whole the dependencies into a single mlapp file, but obviously this was not successful. I will check this, and provide a new version. Anyway, I agree I need to seriously update the user manual to make the app easier to install.
Thanks for staying positive despite the huge list of problems... Best, |
@dlegland Thanks for the quick reply!
The
Huh, I had assumed that the Add-on called "MatImage" was covering that, but yeah, I see that
So is there an add-on available from the Add-on Manager containing the mattools/matlab-image-class code? One thing you could do that might be cool would be to check proactively for certain classes early in ImageM's startup, and if one is not found, print a friendlier error message stating which dependency is missing from the environment. |
Hi,
I fear that the two packages "MatImage" (a function-based library for image processing) and "matlab-image-class" (a class-based image library) can induce some confusion. The result of codebase with rather long history... I will try to improve the docs for both packages. Both have their utility, and can be used together.
Well, in theory yes... There is a page on the FileExchange. But I agree it is not straightforad to know it should be installled, and the manual should be improved to provide a more easy-to-install package.
Yes! very good idea, I'll implement it for next release, I hope soon. Thanks a lot for the suggestions, this will improve the next version. Best, |
I tried several ways of installing ImageM, running into many problems before finding a solution that worked:
Installed MATLAB R2021a with Image Processing and Statistics and Machine Learning toolboxes.
Installed ImageM via the Add-On Manager. Then:
Installed ImageM and GUI Layout Toolbox via the Add-On Manager. Then:
Searched Add-On Explorer for "mattools". Installed geom2D and geom3D and MatStats and MatImage. Then:
Tried running
installMatImage.m
:Downloaded
ImageM-1.3.2.1-full.mlappinstall
and opened it in MATLAB. This added ImageM as an app.From APPS tab, clicked ImageM toolbar button to launch.
Edited
MATLAB Add-Ons/Apps/ImageM/D__/dlegland/dev/matlab/image/ImageM/package/full/ImageM/ImageM.m
to fix the slashes.Launched ImageM app again. Same error.
Restarted MATLAB. Launched ImageM app again. Same error.
But, despite these errors, the application seems to function.
It would be great to have better documentation in the README about how to install ImageM properly. Thanks!
The text was updated successfully, but these errors were encountered: