[Pkg-phototools-devel] Bug#785071: pto2mk gone, breaks debian/tests/simple.pano.test

Martin Pitt mpitt at debian.org
Wed May 20 06:52:25 UTC 2015


Hello Andreas,

Andreas Metzler [2015-05-12 18:34 +0200]:
> I have seen that (too late for beta2) and it is already fixed in GIT.
> Thanks for keeping an eye on these issues.
> 
> cu Andreas
> 
> http://anonscm.debian.org/cgit/pkg-phototools/hugin.git/commit/?id=477347385b6b59ccff6a645345846bdf39be68a5

Hmm, does that actually work for you? I still get a failure in both a
current sid VM as well as schroot. I pasted the full test output
below. It's not immediately clear what fails as there's no useful
error message. Turns out it's the "test -e pano.tif".

Perhaps this would be better?

if ! test -e pano.tif; then
    echo "ERROR: pano.tif not found!" >&2
    ls -l
    exit 1
fi

With that I get

| ERROR: pano.tif not found!
| -rw-r--r-- 1 martin martin 640692 May 20 08:51 left - right.tif
| -rw-r--r-- 1 martin martin  85229 May 20 08:51 left.jpeg
| -rw-r--r-- 1 martin martin   3430 May 20 08:51 pano.pto
| -rw-r--r-- 1 martin martin  85195 May 20 08:51 right.jpeg

So I still don't know what's wrong/expected here, but I hope you have
an idea?

Thanks,

Martin

$ adt-run -B hugin_2015.0.0~beta2+dfsg-1git1.dsc --- schroot sid
[...]
adt-run [08:45:56]: test simple.pano.test: [-----------------------
Error reading GPano tags from /tmp/tmp.b4N04CNKte.hugin/left.jpeg(std::exception)
Generating pto file...
Reading /tmp/tmp.b4N04CNKte.hugin/left.jpeg...
Reading /tmp/tmp.b4N04CNKte.hugin/right.jpeg...
Error reading GPano tags from /tmp/tmp.b4N04CNKte.hugin/right.jpeg(std::exception)

Assigned 1 lenses.

Written output to /tmp/tmp.b4N04CNKte.hugin/pano.pto
Hugin's cpfind 2015.0.0.31a6f3742639
based on Pan-o-matic by Anael Orlinski

Project contains the following images:
Image 0
  Imagefile: left.jpeg
  Remapped : no
Image 1
  Imagefile: right.jpeg
  Remapped : no

--- Analyze Images ---
i1 : Analyzing image...
i0 : Analyzing image...

--- Find pair-wise matches ---
i0 <> i1 : Found 25 matches

--- Write Project output ---
Written output to pano-tmp.pto

Detection took 0.24 seconds.

Celeste: Removes cloud-like control points from Hugin project files and creates image masks
using Support Vector Machines.

Version 2015.0.0.31a6f3742639

Arguments:
Input Hugin file:	pano.pto
Output Hugin file:	pano-tmp.pto
SVM model file:		/usr/share/hugin/data/celeste.model
Max dimension:		800
SVM threshold:		0.5
Create PTO masks:	No
Mask format:		PNG
Filter radius:		Large

Loaded model file:	/usr/share/hugin/data/celeste.model
Parsing Hugin project file pano.pto

Image dimensions:	648 x 486
Image dimensions:	648 x 486

Written file pano-tmp.pto


Removed 1 control points in step 1
Removed 1 control points in step 2

Written output to pano-tmp.pto
*** Adaptive geometric optimisation
Optimizing Variables
Strategy 1
Average (rms) distance between Controlpoints 
after 0 iteration(s):          24.9537691541876 units
Strategy 1
Average (rms) distance between Controlpoints 
after 1 iteration(s):          24.4968919109571 units
Strategy 1
Average (rms) distance between Controlpoints 
after 2 iteration(s):          23.9686448718011 units
Strategy 1
Average (rms) distance between Controlpoints 
after 3 iteration(s):          23.4446107688423 units
Strategy 1
Average (rms) distance between Controlpoints 
after 4 iteration(s):          22.9263951058532 units
Strategy 1
Average (rms) distance between Controlpoints 
after 5 iteration(s):          22.4188269454977 units
Strategy 1
Average (rms) distance between Controlpoints 
after 6 iteration(s):          21.9233037520347 units
Strategy 1
Average (rms) distance between Controlpoints 
after 7 iteration(s):          21.4399831232153 units
Strategy 1
Average (rms) distance between Controlpoints 
after 8 iteration(s):          20.9684186512436 units
Strategy 1
Average (rms) distance between Controlpoints 
after 9 iteration(s):          20.5083116506821 units
Strategy 1
Average (rms) distance between Controlpoints 
after 10 iteration(s):          20.0591042771846 units
Strategy 1
Average (rms) distance between Controlpoints 
after 11 iteration(s):           19.588553127047 units
Strategy 1
Average (rms) distance between Controlpoints 
after 12 iteration(s):          19.1270695046781 units
Strategy 1
Average (rms) distance between Controlpoints 
after 13 iteration(s):          18.6774679306246 units
Strategy 1
Average (rms) distance between Controlpoints 
after 14 iteration(s):          18.2073443870959 units
Strategy 1
Average (rms) distance between Controlpoints 
after 15 iteration(s):          17.7469979100104 units
Strategy 1
Average (rms) distance between Controlpoints 
after 16 iteration(s):          17.2992069044527 units
Strategy 1
Average (rms) distance between Controlpoints 
after 17 iteration(s):          16.8345677151117 units
Strategy 1
Average (rms) distance between Controlpoints 
after 18 iteration(s):          16.3807634241716 units
Strategy 1
Average (rms) distance between Controlpoints 
after 19 iteration(s):           15.935093843845 units
Strategy 1
Average (rms) distance between Controlpoints 
after 20 iteration(s):          15.4658208215643 units
Strategy 1
Average (rms) distance between Controlpoints 
after 21 iteration(s):          15.0076180357899 units
Strategy 1
Average (rms) distance between Controlpoints 
after 22 iteration(s):            14.56417384973 units
Strategy 1
Average (rms) distance between Controlpoints 
after 23 iteration(s):          14.1011177043998 units
Strategy 1
Average (rms) distance between Controlpoints 
after 24 iteration(s):          13.6504209624239 units
Strategy 1
Average (rms) distance between Controlpoints 
after 25 iteration(s):          13.2101770556828 units
Strategy 1
Average (rms) distance between Controlpoints 
after 26 iteration(s):          12.7410607599891 units
Strategy 1
Average (rms) distance between Controlpoints 
after 27 iteration(s):          12.2844376786087 units
Strategy 1
Average (rms) distance between Controlpoints 
after 28 iteration(s):          11.8457661064345 units
Strategy 1
Average (rms) distance between Controlpoints 
after 29 iteration(s):           11.388329119511 units
Strategy 1
Average (rms) distance between Controlpoints 
after 30 iteration(s):          10.9457803476757 units
Strategy 1
Average (rms) distance between Controlpoints 
after 31 iteration(s):          10.5045598594076 units
Strategy 1
Average (rms) distance between Controlpoints 
after 32 iteration(s):          10.0586275683871 units
Strategy 1
Average (rms) distance between Controlpoints 
after 33 iteration(s):           9.6317361867154 units
Strategy 1
Average (rms) distance between Controlpoints 
after 34 iteration(s):          9.15870097920948 units
Strategy 1
Average (rms) distance between Controlpoints 
after 35 iteration(s):          8.69899325632582 units
Strategy 1
Average (rms) distance between Controlpoints 
after 36 iteration(s):          8.26469835932337 units
Strategy 1
Average (rms) distance between Controlpoints 
after 37 iteration(s):          7.83751886242897 units
Strategy 1
Average (rms) distance between Controlpoints 
after 38 iteration(s):          7.25927158988975 units
Strategy 1
Average (rms) distance between Controlpoints 
after 39 iteration(s):          6.69507002570063 units
Strategy 1
Average (rms) distance between Controlpoints 
after 40 iteration(s):          5.77413923928841 units
Strategy 1
Average (rms) distance between Controlpoints 
after 41 iteration(s):           4.9307111146985 units
Strategy 1
Average (rms) distance between Controlpoints 
after 42 iteration(s):          4.10958694298408 units
Strategy 1
Average (rms) distance between Controlpoints 
after 43 iteration(s):          3.24467866868201 units
Strategy 1
Average (rms) distance between Controlpoints 
after 44 iteration(s):          2.44699267306362 units
Strategy 1
Average (rms) distance between Controlpoints 
after 45 iteration(s):          1.60585758845428 units
Strategy 1
Average (rms) distance between Controlpoints 
after 46 iteration(s):          0.60717983168988 units
Strategy 1
Average (rms) distance between Controlpoints 
after 47 iteration(s):         0.503664162907862 units
Strategy 1
Average (rms) distance between Controlpoints 
after 48 iteration(s):         0.503664162907862 units

Optimizing Variables
Strategy 2
Average (rms) distance between Controlpoints 
after 0 iteration(s):         0.503664167259295 units
Strategy 2
Average (rms) distance between Controlpoints 
after 1 iteration(s):         0.503424719443968 units
Strategy 2
Average (rms) distance between Controlpoints 
after 2 iteration(s):         0.503424719435034 units

Optimizing Variables
Strategy 1
Average (rms) distance between Controlpoints 
after 0 iteration(s):         0.503424715194382 units
Strategy 1
Average (rms) distance between Controlpoints 
after 1 iteration(s):         0.503424715194382 units

Optimizing Variables
Strategy 2
Average (rms) distance between Controlpoints 
after 0 iteration(s):         0.503424719435034 units
Strategy 2
Average (rms) distance between Controlpoints 
after 1 iteration(s):         0.503424719435034 units

Searching for best crop rectangle
Run called
Down to Algorithm
Original Image: 660x345
Inner 64 115444: 128 660 - 64 281
Starting 64: 128 660 - 64 281
Starting 32: 128 660 - 64 281
Starting 16: 128 660 - 32 313
Starting 8: 112 660 - 16 329
Starting 4: 104 660 - 16 337
Starting 2: 104 660 - 12 341
Starting 1: 104 660 - 10 343
Found Solution: 103 10 660 343
Crop 103x10 - 660x343
Crop Size 557x333
Set crop size to 103,10,660,343

Written output to pano-tmp.pto

Opened project pano.pto

Project contains
2 images
1 lenses
2 stacks
23 control points

Control points statistics
	Mean error        : 1.92
	Standard deviation: 0.86
	Minimum           : 0.85
	Maximum           : 3.75
All images are connected.

============================================
Stitching panorama...
============================================

Platform: Linux 3.19.0-17-generic x86_64
Version: 2015.0.0.31a6f3742639
Working directory: /tmp/tmp.b4N04CNKte.hugin
Output prefix: left - right

Blender: enblend 4.1.3
ExifTool version: 9.95

Number of active images: 2
Output exposure value: 13.4
Canvas size: 660x345
ROI: (103, 10) - (660, 343) 
FOV: 19x10
Projection: Rectilinear(0)
Using GPU for remapping: false

Panorama Outputs:
* Exposure corrected, low dynamic range

First input image
Number: 0
Filename: /tmp/tmp.b4N04CNKte.hugin/left.jpeg
Size: 648x486
Projection: Normal (rectilinear)
Response type: custom (EMoR)
HFOV: 13
Exposure value: 13.3



Remapping LDR images...
Multiple images output
loading left.jpeg
remapping left.jpeg
saving left - right0000.tif
loading right.jpeg
remapping right.jpeg
saving left - right0001.tif


Blending images...
enblend: warning: input images too small for coarse mask; switching to fine mask
enblend: info: loading next image: left - right0000.tif 1/1
enblend: info: loading next image: left - right0001.tif 1/1
enblend: info: writing final output

Updating metadata...
    1 image files updated
Removing temporary files...
adt-run [08:46:01]: test simple.pano.test: -----------------------]
adt-run [08:46:01]: test simple.pano.test:  - - - - - - - - - - results - - - - - - - - - -
simple.pano.test     FAIL non-zero exit status 1

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20150520/f923d5d9/attachment.sig>


More information about the Pkg-phototools-devel mailing list