Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread David W. Jones
On July 9, 2018 3:55:21 AM HST, Marcel Brouillet  wrote:
>
>
>It shows my ignorance on what is in the raw format and what tasks the
>raw 
>processor does. This being out of scope (not hugin related) let's not 
>clutter this list, but I'd appreciate a recommended reading to
>understand 
>what I'm missing, if you have a good one.
>
>Thanks you either way.
>
>
>Le lundi 9 juillet 2018 15:18:21 UTC+2, bugbear a écrit :
>>
>> How (on earth) does one perform spatial interpolation on raw data
>that 
>> hasn't been de-mosaic'd ?! 
>>
>
>-- 
>A list of frequently asked questions is available at:
>http://wiki.panotools.org/Hugin_FAQ
>--- 
>You received this message because you are subscribed to the Google
>Groups "hugin and other free panoramic software" group.
>To unsubscribe from this group and stop receiving emails from it, send
>an email to hugin-ptx+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/hugin-ptx/ca7dc5af-dfb7-4aca-952c-2914ea19b01b%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

Here's a start at Wikipedia:

https://en.m.wikipedia.org/wiki/Raw_image_format

David W. Jones
gnomeno...@gmail.com
wandering the landscape of god
http://dancingtreefrog.com

Sent from my Android device with F/LOSS K-9 Mail.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/9430BC44-34A8-47CF-89CF-10DF83596828%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread Gunter Königsmann
Also how should we handle bad pixels?

T. Modes  schrieb am Mo., 9. Juli 2018, 21:18:

> Am Montag, 9. Juli 2018 16:02:06 UTC+2 schrieb nadv...@suse.cz:
>>
>> It might be possible to convert the mosaic data to independent channels
>> with transparency:
>>
>> source:
>>
>> RGRGRG
>> GBGBGB
>> RGRGRG
>>
>> to:
>>
>> RTRTRT
>> TT
>> RTRTRT
>>
>> TGTGTG
>> GTGTGT
>> TGTGTG
>>
>> TT
>> TBTBTB
>> TT
>>
>>
>> I don't see any principal problem with processing such images with nona
>> and enblend.
>>
>
>
> If you do it this way each color will get different interpolation for each
> color (because different alpha channels) and this will results in color
> seams.
> The next problem is that after remapping the Bayer pattern is destroyed.
> With the destroyed Bayer pattern it because impossible (or at least very
> difficult) for the RAW converter to demosaic the data now to get the final
> image.
>
> (An alternative approach would be to demosaic the image data, then remap
> the data and then mosaic the data again to get the RAW again. But then you
> will loose resolution. So this is a no go.)
>
> --
> A list of frequently asked questions is available at:
> http://wiki.panotools.org/Hugin_FAQ
> ---
> You received this message because you are subscribed to the Google Groups
> "hugin and other free panoramic software" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to hugin-ptx+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/hugin-ptx/32144df2-94e0-4041-81f4-5fcd339e%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAMcFxV1q0xWU8A3eWZESUjsOrA8-ZjUk_KF%3DQ7hNkvy4THM0DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread T. Modes
Am Montag, 9. Juli 2018 16:02:06 UTC+2 schrieb nadv...@suse.cz:
>
> It might be possible to convert the mosaic data to independent channels 
> with transparency: 
>
> source: 
>
> RGRGRG 
> GBGBGB 
> RGRGRG 
>
> to: 
>
> RTRTRT 
> TT 
> RTRTRT 
>
> TGTGTG 
> GTGTGT 
> TGTGTG 
>
> TT 
> TBTBTB 
> TT 
>
>
> I don't see any principal problem with processing such images with nona 
> and enblend. 
>
 

If you do it this way each color will get different interpolation for each 
color (because different alpha channels) and this will results in color 
seams.
The next problem is that after remapping the Bayer pattern is destroyed. 
With the destroyed Bayer pattern it because impossible (or at least very 
difficult) for the RAW converter to demosaic the data now to get the final 
image.

(An alternative approach would be to demosaic the image data, then remap 
the data and then mosaic the data again to get the RAW again. But then you 
will loose resolution. So this is a no go.)

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/32144df2-94e0-4041-81f4-5fcd339e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread Vladimir Nadvornik
On 07/09/2018 03:18 PM, bugbear wrote:
> Marcel Brouillet wrote:
>> so merging RAW files seems to have sense to me.
> 
> How (on earth) does one perform spatial interpolation on raw data that
> hasn't been de-mosaic'd ?!
> 
>   BugBear
> 

Hi,

when I think about it...

It might be possible to convert the mosaic data to independent channels
with transparency:

source:

RGRGRG
GBGBGB
RGRGRG

to:

RTRTRT
TT
RTRTRT

TGTGTG
GTGTGT
TGTGTG

TT
TBTBTB
TT


I don't see any principal problem with processing such images with nona
and enblend.
And if you do stack of multiple images shifted by 1 pixel, the result
could even have higher resolution than input.

Vladimir





-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/4d684b69-77af-1031-508e-7228710704ce%40suse.cz.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread Marcel Brouillet


It shows my ignorance on what is in the raw format and what tasks the raw 
processor does. This being out of scope (not hugin related) let's not 
clutter this list, but I'd appreciate a recommended reading to understand 
what I'm missing, if you have a good one.

Thanks you either way.


Le lundi 9 juillet 2018 15:18:21 UTC+2, bugbear a écrit :
>
> How (on earth) does one perform spatial interpolation on raw data that 
> hasn't been de-mosaic'd ?! 
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/ca7dc5af-dfb7-4aca-952c-2914ea19b01b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread bugbear

Marcel Brouillet wrote:

so merging RAW files seems to have sense to me.


How (on earth) does one perform spatial interpolation on raw data that
hasn't been de-mosaic'd ?!

 BugBear

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/5B436098.5060609%40papermule.co.uk.
For more options, visit https://groups.google.com/d/optout.


[hugin-ptx] Re: RAW support with hugin ?

2018-07-09 Thread Marcel Brouillet
All the answers to this post assumed the raw processing is done before the 
stitching (which would work on TIFF/JPG… files). I totally agree on the 
objections.

However, does it make sense to* combine raw files into a raw output*, that 
can further be processed in rawtherapy ?

Distortions, stitching, etc could presumably be done on raw data arrays in 
an equal manner as they would be done on pixels. Not ? In practice, there 
could be a prior-conversion into jpeg with fixed (low-relevant) processing 
parameters, just to get the stitching parameters (PTO) and 
previsualisation, but the stitcher would work on RAW files. Would absolute 
data values for one shot not have the same reference as for a different 
shot, and consequently merging files has no sense ? I understood that 
precisely RAW format leave the normalizing to the processor, recording 
brute sensor data, so merging RAW files seems to have sense to me.

My question is just theoretic and blunt curiosity. I'm not spending, nor 
asking anyone to spend time on this. It seems like a huge work to rewrite a 
stitcher, especially ending up writing one for as many different raw 
formats as exist (re-using rawtherapy file-opening library, presumably). 
Does it make sense at all ?

(Brings me to the question to start with : *why do people want RAW support 
in Hugin* ? because they find the workflow a pain ? or for technical and 
image quality reasons ?)

Regards,
Marcel.

Le mardi 3 juillet 2018 09:14:43 UTC+2, Albert Szostkiewicz a écrit :
>
> I saw similar topic from 4 years ago without any conclusion. Is where a 
> reason why Hugin is not supporting RAW formats? Any plans for near future ?
>
>

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/25bdb15a-6758-4de3-a231-48820ad2a91c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.