Package Details: pfstools 2.1.0-5

Git Clone URL: https://aur.archlinux.org/pfstools.git (read-only, click to copy)
Package Base: pfstools
Description: Set of command line programs for reading, writing and manipulating high-dynamic range (HDR) images
Upstream URL: http://pfstools.sourceforge.net/
Licenses: LGPL2.1
Conflicts: pfscalibration, pfstmo
Provides: pfscalibration, pfstmo
Submitter: None
Maintainer: spider-mario
Last Packager: spider-mario
Votes: 37
Popularity: 0.000001
First Submitted: 2006-11-15 06:01
Last Updated: 2020-03-01 10:14

Dependencies (25)

Required by (0)

Sources (3)

Latest Comments

1 2 3 4 Next › Last »

stativ commented on 2020-02-11 10:07

disowned

bartus commented on 2020-02-04 14:15

Need a fix for opencv4, here's a patch I've used:

git am < <(curl -s https://pastebin.com/raw/QtcZwRed)

Run in your local clone.

dreieck commented on 2019-11-08 14:34

Fails to build for me:

Scanning dependencies of target pfsalign
[ 95%] Building CXX object src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp: In function ‘bool alignImagePair(const cv::Mat&, const cv::Mat&, cv::Mat&, int, bool)’:
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:233:44: error: ‘CV_RANSAC’ was not declared in this scope
  233 |     homography = findHomography( pp2, pp1, CV_RANSAC, 1., inliners );
      |                                            ^~~~~~~~~
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp: In function ‘void alignFrames(int, char**)’:
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:62: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::width’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:95: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::width’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:118: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::height’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
/tmp/yaourt-tmp-felics/aur-pfstools/src/pfstools-2.1.0/src/camera/pfsalign.cpp:650:152: warning: narrowing conversion of ‘frames.std::vector<FrameInfo>::operator[](((std::vector<FrameInfo>::size_type)kk)).FrameInfo::size.cv::Size_<int>::height’ from ‘int’ to ‘double’ [-Wnarrowing]
  650 |         double data[4][3] = { { 0, 0, 1 }, { frames[kk].size.width, 0, 1 }, { frames[kk].size.width, frames[kk].size.height, 1 }, { 0, frames[kk].size.height, 1 } };
make[2]: *** [src/camera/CMakeFiles/pfsalign.dir/build.make:63: src/camera/CMakeFiles/pfsalign.dir/pfsalign.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1879: src/camera/CMakeFiles/pfsalign.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

trougnouf commented on 2019-10-29 15:11

The force magick6 patch results in

-- Could NOT find ImageMagick: Found unsuitable version "7.0.8-68", but required is exact version "6" (found /usr/lib/libMagick++-6.Q16HDRI.so)

-- ImageMagick not found. The following commands will not be compiled: pfsinimgmagick pfsoutimgmagick pfsouthdrhtml.

ImageMagick CFLAGS: /usr/include/ImageMagick-7

related bug: https://sourceforge.net/p/pfstools/bugs/46/ . Probably better to disable ImageMagick than include this path which makes it fail.

bartus commented on 2019-10-12 12:27

Working PKGBUILD for opencv4 : https://github.com/bartoszek/AUR-pfstools

bartus commented on 2019-04-04 06:52

opencv3.patch need update for opencv4 https://pastebin.com/ddbEwh6W

wurzelbenutzer commented on 2018-07-19 17:56

For a build in a minimal environment package gtk3 was a missing (make) dependency.

gandalf3 commented on 2018-05-12 23:15

I get the following build error when extra/imagemagick6 is installed:

/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp: In function ‘void readFrames(int, char)’:
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:117:29: error: ‘class Magick::Image’ has no member named ‘matte’
     bool hasAlpha = imImage.matte();
                             ^~~~~
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:132:39: error: ‘QuantumDepth’ was not declared in this scope
     const float maxValue = (float)(1<<QuantumDepth) - 1;
                                       ^~~~~~~~~~~~
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:132:39: note: suggested alternative: ‘QuantumRange’
     const float maxValue = (float)(1<<QuantumDepth) - 1;
                                       ^~~~~~~~~~~~
                                       QuantumRange
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:134:21: error: ‘PixelPacket’ in namespace ‘Magick’ does not name a type
       const Magick::PixelPacket pixels =
                     ^~~~~~~~~~~
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:138:31: error: ‘pixels’ was not declared in this scope
         (X)(pixInd) = (float)pixels[c].red / maxValue;
                               ^~~~~~
/path/to/build/src/pfstools-2.1.0/src/fileformat/pfsinimgmagick.cpp:138:31: note: suggested alternative: ‘pixInd’
         (*X)(pixInd) = (float)pixels[c].red / maxValue;
                               ^~~~~~
                               pixInd
make[2]:  [src/fileformat/CMakeFiles/pfsinimgmagick.dir/build.make:63: src/fileformat/CMakeFiles/pfsinimgmagick.dir/pfsinimgmagick.cpp.o] Error 1
make[1]:  [CMakeFiles/Makefile2:804: src/fileformat/CMakeFiles/pfsinimgmagick.dir/all] Error 2

stativ commented on 2017-03-26 17:12

Fixed.

@bartus: thank you for providing the patch.

stativ commented on 2017-03-26 15:29

Oh, I see. I always build packages in a clean chroot so it is built without opencv, hence I did not see any problem.