[hugin-ptx] Re: GSoC2009

2009-03-23 Thread Yuv

Hi Lukáš

Lukáš Jirkovský wrote:
> I'd really want to participate

And I'd really want you to participate! You have already contributed
very valid patches and fixes and I look forward for you to work full
time on Hugin for a while.


> 1. Making deghosting act more like as a library.

>From what I saw in the past year since you started submitting patches,
you have talent and motivation to pick up this project. Don't worry
about picking up a difficult project, the choice will be accounted for
in the evaluation.

Next step for you would be to add yourself to the wiki:  and to apply in the
GSoC web based tool.



The application is new so I have no clue how it looks from the student
side. I'd be grateful for feedback. I think you need to create
yourself a profile at



and then apply for hugin/panotools, but I don't know how you would
apply. If you do it, please share with us here your experience, it
will help the other students who are less advanced in the process than
you.

good luck
Yuv
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: GSoC2009

2009-03-23 Thread Yuv

Hello Dev,

Dev Ghosh wrote:
> Specifically, I'd like to introduce a mosaic mode to Hugin.

Sounds interesting. Have you already started building and hacking
Hugin?


> I plan to upload my full proposal to the wiki soon and look forward to your
> feedback.

Don't forget the pre-condition: we'd like to see a patch to the Hugin
codebase from you.

Yuv
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: GSoC2009

2009-03-23 Thread Yuval Levy

Shalom Irena,

Irena wrote:
> unfortunately I cannot see the wiki of the project since it has been
> down for almost all day long, and cannot see what are the suggested
> projects Ideas.

it is currently quite slow here too, but it loads



> are the projects that you are looking for are mainly environment (like
> phyton bindings etc,) and gui, or are you interested in students to
> implement all kinds of advanced computational algorithms?

both. it depends on your interests and skill.

For a starter, may I suggest that you go about building and hacking 
hugin and related tools?






Yuv

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: GsoC

2009-03-23 Thread Yuval Levy

Hello Anand,

Anand Mishra wrote:
> Kindly suggest whom should I contact.

This mailing list is the first place to start.

So you did step 1. Go ahead with step 2 and 3 as described in
 


and report back.

Thanks
Yuv

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Fine-tune and wide-angle lenses.

2009-03-23 Thread Pablo d'Angelo

Hi Peter,

Peter Gawthrop wrote:

> As far as I know, Fine-Tune is unaware of lens effects. If so, it seem
> that the general solution would be to make Fine-Tune aware of the lens
> and, for example, map the two small areas used by Fine-Tune to the
> centre of the image for processing and then map back again.

Indeed, that would be very nice, if the lens parameters (mainly HFOV) 
are approximately known. An additional least square matching after the 
correlation search would lead to even better subpixel accuracy for the 
control points.

ciao
   Pablo

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: GSoC2009

2009-03-23 Thread Pablo d'Angelo

Hi Dev,

Dev Ghosh schrieb:
> Hello,
> 
> I'd like to solve the problems I'm encountering as part of Summer of 
> Code.  Specifically, I'd like to introduce a mosaic mode to Hugin.  This 
> will require the development of the geometric framework to project from 
> the mosaic image viewpoints to that of an orthographic view of the 
> entire painting.  I propose calculating the warp using a homography, 
> applying the calculated mapping, and projecting the result to the 
> orthographic viewpoint.  A homography estimation algorithm developed in 
> C by Lourakis will provide the required homography matrix calculations.

While the homest package by Lourakis is a nice piece of work, I think 
that it would be better to stick with the physical model that panotools 
uses, as that also handle lens distortions properly and would allow 
using fisheye and cylindrical cameras, too. This would mean that one 
"just" needs to implement the right transformation functions, and reuse 
the exiting optimisation algorithms.
The only problem is that all current panotools transformations have not 
been build with moving viewpoints in mind, so the panotools projections 
code would probably need some reorganisation/rewrite to allow this cleanly.

Having a mode for properly mosaicing planar scenes would be an extremly 
welcome addition to hugin.

ciao
  Pablo

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: GSoC2009

2009-03-23 Thread Pablo d'Angelo

Hi Lukáš,

Lukáš Jirkovský wrote:
> Hello,
> I'd really want to participate, but I've not yet decided what should
> be my application.  think about two things:
> 
> 1. Making deghosting act more like as a library. This probably would
> ease integration to enfuse. The second part would be adding algorithm
> described in [1] or adding support for deghosting to enfuse. The
> problem of this is that I think I'd not be able to do the math of the
> algorithm without help (there are some things I've never seen before).

While I won't be able to be a full time mentor this year, I'd be more 
than happy to answer your questions about the algorithm in [1]. Don't 
let the formulas scare you. From a quick look it seems to work quite 
similar to the khan deghosting (whose paper also sounds more complicated 
than it really is), but contains additional steps to further improve the 
results.

> If I would decide to integrate it to enfuse instead of implementing
> mentioned algorihtm the problem would be in fact that both khan and
> this algorithm are intended for use with HDR.

Actually, both algorithms produce a weight values for each pixel in each 
exposure. This weight value could be combined with the weight enfuse 
computes for each pixel.

> Anyway, even if I would choose one of these goals I'd like to
> implement also the second one but I think it would be quite
> problematic to do the both during summer so the second one wouldn't
> have so high priority.

I don't think doing both is possible in a summer, especially when time 
for learning how the algorithms really work is also needed.

ciao
   Pablo

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: PTBatcherGUI single instance

2009-03-23 Thread Bruno Postle

On Mon 23-Mar-2009 at 18:59 +0100, Lukáš Jirkovský wrote:
>
>The program 'PTBatcherGUI' received an X Window System error.
>This probably reflects a bug in the program.
>The error was 'BadRequest (invalid request code or no such operation)'.
>  (Details: serial 5748 error_code 1 request_code 134 minor_code 6)

I get a slightly different error:

  The program 'PTBatcherGUI' received an X Window System error.
  This probably reflects a bug in the program.
  The error was 'BadAtom (invalid Atom parameter)'.
(Details: serial 243 error_code 5 request_code 20 minor_code 0)

The ~/.PTBatcherGUI-bruno file gets updated with the new process-id 
each time I run it.

-- 
Bruno

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: PTBatcherGUI single instance

2009-03-23 Thread Lukáš Jirkovský

This version (ver5) crashes here. It says deleted state lock
/path/to/the/lockfile and immediately crashes:

The program 'PTBatcherGUI' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadRequest (invalid request code or no such operation)'.
  (Details: serial 5748 error_code 1 request_code 134 minor_code 6)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)


After running with --sync option I got:

PTBatcherGUI: xcb_io.c:242: process_responses: Assertion `(((long)
(dpy->last_request_read) - (long) (dpy->request)) <= 0)' failed.
Aborted

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] how to make a horizontal landscape of row of focused book titles with 15cm sequential images

2009-03-23 Thread Jelle de Jong

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello everybody,

I am trying to use Hugin 0.7.0 on debian sid to make a combined image out
of set of other images. I have been trying and reading the hole day and I
can't get the output result that I need.

I have uploaded the first four images and the hugin project file here:
http://filebin.ca/ujjrgg/project1.tar.gz

I have setup some books as test. In a 2,5 meter row. I have set my camera
on macro mode with fixed:
shutter speed : 1/50s
aperture  : f/3,5
iso   : 100
focal length  : 5.00

I had a 500W halogen lamp and a trypot for the camera I moved them both
15 cm to the right and took a new image until all books where captured. I
can sent you all images and can do the imaging over with other settings.

I think the difficulty is that I need an strait horizontal output and
that all titles of the books need to be in focus and exposure should be
balanced correctly. This can mean that some parts of other images should
not be used because an sharper version is available in the other image.

Can somebody please help me? How can we get the correct output? I kind of
lost on this moment...

Thanks in advance,

Best regards,

Jelle de Jong
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAknHxoMACgkQ1WclBW9j5Hm74AP/ZAq3mhAd/36acDGbMJ7ppCFv
23ukaHtaYIup5NGVvsn1oYXV9MZmQwX4OWt2SJFZuLAqtz1HloTR5ZF5wzAlONSh
nM3NBsO8ch3CbpScaWYNlV6g6OFAvJMUCxXhw/pjjlPCgrqZWfxPVwWIEQ8SHEYQ
jnW24vqCU+SD6m3GFo0=
=Lx+/
-END PGP SIGNATURE-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] Re: Fine-tune and wide-angle lenses.

2009-03-23 Thread Peter Gawthrop

Maybe a GSoC project?

  P.

From: Bruno Postle 
Subject: [hugin-ptx] Re: Fine-tune and wide-angle lenses.
Date: Sun, 22 Mar 2009 23:46:28 +

> 
> On Sat 21-Mar-2009 at 14:40 +, Peter Gawthrop wrote:
> >
> >As far as I know, Fine-Tune is unaware of lens effects. If so, it seem
> >that the general solution would be to make Fine-Tune aware of the lens
> >and, for example, map the two small areas used by Fine-Tune to the
> >centre of the image for processing and then map back again.
> 
> Yes this is a known bug, fine-tune currently doesn't work so well 
> around the edges of wide images due to 'stretching' distortion.  A 
> related bug is that it doesn't work with images at different 
> resolutions - The edges of photos are scaled differently to the 
> centres.
> 
> -- 
> Bruno
> 
> > 
> 
> __
> This email has been scanned by Netintelligence
> http://www.netintelligence.com/email
> 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---



[hugin-ptx] PTBatcherGUI single instance

2009-03-23 Thread Thomas Modes
>>Hi, I can't get this ver4 patch to apply,

New try.

Thomas


-- 
Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt?
Jetzt absichern: https://homebanking.gmx.net/?mc=m...@footer.hb

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~--~~~~--~~--~--~---

Index: src/hugin1/ptbatcher/BatchFrame.cpp
===
--- src/hugin1/ptbatcher/BatchFrame.cpp (Revision 3752)
+++ src/hugin1/ptbatcher/BatchFrame.cpp (Arbeitskopie)
@@ -153,10 +153,33 @@
 
bool change = false;
bool loaded = false;
+#ifndef PTBATCHER_USE_WXCONNECTION
+   wxString 
fileCommand(workingDir->GetName()+wxFileName::GetPathSeparator()+_T(".ptbatcher.command"));
+   bool startRemoteBatch=false;
+#endif
int projectCount = m_batch->GetProjectCount();
//we constantly poll the working dir for new files and wait a bit on 
each loop
while(!m_closeThread)
{
+#ifndef PTBATCHER_USE_WXCONNECTION
+   //check if other instance is requesting update
+   if(wxFileName::FileExists(fileCommand))
+   {
+   wxFFile aFile(fileCommand,wxT("r"));
+   wxString command;
+   aFile.ReadAll(&command);
+   aFile.Close();
+   startRemoteBatch=(command==wxT("RunBatch"));
+   m_batch->ClearBatch();
+   m_batch->LoadTemp();
+   loaded = true;
+   SetCheckboxes();
+   wxRemoveFile(fileCommand);
+   if(!startRemoteBatch)
+   RequestUserAttention();
+   SetStatusText(wxT(""));
+   };
+#endif
//check, if ptbt file was changed
wxFileName aFile(m_batch->GetLastFile());
if(!aFile.FileExists())
@@ -265,6 +288,15 @@
m_batch->SaveTemp();
}

+#ifndef PTBATCHER_USE_WXCONNECTION
+   if(startRemoteBatch)
+   {
+   startRemoteBatch = false;
+   wxCommandEvent MyEvent(wxEVT_COMMAND_TOOL_CLICKED 
,XRCID("tool_start"));
+   AddPendingEvent(MyEvent);
+   };
+#endif
+
GetThread()->Sleep(1000);
//wxFile file;

//file.Create(workingDir->GetName()+wxFileName::GetPathSeparator()+_T("krneki.txt"));
@@ -342,12 +374,7 @@
wxArrayString paths;
dlg.GetPaths(paths);
for(unsigned int i=0; iAddProjectToBatch(paths.Item(i),name.GetPath(wxPATH_GET_VOLUME | 
wxPATH_GET_SEPARATOR) + name.GetName());
-   SetStatusText(_("Added project ")+paths.Item(i));
-   
projListBox->AppendProject(m_batch->GetProject(m_batch->GetProjectCount()-1));
-   }
+   AddToList(paths.Item(i));
m_batch->SaveTemp();
 }
else { // bail
@@ -355,6 +382,15 @@
} 
 }
 
+void BatchFrame::AddToList(wxString aFile)
+{
+   wxFileName name(aFile);
+   m_batch->AddProjectToBatch(aFile,name.GetPath(wxPATH_GET_VOLUME | 
wxPATH_GET_SEPARATOR) + name.GetName());
+   SetStatusText(_("Added project ")+aFile);
+   
projListBox->AppendProject(m_batch->GetProject(m_batch->GetProjectCount()-1));
+}
+
+
 void BatchFrame::OnButtonCancel(wxCommandEvent &event)
 {
GetToolBar()->ToggleTool(XRCID("tool_pause"),false);
@@ -373,8 +409,7 @@
if (dlg.ShowModal() == wxID_OK)
{
wxString outname(dlg.GetPath());
-   m_batch->ChangePrefix(selIndex,outname);
-   projListBox->ChangePrefix(selIndex,outname);
+   ChangePrefix(selIndex,outname);
//SetStatusText(_T("Changed prefix for 
"+projListBox->GetSelectedProject()));
m_batch->SaveTemp();
}
@@ -385,6 +420,17 @@
}
 }
 
+void BatchFrame::ChangePrefix(int index,wxString newPrefix)
+{
+   int i;
+   if(index!=-1)
+   i=index;
+   else
+   i=m_batch->GetProjectCount()-1;
+   m_batch->ChangePrefix(i,newPrefix);
+   projListBox->ChangePrefix(i,newPrefix);
+}
+
 void BatchFrame::OnButtonClear(wxCommandEvent &event)
 {
int returnCode = m_batch->ClearBatch();
@@ -822,6 +