From: Jakub Bogusz Date: Sun, 3 Apr 2005 14:39:28 +0000 (+0000) Subject: - new X-Git-Tag: auto/ac/autopano-sift-2_2-1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fautopano-sift.git;a=commitdiff_plain;h=73f606cc6785e9a1177ad8d1ce72c8a5ade4e1d5 - new Changed files: autopano-sift.spec -> 1.1 --- 73f606cc6785e9a1177ad8d1ce72c8a5ade4e1d5 diff --git a/autopano-sift.spec b/autopano-sift.spec new file mode 100644 index 0000000..89887f2 --- /dev/null +++ b/autopano-sift.spec @@ -0,0 +1,86 @@ +# NOTE: libsift is also available separately at +# http://user.cs.tu-berlin.de/~nowozin/libsift/ +# it should be separate package when other packages use it +Summary: SIFT Feature Detection implementation +Summary(pl): Implementacja algorytmu SIFT do wykrywania cech obrazu +Name: autopano-sift +Version: 2.2 +Release: 1 +License: GPL, but SIFT algorithm may require license in some countries +Group: X11/Applications/Graphics +Source0: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/%{name}-%{version}.tar.gz +# Source0-md5: fb3f111d3054c67a66e3ead181f99aa9 +URL: http://user.cs.tu-berlin.de/~nowozin/autopano-sift/ +BuildRequires: dotnet-gtk-sharp-devel >= 1.0 +BuildRequires: mono-csharp >= 1.0 +Requires: dotnet-gtk-sharp >= 1.0 +Requires: libgdiplus >= 1.0 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The SIFT algorithm provides the capability to identify key feature +points within arbitrary images. It further extracts highly distinct +information for each such point and allows to characterize the point +invariant to a number of modifications to the image. It is invariant +to contrast/brightness changes, to rotation, scaling and partially +invariant to other kinds of transformations. The algorithm can be +flexibly used to create input data for image matching, object +identification and other computer vision related algorithms. + +This package provides an implementation of the SIFT algorithm and a +set of utilities to utilize the algorithm to match two or more images. +As output, a number of control points are created, which specify one +and the same image location in two images. The output is created as +project file for the hugin panorama stitching software, which is +available in hugin package. + +%description -l pl +Algorytm SIFT daje mo¿liwo¶æ okre¶lenia kluczowych punktów +charakterystycznych na dowolnych zdjêciach. Nastêpnie wydobywa +informacje wyodrêbniaj±ce dla ka¿dego takiego punktu i pozwala +scharakteryzowaæ ten punkt niezale¿nie od liczby modyfikacji obrazu. +Jest niezale¿ny od zmian kontrastu/jasno¶ci, obrotów, skalowania i +czê¶ciowo niezale¿ny od innych rodzajów przekszta³ceñ. Algorytm mo¿e +byæ elastycznie u¿ywany do tworzenia danych wej¶ciowych do +dopasowywania obrazów, identyfikowania obiektów i innych algorytmów +zwi±zanych z grafik± komputerow±. + +Ten pakiet dostarcza implementacjê algorytmu SIFT i zestaw narzêdzi +wykorzystuj±cych ten algorytm do dopasowywania dwóch lub wiêkszej +liczby zdjêæ. Na wyj¶ciu tworzony jest zbiór punktów kontrolnych +okre¶laj±cych to samo miejsce na dwóch zdjêciach. Wyj¶cie jest +tworzone w formacie pliku projektu dla programu do sklejania panoram +hugin, dostêpnego w pakiecie o tej samej nazwie. + +%prep +%setup -q + +%build +%{__make} -C src + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_mandir}/man{1,7}} + +install src/libsift.dll $RPM_BUILD_ROOT%{_libdir} +install src/bin/autopano-complete.sh $RPM_BUILD_ROOT%{_bindir} +install src/util/{autopano,generatekeys,generatekeys-sd,showone,showtwo}.exe \ + $RPM_BUILD_ROOT%{_bindir} +install src/util/monoopt.sh $RPM_BUILD_ROOT%{_bindir} +install src/util/autopanog/autopanog.exe $RPM_BUILD_ROOT%{_bindir} +install src/util/man/{autopano-complete,autopano,autopanog,generatekeys,showone,showtwo}.1 \ + $RPM_BUILD_ROOT%{_mandir}/man1 +install src/util/man/autopano-sift.7 $RPM_BUILD_ROOT%{_mandir}/man7 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES README +%attr(755,root,root) %{_bindir}/*.sh +# blegh, cannot be run directly (caught by WINE in PLD) +%attr(755,root,root) %{_bindir}/*.exe +%{_libdir}/libsift.dll +%{_mandir}/man1/* +%{_mandir}/man7/autopano-sift.7*