Author Topic: Gradient Merge Mosaic Error  (Read 2198 times)

Offline Terry Danks

  • PixInsight Addict
  • ***
  • Posts: 137
Gradient Merge Mosaic Error
« on: 2018 May 22 16:19:03 »
I am getting an error message when trying to stitch two panels together:
"Current Image Width Differs From First Image Width."

When I cropped the images to be the same width, I get the same message except change the word width to height.

Makes no sense?

So, I made the two panels the identical size and height. No error message but all it did was overlay one entire image with another?
« Last Edit: 2018 May 22 16:38:58 by Terry Danks »

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Gradient Merge Mosaic Error
« Reply #1 on: 2018 May 22 16:41:15 »
how were the panels created? GMM wants to see images that are the size of the final image, each one with only a portion of the image "filled in".

rob

Offline Terry Danks

  • PixInsight Addict
  • ***
  • Posts: 137
Re: Gradient Merge Mosaic Error
« Reply #2 on: 2018 May 22 17:53:32 »
Thanks, Rob.

Seems it is an alignment issue?
I have 4 panels . . .

   3   1
   4   2

I used GMM to successfully merge panels 1 & 3. Then I successfully did 2 & 4.

The goal is to stitch these two together . . . but I can't align them. Should I have aligned all 4 together first?

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Gradient Merge Mosaic Error
« Reply #3 on: 2018 May 22 17:59:45 »
how did you prepare 1/3 ? staralignment against a synthetic star field? 1/3 would have had to have both been the size of 1+3 for it to have worked... so whatever you did, if you then repeat that with 1+3 and 4+2 as input images, you should end up with 2 images which are complements of one another as described above.

here is what i have been doing - use ImageSolver to solve each master image 1,2,3,4. then save them to disk and open up MosaicByCoordinates and load the saved 1,2,3,4. you can leave everything on Auto the first time. run MosaicByCoordinates and then take the resultant 4 files that MBC created and load them into GMM. this avoids all of the hassle of having to build up a single image that represents the FOV of the full mosaic.


rob

Offline Terry Danks

  • PixInsight Addict
  • ***
  • Posts: 137
Re: Gradient Merge Mosaic Error
« Reply #4 on: 2018 May 22 20:29:02 »
Whoa!!!  :surprised:
This is fantastic! Much easier.

Thanks so much Rob!

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: Gradient Merge Mosaic Error
« Reply #5 on: 2018 May 22 20:56:18 »
yeah MBC is awesome. Andres has really written some very useful tools for PI!

which reminds me, he also wrote a mosaic planner which is very cool too.

rob

Offline Sedat

  • Member
  • *
  • Posts: 63
  • Newbie
Re: Gradient Merge Mosaic Error
« Reply #6 on: 2018 June 04 06:16:19 »
For the life of me, I can't get GMM to like the registered  images  :embarassed:

The 2 images I feed GMM are exactly the same size but I'm still getting "Current image width differs from first image width." error.

I have used the MBC method as well but that didn't help either. I'm sure this is a pilot error but I cannot detect it :(

Would any of you please give it a try and let me know how to do this successfully. I have placed the files here --> https://www.dropbox.com/sh/na0prm151e4hanz/AAADMu__7uvJHWW0DcOcwqzRa?dl=0

This is a 12 pane mosaic but I'm working on the first two for learning purposes.

Any help will be greatly appreciated.

Many thanks

Sedat

Sedat

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Gradient Merge Mosaic Error
« Reply #7 on: 2018 June 04 06:41:23 »
Remove the thumbnails of the FITS images. ;)

Offline Sedat

  • Member
  • *
  • Posts: 63
  • Newbie
Re: Gradient Merge Mosaic Error
« Reply #8 on: 2018 June 04 06:55:03 »
Wow! You hit the nail on the head! Thank you so much Andres!
Sedat