Discussion:
[Scilab-users] Install image processing toolbox
Adailton Júnior
2017-03-17 15:43:24 UTC
Permalink
Good morning, all

I've having a problem. I am trying to install an image processing toolbox
in Scilab 6. The thing is when I open the ATOMS installation module no
image processing category is shown in the sidebar. Also, when I try to
install using atomsInstall('some image processing toolbox')
like atomsInstall("SIP"), I get the following message,

--> atomsInstall("SIP")
atomsInstallList: O pacote SIP não está disponível.
at line 51 of function atomsError (
C:\Users\adailton.junior\AppData\Local\scilab-6.0.0\modules\atoms\macros\atoms_internals\atomsError.sci
line 65 )
at line 75 of function atomsInstallList (
C:\Users\adailton.junior\AppData\Local\scilab-6.0.0\modules\atoms\macros\atoms_internals\atomsInstallList.sci
line 114 )
at line 233 of function atomsInstall (
C:\Users\adailton.junior\AppData\Local\scilab-6.0.0\modules\atoms\macros\atomsInstall.sci
line 249 )

I'm involved in a research about plant leaf identification in my univertisy
and I really need to solve the toolbox.

Obs.: my scilab version is in portuguese.

I thank you all in advance.

Regards,

Adailton Júnior
Viktor Goryainov
2017-03-17 17:47:40 UTC
Permalink
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP (Scilab
Image and Video Processing toolbox) are available at all for Scilab 6.0
right now. The latter has less time since last update released (0.5.3.2
in 2014), but it was still intended for Scilab 5.x.

Best regards,
Viktor
Tan Chin Luh
2017-03-18 13:06:33 UTC
Permalink
hi,

you might want to try:
--> atomsInstall("IPCV")

a new module which is base on SIVP with more functions, just uploaded
about a day ago.

Cheers!

rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Adailton Júnior
2017-03-18 15:03:30 UTC
Permalink
Hello,

atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.

Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant
2017-03-20 10:21:57 UTC
Permalink
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
Well I was less lucky than you: this package crashes a fresh install of scilab 6.0:

tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab

--> atomsInstall('IPCV')
Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé

ans =

!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !

AtomsAutoload() // segfault & core dumped


Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant
2017-03-20 10:39:06 UTC
Permalink
Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
I followed these recommendations and I can restart scilab without a segfault.

I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
As far as I remember, image processing toolboxes have always been a pain to install.
Why is this the case?
Is the atoms system inadequate?

Antoine
Post by Antoine Monmayrant
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab
--> atomsInstall('IPCV')
Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé
ans =
!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !
AtomsAutoload() // segfault & core dumped
Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Tan Chin Luh
2017-03-21 01:34:08 UTC
Permalink
Hi,

Great that you've get it works.
The crashed was caused by 2 reasons:

1. If you're running latest kernel (e.g Ubuntu 16.04), the crash is
caused by the older libgomp.so library distributed under Scilab 6
binary. This problem could be resolved with the OpenCV installed as
along the installation the latest libgomp.so would be installed to the
system as well.

2. If you're running an older version (e.g Ubuntu 14.04) , the crash is
caused during the loading of the IPCV library which is compiled with
newer version of gcc.

Usually in linux, a lot of codes/program will just ask the user to
download the source and recompile on the system itself. This will
eliminate the issue of crashing. Another way is packaging the libraries
into the software package, which could be a more complicated process for
the developer.

For the problem you faced, it is definitely not the atoms portal issue.
Atoms portal does not handle the third parties library an atoms-module
required, and the dependencies of the module which could also crashed
with the version of libraries carried by the Scilab binary.

So with all these problem, I tried to come out with the "less" effort
way for the user to make it works on linux, still causing crash for the
first time, but with extra 1-2 steps will solve the problem.

Thanks.

Regards,
Chin Luh
Post by Antoine Monmayrant
Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
I followed these recommendations and I can restart scilab without a segfault.
I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
As far as I remember, image processing toolboxes have always been a pain to install.
Why is this the case?
Is the atoms system inadequate?
Antoine
Post by Antoine Monmayrant
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab
--> atomsInstall('IPCV')
Examen du dépÎt http://atoms.scilab.org/6.0 ... Terminé
ans =
!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !
AtomsAutoload() // segfault & core dumped
Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant
2017-03-21 07:54:53 UTC
Permalink
Hi,

I faced case #1: Ubuntu 16.04 with recent kernel.
The thing with Atoms is that you don't go and check the website, you just install and are left wondering why this module just killed your scilab install. It's a fairly bad first experience and I think it turns away some potential users.
Do you think it would be possible to design your atoms module to warn users of the issue and workaround?
This could be done in the "IPCV.start" script.

Antoine
Post by Tan Chin Luh
Hi,
Great that you've get it works.
1. If you're running latest kernel (e.g Ubuntu 16.04), the crash is
caused by the older libgomp.so library distributed under Scilab 6
binary. This problem could be resolved with the OpenCV installed as
along the installation the latest libgomp.so would be installed to the
system as well.
2. If you're running an older version (e.g Ubuntu 14.04) , the crash is
caused during the loading of the IPCV library which is compiled with
newer version of gcc.
Usually in linux, a lot of codes/program will just ask the user to
download the source and recompile on the system itself. This will
eliminate the issue of crashing. Another way is packaging the libraries
into the software package, which could be a more complicated process for
the developer.
For the problem you faced, it is definitely not the atoms portal issue.
Atoms portal does not handle the third parties library an atoms-module
required, and the dependencies of the module which could also crashed
with the version of libraries carried by the Scilab binary.
So with all these problem, I tried to come out with the "less" effort
way for the user to make it works on linux, still causing crash for the
first time, but with extra 1-2 steps will solve the problem.
Thanks.
Regards,
Chin Luh
Post by Antoine Monmayrant
Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
I followed these recommendations and I can restart scilab without a segfault.
I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
As far as I remember, image processing toolboxes have always been a pain to install.
Why is this the case?
Is the atoms system inadequate?
Antoine
Post by Antoine Monmayrant
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab
--> atomsInstall('IPCV')
Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé
ans =
!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !
AtomsAutoload() // segfault & core dumped
Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Tan Chin Luh
2017-03-21 08:09:26 UTC
Permalink
Hi,
Post by Antoine Monmayrant
I faced case #1: Ubuntu 16.04 with recent kernel.
The thing with Atoms is that you don't go and check the website, you just install and are left wondering why this module just killed your scilab install. It's a fairly bad first experience and I think it turns away some potential users.
I've put that in the "Additional build instructions", but apparently it
is just visible for the maintainers. I should have put it in the
description.
Post by Antoine Monmayrant
Do you think it would be possible to design your atoms module to warn users of the issue and workaround?
This could be done in the "IPCV.start" script.
I thought of that as well, however, I would need more installation
feedback before I could cater for most possibilities. Else, the errors
might be more unpredictable for other platform. I will look into the
best way in next release.

thanks for your feedback.

rgds,
Chin Luh
Post by Antoine Monmayrant
Antoine
Post by Tan Chin Luh
Hi,
Great that you've get it works.
1. If you're running latest kernel (e.g Ubuntu 16.04), the crash is
caused by the older libgomp.so library distributed under Scilab 6
binary. This problem could be resolved with the OpenCV installed as
along the installation the latest libgomp.so would be installed to the
system as well.
2. If you're running an older version (e.g Ubuntu 14.04) , the crash is
caused during the loading of the IPCV library which is compiled with
newer version of gcc.
Usually in linux, a lot of codes/program will just ask the user to
download the source and recompile on the system itself. This will
eliminate the issue of crashing. Another way is packaging the libraries
into the software package, which could be a more complicated process for
the developer.
For the problem you faced, it is definitely not the atoms portal issue.
Atoms portal does not handle the third parties library an atoms-module
required, and the dependencies of the module which could also crashed
with the version of libraries carried by the Scilab binary.
So with all these problem, I tried to come out with the "less" effort
way for the user to make it works on linux, still causing crash for the
first time, but with extra 1-2 steps will solve the problem.
Thanks.
Regards,
Chin Luh
Post by Antoine Monmayrant
Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
I followed these recommendations and I can restart scilab without a segfault.
I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
As far as I remember, image processing toolboxes have always been a pain to install.
Why is this the case?
Is the atoms system inadequate?
Antoine
Post by Antoine Monmayrant
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab
--> atomsInstall('IPCV')
Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé
ans =
!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !
AtomsAutoload() // segfault & core dumped
Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Antoine Monmayrant
2017-03-21 11:16:44 UTC
Permalink
Post by Tan Chin Luh
Hi,
Post by Antoine Monmayrant
I faced case #1: Ubuntu 16.04 with recent kernel.
The thing with Atoms is that you don't go and check the website, you just install and are left wondering why this module just killed your scilab install. It's a fairly bad first experience and I think it turns away some potential users.
I've put that in the "Additional build instructions", but apparently it
is just visible for the maintainers. I should have put it in the
description.
Post by Antoine Monmayrant
Do you think it would be possible to design your atoms module to warn users of the issue and workaround?
This could be done in the "IPCV.start" script.
I thought of that as well, however, I would need more installation
feedback before I could cater for most possibilities. Else, the errors
might be more unpredictable for other platform. I will look into the
best way in next release.
thanks for your feedback.
You are welcome!
Do not hesitate to contact me if you need a beta-tester for a bullet-proofed version.
I can try to install it on Windows 7, 10, Ubuntu 14.04, 16.04 and see how it goes.

Cheers,

Antoine
Post by Tan Chin Luh
rgds,
Chin Luh
Post by Antoine Monmayrant
Antoine
Post by Tan Chin Luh
Hi,
Great that you've get it works.
1. If you're running latest kernel (e.g Ubuntu 16.04), the crash is
caused by the older libgomp.so library distributed under Scilab 6
binary. This problem could be resolved with the OpenCV installed as
along the installation the latest libgomp.so would be installed to the
system as well.
2. If you're running an older version (e.g Ubuntu 14.04) , the crash is
caused during the loading of the IPCV library which is compiled with
newer version of gcc.
Usually in linux, a lot of codes/program will just ask the user to
download the source and recompile on the system itself. This will
eliminate the issue of crashing. Another way is packaging the libraries
into the software package, which could be a more complicated process for
the developer.
For the problem you faced, it is definitely not the atoms portal issue.
Atoms portal does not handle the third parties library an atoms-module
required, and the dependencies of the module which could also crashed
with the version of libraries carried by the Scilab binary.
So with all these problem, I tried to come out with the "less" effort
way for the user to make it works on linux, still causing crash for the
first time, but with extra 1-2 steps will solve the problem.
Thanks.
Regards,
Chin Luh
Post by Antoine Monmayrant
Answering my own message: It seems that core dump & segfault are almost part of the install process described here: http://scilabipcv.tritytech.com/2017/03/17/installation-of-scilab-ipcv/
I followed these recommendations and I can restart scilab without a segfault.
I have the feeling there is something wrong with such an install process (install prerequisite, use atoms, crash, do some hand tweaking, pray).
As far as I remember, image processing toolboxes have always been a pain to install.
Why is this the case?
Is the atoms system inadequate?
Antoine
Post by Antoine Monmayrant
Post by Adailton Júnior
Hello,
atomsInstall("IPCV") didn't work right away, and I tried in more than
one computer. Although, after usingatomsSystemUpdate(), it worked.
So, thanks for the quick reply. And good work. Now, I can proceed with
my research.
tar -xvf scilab-6.0.0.bin.linux-x86_64.tar.gz
scilab-6.0.0/bin/scilab
--> atomsInstall('IPCV')
Examen du dépôt http://atoms.scilab.org/6.0 ... Terminé
ans =
!IPCV 1.0 allusers SCI/contrib/IPCV/1.0 I !
AtomsAutoload() // segfault & core dumped
Antoine
Post by Adailton Júnior
Best regards,
--
Adailton Júnior
+5569992549337
Post by Tan Chin Luh
hi,
--> atomsInstall("IPCV")
a new module which is base on SIVP with more functions, just uploaded
about a day ago.
Cheers!
rgds,
CL
Post by Viktor Goryainov
Hello!
Post by Adailton Júnior
--> atomsInstall("SIP")
As far as I can see from atoms.scilab.org, neither SIP, nor SIVP
(Scilab Image and Video Processing toolbox) are available at all for
Scilab 6.0 right now. The latter has less time since last update
released (0.5.3.2 in 2014), but it was still intended for Scilab 5.x.
Best regards,
Viktor
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
http://lists.scilab.org/mailman/listinfo/users
Loading...