Author Topic: Shifting Pixels  (Read 3967 times)

Offline Robert Q. Kimball

  • Newcomer
  • Posts: 44
Shifting Pixels
« on: 2015 September 17 23:12:45 »
I have just returned from the Okie-Tex Star Party with lots of nice new data to process.  While I was at the "party" a fellow astronomer showed me how he processed data using AstroArt.  In the process he did something that was very strange but seemed to really work nicely.

During the process, he created a master flat. Then he pulled up a screen and told me was going to shift the data 1/2 a pixel and thus remove and color issues in the master flat.  (I may not be explaining this correctly)  After the procedure the flat seemed smoother.

Two questions: Does this make any sense?  Can it be done in PixInsight?

Bob

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Shifting Pixels
« Reply #1 on: 2015 September 18 01:23:00 »
Hi Robert!
Yes, the process ChannelMatch allows move of Pixels on subpixel level. (For example 0.1 Pixel or more)
I am using this for bringing in the DSLR/OSC flat the different color shoulders (in the raw Image)
more together to remove the Color imbalance

You simply move the X- and Y-Offset a little (below 0.5) and you have the
same result as with Astroart.

Gerald

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Shifting Pixels
« Reply #2 on: 2015 September 18 02:01:24 »
Forgot to add the processes.
http://www.werbeagentur.org/oldwexi/processesforpixelshift.xpsm

This includes 3 Processes
ConverttoRGB
ChannelMatch
ConverttoGray

As ChannelMatch works only with RGB Images you have to Change the RAW Gray Bayerimage to a fake RGB -
than do the Channelmatch
Than convert this corrected Image back to RAW Gray Image

When usig this processes have the Histogramm open so you can watch the Progress how the histogram bumps come together..

Gerald

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Shifting Pixels
« Reply #3 on: 2015 September 18 04:24:49 »
Gerald

Wouldn't this need to be done to all images for the set. The master dark, master bias and all lights before any pre-processing. Are you correcting a cfa issue I would think? If so it's a hardware issue that would be present in all images. I don't know, just a thought.


Mike
« Last Edit: 2015 September 18 05:55:29 by msmythers »

Offline oldwexi

  • PixInsight Guru
  • ****
  • Posts: 627
    • Astronomy Pages G.W.
Re: Shifting Pixels
« Reply #4 on: 2015 September 18 07:53:20 »
Hi Mike!
The flats, with foils or Skyflat, usually have another Color imbalance based
on the Input medium. The idea is to neutralize the imbalance of the Input medium (Sky, foil).
The lights calibrated at the beginning with neutral channel masterflat will be Color calibrated later on.
I preprocess the masterflat before  to keep them as RAW gray flats showing the histobumps together instead of separated.
And use the treated Master for calibration of lights. No preprocessing of the raw lights before calibration.

Gerald

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Shifting Pixels
« Reply #5 on: 2015 September 19 07:08:27 »
Hi

In astroart you half shift pixels to destroy the bayer matrix ( hence it looks smoother )

However you must not do this in pixinsight , Pix requires the use of raw OSC flats for correct calibration

colour problems are resolved in processing

Harry
Harry Page

Offline Robert Q. Kimball

  • Newcomer
  • Posts: 44
Re: Shifting Pixels
« Reply #6 on: 2015 September 19 08:04:33 »
Thank you Harry.  I have watched all your YouTube videos and enjoyed them. 

I guess the problem with Internet Forums is that when you ask a question you get convincing answers on both sides of the question.  Gerald seems to think it will work in PixInsight and has a process to do it.  You say not to do it.

I think for now I'm going to avoid this technique.

Bob

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Shifting Pixels
« Reply #7 on: 2015 September 19 08:22:15 »
Hi

I asked the question a few years back

http://pixinsight.com/forum/index.php?topic=1757.15


Harry
Harry Page

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: Shifting Pixels
« Reply #8 on: 2015 September 19 13:39:39 »
Harry,

That is why I brought up the need to do the same to the lights. You generate a pixel error between flats and lights during calibration if you don't do both. I still don't understand the need to completely color balance a flat before calibration. Any color imbalance in the stacked image should be able to be corrected during regular post processing.


Mike

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1458
    • http://www.harrysastroshed.com
Re: Shifting Pixels
« Reply #9 on: 2015 September 19 13:47:20 »
Hi

It is my understanding that the colour of flats is generally irrelevant as as long as there enough signal in each channel ( so whitish normally works )

as the post said each channel is treated separately .

I have never had a problem that can not be sorted in processing

Harry
Harry Page