Jump to content

NLCbanner2024.jpg.2478be509670e60c2d6efd04834b8b47.jpg

Cropping an image to line up with a cropped image


smr

Recommended Posts

Hi guys,

I'm processing an image and during the processing I'm doing I've saved a version of the image in RGB format.

I've then started processing the same image but in a greyscale format which I've spent the majority of the processing on, I cropped this image but not the RGB one, and now need paste the greyscale image onto the RGB one... but as the RGB wasn't cropped they aren't aligning.

Is there a way I can fix this? 

Link to comment
Share on other sites

There are specialist alignment packages.... like  REGISTAR  ( but it costs quite a bit)

Photoshop ( I think) has an alignment function  somewhere in its 'open-file'  options.   But it may not be doing what you want it to do.

Possibly (??)  you could put them through  DeepSkyStacker  or PIPP and get a re-aligned out put.......  maybe that might work.

A few years ago I bought REGISTAR because I became fed up with trying to align RGB and L  into layers.  Really difficult when images have shifted, twisted, warped and all sorts!!!

 

Hope this helps.

 

sean.

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, smr said:

Hi guys,

I'm processing an image and during the processing I'm doing I've saved a version of the image in RGB format.

I've then started processing the same image but in a greyscale format which I've spent the majority of the processing on, I cropped this image but not the RGB one, and now need paste the greyscale image onto the RGB one... but as the RGB wasn't cropped they aren't aligning.

Is there a way I can fix this? 

I use Nebulosity which you can use to align and stack the images then crop, if that's helps?

 

  • Like 1
Link to comment
Share on other sites

If you are using startools and have not closed the program then the crop size should be still kept to use on other images. In PI I always use DynamicCrop but save the process to drag and drop on all the images I will be using. Not sure if any of this is helpful.

Cheers,

  • Like 1
Link to comment
Share on other sites

Hi

Siril (it's open source) will do it with a choice of alignment methods.

2 files in the same folder e.g. astro1.fits and astro2.fits

In Siril register, but do not stack, the two images.

The registered images are saved with the same filename prefixed by r_

HTH

  • Like 1
Link to comment
Share on other sites

2 hours ago, alacant said:

Hi

Siril (it's open source) will do it with a choice of alignment methods.

2 files in the same folder e.g. astro1.fits and astro2.fits

In Siril register, but do not stack, the two images.

The registered images are saved with the same filename prefixed by r_

HTH

As it is free I'll try this, but not sure how to work it...

I've put both images in the same folder and clicked on to the Registration tab. Current working dir is the dir with the images, But it says Load a Sequence first? 

Link to comment
Share on other sites

4 minutes ago, tooth_dr said:

@smrAPP will do this, its free to download and use the trial version for a time frame.  If you upload them here now I'll do it for you, and post the aligned images.

Thanks, downloading it now. Thanks for the offer and I may need you to but if it doesn't take too long can you explain how to do it? Because one of the images I may need to retweak and go back a few steps on as I did a DD stretch on it a bit too aggressively I think.

Link to comment
Share on other sites

Just now, smr said:

Thanks, downloading it now. Thanks for the offer and I may need you to but if it doesn't take too long can you explain how to do it? Because one of the images I may need to retweak and go back a few steps on as I did a DD stretch on it a bit too aggressively I think.

APP is a little convoluted to get onto, but it works a treat.

0) choose a folder to save the images that will be produced in APP

1) load both images as 'lights' under tab 1

2) click on tab 3 and click 'analyse stars'

3) click on tab 4 and then click 'set reference'

4) choose the lum file from the list of two files at the bottom.  It will tell you that the reference file is updated

5) on same tab 4 click 'start registration

6) thats them registered

7) to save - double click on the first file and it will load up on the screen - on the right hand side turn off stretch and then click save

8), repeat for second file.

 

  • Thanks 1
Link to comment
Share on other sites

7 minutes ago, tooth_dr said:

APP is a little convoluted to get onto, but it works a treat.

0) choose a folder to save the images that will be produced in APP

1) load both images as 'lights' under tab 1

2) click on tab 3 and click 'analyse stars'

3) click on tab 4 and then click 'set reference'

4) choose the lum file from the list of two files at the bottom.  It will tell you that the reference file is updated

5) on same tab 4 click 'start registration

6) thats them registered

7) to save - double click on the first file and it will load up on the screen - on the right hand side turn off stretch and then click save

8), repeat for second file.

 

Thanks so I've got to the save part and I'm wondering what to choose for the colour profile, srgb 2.1, srgb 4.0 or adobe 1998, presumably not the latter but not sure as to which of the first...

 

Link to comment
Share on other sites

Ok I think I may not be doing this right, I've followed the steps as you suggested but both files are still coming out as their original crops.

Edited by smr
Link to comment
Share on other sites

8 minutes ago, smr said:

Ok I think I may not be doing this right, I've followed the steps as you suggested but both files are still coming out as their original crops.

Can u screen shot APP after you have completed tab 4

Edited by tooth_dr
Link to comment
Share on other sites

19 minutes ago, tooth_dr said:

Nope I realise what’s wrong. At the top middle there is a little drop down box. Change it to registered. Now double click the images and load up on screen and then save. 

Thanks will give it a go tomorrow day time.. I figured out another way to align them as well just now, in photoshop change the opacity of one of the layers after pasting one of the images on the other and then zoom into pixel level and align that way. I'd rather let a computer algorithm work it out though, will try the APP way tomorrow. Thanks for your help.

 

Edited by smr
Link to comment
Share on other sites

8 minutes ago, smr said:

Thanks will give it a go tomorrow day time.. I figured out another way to align them as well just now, in photoshop change the opacity of one of the layers after pasting one of the images on the other and then zoom into pixel level and align that way. I'd rather let a computer algorithm work it out though, will try the APP way tomorrow. Thanks for your help.

 

If it’s just a crop then I would line up in PS like you suggest.   I thought it might just a crop from your opening post. APP takes care of skewing and scaling etc so can be useful if data is from different nights or different camera or scope. 

Link to comment
Share on other sites

11 hours ago, smr said:

it says Load a Sequence first?

The sequence is the folder with your frames. Load it as the working directory then hit sequence, then registration.

HTH

Edited by alacant
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. By using this site, you agree to our Terms of Use.