Author Topic: Image integration, ignore black pixels  (Read 6892 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Image integration, ignore black pixels
« on: 2009 July 22 15:48:21 »
Hello.

I would like to convince the ImageIntegration process to ignore black pixels (i.e. pixels in registered images that black after StarAlignment because the unaligned images don#t have data in this region). This would allow to create mosaics. Can this be done? I think the MinMax rejection procedure does something different.

If possible, I would like to combine "Black Rejection" with the other rejection algorithms. An example of the images I would like to integrate is attached below.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: Image integration, ignore black pixels
« Reply #1 on: 2009 November 21 22:48:11 »
This would allow to create mosaics.
+100 Especially for mosaic.
Juan, please add "Zerro Rejection" in integration algorithms.

1.Images for draft mosaic.


2. Draft Mosaic just for registration images.


3. Registered images from one of sessions. (75% of pixel have zero.)


4. ImageIntegration Average from all sessions.


I think "Zerro Rejection" can solve many problem.
Best regards,
Nikolay.

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Image integration, ignore black pixels
« Reply #2 on: 2009 November 22 04:25:36 »
Hi Nikolay,
that's exactly what I had in mind. Good to know that I am not alone :).

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: Image integration, ignore black pixels
« Reply #3 on: 2009 November 22 06:22:45 »
Georg, it's features available in every other software and MaximDL too... So i not understand why "Ignore black pixel" not available in PixInsight until now...

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Image integration, ignore black pixels
« Reply #4 on: 2009 November 22 12:05:56 »
Hi Georg and Nikolay,

In first place, Georg, I'm sorry because I missed this thread. The next time I miss something, please strike me! :footinmouth:

Quote
features available in every other software and xxx too...

Aha, you certainly know how to punch me >:D

Edited: OK, I understand the problem. I'll try to implement this feature in ImageIntegration as soon as possible.

BTW, Nikolay, that's a wonderful mosaic!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Image integration, ignore black pixels
« Reply #5 on: 2009 November 22 23:21:32 »
Hi Juan,

no problem.  :)

I am happy that this was not just another example of my insane ideas   >:D

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: Image integration, ignore black pixels
« Reply #6 on: 2009 November 23 07:48:16 »
Juan, about ImageIntegration > Region Of Interest.
Possible to add button: "From Dynamic Crop"?
Now, without calculator, not ease to enter coordinates of black border.


PS Sorry for big pic.
« Last Edit: 2009 November 23 08:20:04 by NKV »

Offline Nocturnal

  • PixInsight Jedi Council Member
  • *******
  • Posts: 2727
    • http://www.carpephoton.com
Re: Image integration, ignore black pixels
« Reply #7 on: 2009 November 24 09:24:37 »
Hmm, aren't we mixing two different features here? I thought the original request was for image integration (ie. stacking) to reject black pixels so mosaics can be created from registered images. The other request asks for a modification how mosaic creation works, right?

As for the original request the problem I see is that the SNR of the overlapping regions will not be the same as for the regions that don't overlap. The reason is that you have more pixels to average where there's overlap. While there are advantages to having the higher SNR in the overlap areas I'm not sure the resulting mosaic will be what you'd want to have. When I stack with DSS I used to crop to just the area where every frame contributed. Luc implemented the intersection mode I asked him for and now the crop is no longer needed :)

Best,

    Sander
---
Edge HD 1100
QHY-8 for imaging, IMG0H mono for guiding, video cameras for occulations
ASI224, QHY5L-IIc
HyperStar3
WO-M110ED+FR-III/TRF-2008
Takahashi EM-400
PIxInsight, DeepSkyStacker, PHD, Nebulosity

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: Image integration, ignore black pixels
« Reply #8 on: 2010 February 09 01:17:58 »
I'm not sure the resulting mosaic will be what you'd want to have.
SNR... I collected 89x5min Canon 40D 135mm/f5 during many days. My mount is TT320, it's simple one drive and can track about 2 hours. And every 2 hour i must realign composition via DSLR viewfinder to approximate same region. So, I got QTY of very bad overlapped images...
What i should to do? Crop and use only central region or use more? Just look pictures.
Large filed VS SNR : I prefer larger field for big QTY of images. Now it's impossible, because features "Ignore Black" is not available in PixInsight ImageIntrgration.

The fields:



The corner and central region: Other soft  :) and PI (last one  :P ).
« Last Edit: 2010 February 09 03:19:00 by NKV »

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Image integration, ignore black pixels
« Reply #9 on: 2010 February 09 01:45:31 »
Sander,

...As for the original request the problem I see is that the SNR of the overlapping regions will not be the same as for the regions that don't overlap. The reason is that you have more pixels to average where there's overlap. While there are advantages to having the higher SNR in the overlap areas I'm not sure the resulting mosaic will be what you'd want to have. ...

I am aware of the problem of differrent SNR. However, the alternative is to throw away a large part of the images. I just want to have the capability to accept this, because otherwise I just have to throw away large parts of my drift images (which was the original use case for me). I guess NKV with his TT320 has a similar issues with having the central region only.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)