为什么 Scilab 无法打开图像文件?



我试图在Scilab下处理图像文件,但一开始就遇到了问题,无法加载图像文件。

我搜索了帮助系统和网络,尝试了两个版本的Scilab(因为我找到的一些答案说6.0与一些图像功能不兼容(,但仍然是空白的。无论我尝试什么,imread函数根本不存在。

这是我得到的:

根据Scilab 6.0.2:

--> clear
--> atomsSystemUpdate()
Scanning repository http://atoms.scilab.org/6.0 ... Done

--> atomsInstall("SIVP")
atomsInstallList: The package "SIVP" is not registered.
Please check on the ATOMS repository that it is available for Scilab 6.0 on Windows.
If it is, run atomsSystemUpdate() before trying atomsInstall(..) again.
at line    52 of function atomsError       ( C:Program Filesscilab-6.0.2modulesatomsmacrosatoms_internalsatomsError.sci line 66 )
at line    78 of function atomsInstallList ( C:Program Filesscilab-6.0.2modulesatomsmacrosatoms_internalsatomsInstallList.sci line 117 )
at line   233 of function atomsInstall     ( C:Program Filesscilab-6.0.2modulesatomsmacrosatomsInstall.sci line 249 )

--> atomsInstall("IPCV")
ans  =
[]

--> disp( atomsGetInstalled() );
!IPCV  4.1.2  user  SCIHOMEatomsx64IPCV4.1.2  I  !

--> im=imread("Kratka220.tif")
Undefined variable: imread

根据Scilab 5.5.2:

-->clear

-->atomsSystemUpdate()
Scanning repository http://atoms.scilab.org/5.5 ... Done

-->atomsInstall("SIVP")
ans  =

[]

-->atomsInstall("IPCV")
atomsInstallList: Pakiet IPCV nie jest dostępny.
<this is Polish for "Package IPCV is not available"; I installed 5.5.2 in Polish>
!--error 10000 
at line      51 of function atomsError called by :  
at line      76 of function atomsInstallList called by :  
at line     233 of function atomsInstall called by :  
atomsInstall("IPCV")


-->disp( atomsGetInstalled() );


column 1 to 4

!SIVP  0.5.3.2  user  SCIHOMEatomsx64SIVP.5.3.2  !

column 5

!I  !

-->im=imread("Kratka220.tif")
!--error 4 
Niezdefiniowana zmienna: imread
<this is Polish for "undefined variable">

我做错了什么?

atomsInstall之后,您必须重新启动Scilab才能加载工具箱。

最新更新