Re: [hugin-ptx] Re: Masking inside hugin

2010-02-22 Thread Emad ud din Butt
Is it available now or have to wait. If available ? than from where i can
download? I am really stuck with Black mask errors and cant generate final
files. Masking my images manually is surely going to help a lot.

Is there any need of feather addition in masks?




On Fri, Feb 19, 2010 at 10:40 PM, Bruno Postle
brunopos...@googlemail.comwrote:

 On 19 February 2010 06:48, T. Modes thomas.mo...@gmx.de wrote:

  I could in the internal mask processing positive masks clip at the
  image bounderies. But this would not show up in the mask editor.

 I think that would be fine. It is useful to be able to draw part of
 the mask outside the edge of the photo, but this 'outside' part of the
 region can only do bad things in  the 'positive mask' situation.

 --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx




-- 
_
Emaad
www.flickr.com/emaad

-- 
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

Re: [hugin-ptx] Re: Masking inside hugin

2010-02-22 Thread Bruno Postle
On 22 February 2010 11:32, Emad ud din Butt xyzt...@gmail.com wrote:

 Is there any need of feather addition in masks?

This isn't really how it works, you can't use the mask tool for
compositing or placing a foreground object on  different background.
For this you need an image editor.

Enblend can and does use any part of an image overlap to place a seam,
by excluding an area using a mask you are telling enblend to exclude
that region from consideration both when placing the seam and when
blending.

The result is that you can remove a person or object only if some
other photo shows the same part of the scene without that object.

When you 'include' an object with a mask the opposite happens, this
simply removes that part of the scene from all other photos, enblend
then has no choice but to use the region in the photo you selected.

Cristian Marchi has posted a nice tutorial showing the 'positive'
(include region) masking:
http://www.flickr.com/groups/hugin/discuss/72157623472700076/

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-19 Thread Bruno Postle
On 19 February 2010 06:48, T. Modes thomas.mo...@gmx.de wrote:

 I could in the internal mask processing positive masks clip at the
 image bounderies. But this would not show up in the mask editor.

I think that would be fine. It is useful to be able to draw part of
the mask outside the edge of the photo, but this 'outside' part of the
region can only do bad things in  the 'positive mask' situation.

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-19 Thread James Legg
On Fri, 2010-02-19 at 13:02 -0800, T. Modes wrote:
 @Seb
  One issue I found: if I include two times the same image, there is one
  single mask for these two images.
 
 Only the fast preview is affected by this bug. The normal preview and
 the output should be ok. Until it is fixed use the normal preview or
 work with a copy of the image with an other filename.

I fixed this in rev 5000.

There is another bug I have noticed:
If you make an include mask on an image, the image opposite it on a
spherical panorama disappears from both previews and the output.
For example: if you have image 0 at yaw 90, pitch 0 with a positive
mask, and image 1 at yaw -90, pitch 0, image 1 disappears.

-James


-- 
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: Masking inside hugin

2010-02-18 Thread T. Modes
 That would be useful, but also the Hugin optimiser could ignore
 points in masked areas, and the photometric optimiser could be made
 to only sample from unmasked areas.

The photometric optimiser should only sample from unmasked area. As
far as I understood, I did the changes.
Regarding the optimiser it should be easy possible to remove cps in
masked areas.

 The phrases 'negative masking' and 'positive masking' - I'm probably
 responsible for these, but I worry that they won't mean much to new
 users, we should maybe look for something better:

    Exclude region / Include region
    Exclude area / Include area
    Remove region / Add region
    (not sure)


If there is a consense, it should be easy to change the phrases.

 I use Hugin over remote-X and showing photos in the Mask tab is
 several times slower than showing them in the Crop tab (like 20
 seconds for a 1:1 view) - Obviously remote-X isn't much of a
 concern, but I wonder if the canvas is being redrawn multiple times.


I will have a look on this in the next days.

 Masks can be drawn outside the photo border.  This is fine for
 'negative' masks, as it makes it easier to select the right area,
 but for 'positive' masks it results in holes in the final image.

I could in the internal mask processing positive masks clip at the
image bounderies. But this would not show up in the mask editor.
Or I could force to clip the created mask. But I have no good idea at
which stage this could be done - maybe when switching to positive
mask. (Alternatively an additional button with clip to image, but this
approach I don't like, because there are enough buttons.)
What do you think?

Thomas

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-17 Thread Emad ud din Butt
wow really nice feature..thanks for adding..



On Tue, Feb 16, 2010 at 7:44 PM, Bart van Andel bavanan...@gmail.comwrote:

 On 16 feb, 09:35, Bruno Postle br...@postle.net wrote:
  http://www.flickr.com/photos/36383...@n00/4359863335/

 This will save a lot of work: instead of first outputting all the
 remapped images, editing masks by hand using a photo editor like GIMP
 or Photoshop, and then blending, everything can now be done from
 inside Hugin. Very nice work indeed!

 --
 Bart

 --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx




-- 
_
Asst Manager IT
Wazir Ali Industries Limited
Lahore

-- 
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

Re: [hugin-ptx] Re: Masking inside hugin

2010-02-17 Thread Tim Nugent
Seems to work fine, thanks for this :-)

Tim

http://img94.imageshack.us/img94/7807/posmasktest.jpg

http://img130.imageshack.us/img130/2101/negmasktest.jpg


On 16 February 2010 08:37, sebastien delcoigne 
sebastien.delcoi...@gmail.com wrote:

 Thanks Thomas,
 It's a very practical feature to have directly inside Hugin.
 I can't wait to try it.

 -- Sebastien


 On Tue, Feb 16, 2010 at 9:22 AM, Carl von Einem c...@einem.net wrote:

 Standard (negative) masking: Make sure that certain areas of a source
 image (a partial human body stepping into the frame, or parts of the
 panohead) don't make it into the stitched image while you have enough
 better background in another frame (e.g. a handheld nadir shot). The
 'crop' tab is comparable but only allows to mask the outside of a
 rectangle or a circle.

 Positive masking: comparing two overlapping frames one feature might be
 in both but looks better in frame B. You want to make sure that enblend
 uses that nicer part so you can apply positive masking on that wanted
 part.

 Bruno's tutorial shows both techniques using seperate vector masks:
 http://hugin.sourceforge.net/tutorials/enblend-svg/en.shtml

 Jan Martin schrieb am 16.02.10 07:58:
  This might be obvious to you, I ask nevertheless:
  What is masking good for?

 --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx




 --
 Sébastien

  --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx


-- 
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: Masking inside hugin

2010-02-17 Thread Zoran Zorkic
Awesome work! Very useful to the workflow.

Could you make it use the roll parameter?
I used some portrait photos, but in the mask(and crop) tab they were
in landscape, while in CP editor they were properly in portrait
orientation

It would also be great if some CP generators made use of masking.
PTmender would also rock if it supported masking.

Thanks you the feature!

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-16 Thread Carl von Einem
Standard (negative) masking: Make sure that certain areas of a source
image (a partial human body stepping into the frame, or parts of the
panohead) don't make it into the stitched image while you have enough
better background in another frame (e.g. a handheld nadir shot). The
'crop' tab is comparable but only allows to mask the outside of a
rectangle or a circle.

Positive masking: comparing two overlapping frames one feature might be
in both but looks better in frame B. You want to make sure that enblend
uses that nicer part so you can apply positive masking on that wanted part.

Bruno's tutorial shows both techniques using seperate vector masks:
http://hugin.sourceforge.net/tutorials/enblend-svg/en.shtml

Jan Martin schrieb am 16.02.10 07:58:
 This might be obvious to you, I ask nevertheless:
 What is masking good for?

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-16 Thread sebastien delcoigne
Thanks Thomas,
It's a very practical feature to have directly inside Hugin.
I can't wait to try it.

-- Sebastien

On Tue, Feb 16, 2010 at 9:22 AM, Carl von Einem c...@einem.net wrote:

 Standard (negative) masking: Make sure that certain areas of a source
 image (a partial human body stepping into the frame, or parts of the
 panohead) don't make it into the stitched image while you have enough
 better background in another frame (e.g. a handheld nadir shot). The
 'crop' tab is comparable but only allows to mask the outside of a
 rectangle or a circle.

 Positive masking: comparing two overlapping frames one feature might be
 in both but looks better in frame B. You want to make sure that enblend
 uses that nicer part so you can apply positive masking on that wanted part.

 Bruno's tutorial shows both techniques using seperate vector masks:
 http://hugin.sourceforge.net/tutorials/enblend-svg/en.shtml

 Jan Martin schrieb am 16.02.10 07:58:
  This might be obvious to you, I ask nevertheless:
  What is masking good for?

 --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx




-- 
Sébastien

-- 
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: Masking inside hugin

2010-02-16 Thread Bart van Andel
On 16 feb, 09:35, Bruno Postle br...@postle.net wrote:
 http://www.flickr.com/photos/36383...@n00/4359863335/

This will save a lot of work: instead of first outputting all the
remapped images, editing masks by hand using a photo editor like GIMP
or Photoshop, and then blending, everything can now be done from
inside Hugin. Very nice work indeed!

--
Bart

-- 
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: Masking inside hugin

2010-02-16 Thread cri
Thank you for this feature!!
I've just compiled Hugin from trunk and it works great!

On 16 Feb, 07:34, T. Modes thomas.mo...@gmx.de wrote:
 Hi,

 I implemented a masking tool inside hugin. It's now in the trunk.

 Now you can create masks inside hugin, the masks are stored in the pto
 file. It is possible to use negative and positive masking. The masks
 are applied during stitching with nona. So also enblend can use them.

 Some hints for usage of the editor:

 Creating mask polygon: left mouse buttons sets one point, finish with
 right mouse button or left double click
 Select mask: left mouse click inside polygon or use rubberband, works
 only when there are no points selected; or use the listbox
 Selecting point(s): after selecting add new mask left mouse click on
 point or use rubberband; when holding shift the new points are added
 to an existing selection
 Move point(s): drag with left mouse button
 Move whole mask: drag with right mouse button
 Adding points: left click while holding ctrl key on a line segment
 Deleting points: right mouse click while holding ctrl key on a point
 or drag with right mouse button and pressed ctrl button a rubber band
 around the points (the remaining polygon must consist of at least
 three points, otherwise the deleting is canceled), the delete key
 deletes the selected points
 Deleting mask: use delete mask button, the mask is also delete with
 pressing the delete key when all or none point of the current mask are
 selected

 I hope this feature is helpful

 Thomas

-- 
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


Re: [hugin-ptx] Re: Masking inside hugin

2010-02-16 Thread Harry van der Wolf
Hi Thomas,

Was on business trip. Saw the commits in hugin-cvs, read your mail in
hugin-ptx.  Got home late tonight from the airport, hugged, kissed, talked
with my wife (some things simply come first), modified the Xcode project and
it works great. THANKS AGAIN for another very nice feature in hugin (cplean,
updated structured tabbed fast preview, what do I forget?).

(Tomorrow an OSX build).

Harry


2010/2/16 cri cri.pe...@gmail.com

 Thank you for this feature!!
 I've just compiled Hugin from trunk and it works great!

 On 16 Feb, 07:34, T. Modes thomas.mo...@gmx.de wrote:
  Hi,
 
  I implemented a masking tool inside hugin. It's now in the trunk.
 
  Now you can create masks inside hugin, the masks are stored in the pto
  file. It is possible to use negative and positive masking. The masks
  are applied during stitching with nona. So also enblend can use them.
 
  Some hints for usage of the editor:
 
  Creating mask polygon: left mouse buttons sets one point, finish with
  right mouse button or left double click
  Select mask: left mouse click inside polygon or use rubberband, works
  only when there are no points selected; or use the listbox
  Selecting point(s): after selecting add new mask left mouse click on
  point or use rubberband; when holding shift the new points are added
  to an existing selection
  Move point(s): drag with left mouse button
  Move whole mask: drag with right mouse button
  Adding points: left click while holding ctrl key on a line segment
  Deleting points: right mouse click while holding ctrl key on a point
  or drag with right mouse button and pressed ctrl button a rubber band
  around the points (the remaining polygon must consist of at least
  three points, otherwise the deleting is canceled), the delete key
  deletes the selected points
  Deleting mask: use delete mask button, the mask is also delete with
  pressing the delete key when all or none point of the current mask are
  selected
 
  I hope this feature is helpful
 
  Thomas

 --
 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.comhugin-ptx%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/hugin-ptx


-- 
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

Re: [hugin-ptx] Re: Masking inside hugin

2010-02-15 Thread Jan Martin
This might be obvious to you, I ask nevertheless:
What is masking good for?

Thanks.

-- 
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