Jump to content

Stitching images?


Recommended Posts

I make home made scenery for my flight simulator. I have to edit 4 images which make up one complete "tile" for processing.

As it stands I can only edit and view each one separately. What I would like to do is have the option to view ALL 4 images stitched together to make the one complete "tile" so that it makes my editing easier. Any help gratefully accepted, thank you in advance.

 

Kindest regards, Michael.

Link to comment
Share on other sites

1. Create a New Image large enough for your finished tiled image. If it's too large you can always crop it down later if you wish.

 

2a. Click Layers | Import From File, select your 4 images and click Open.

or

2b. In Windows File Explorer select your 4 images and drag them into Paint.NET on top of the image created at 1. Click Add layers.

 

You now have a background image and 4 tile layers above it.

 

3. Select each layer in turn and drag the image into the correct location.

For help on using layers see the Documentation; click the :Help: icon top right or go directly here: https://www.getpaint.net/doc/latest/WorkingWithLayers.html

 

 

 

 

  • Upvote 1
Link to comment
Share on other sites

On 6/27/2023 at 5:12 PM, Tactilis said:

1. Create a New Image large enough for your finished tiled image. If it's too large you can always crop it down later if you wish.

 

2a. Click Layers | Import From File, select your 4 images and click Open.

or

2b. In Windows File Explorer select your 4 images and drag them into Paint.NET on top of the image created at 1. Click Add layers.

 

You now have a background image and 4 tile layers above it.

 

3. Select each layer in turn and drag the image into the correct location.

For help on using layers see the Documentation; click the ? icon top right or go directly here: https://www.getpaint.net/doc/latest/WorkingWithLayers.html

 

 

 

Thank you very much for the courtesy of your prompt reply. Unfortunately this doesn't do what I require in my scenery editing. I need to spend more time experimenting with the layers and other options, in the meantime kindest regards, Michael.

Link to comment
Share on other sites

11 hours ago, IZ0JUB said:

Unfortunately this doesn't do what I require in my scenery editing.


Could you post examples of 4 tiles that you want to stitch together so we can understand what needs to be done and can offer you more relevant advice.
Reduce the size of the images if necessary before posting.

Link to comment
Share on other sites

What @Tactilis instructed seems solid to me and the way to go. @Pixey's tutorial also gets you there. Just repeat the steps one additional time.

 

Are you trying to create a skybox? For example when the tiled images are displayed you have N, S, E, W? A 360 horizontal rotation would look like a single, seamless image? If thats the case you need a canvas size of 4x the width of the image, Height 1x. Place each image onto a separate layer and position each layer to create the tile effect. You can then go from one layer to the next and adjust the edges of the image to align and match the previous one. This is where the clone tool can save you a lot of time.

 

You could dump all the images into the one layer. But its easier to do future edits and changes having them on separate layers. But if thats what you want just open each image and copy then paste it into the 4x width canvas and arrange as needed.

Link to comment
Share on other sites

The below  image stitcher program (Microsoft Research Image Composite Editor) has always worked well for me. It has been retired and no longer available from

Microsoft, but you should be able to get it from the Web Archive at the following link:

https://web.archive.org/web/20180724063025/https://download.microsoft.com/download/7/3/9/73918E0B-C146-40FA-B18C-EADF03FEC4BA/ICE-2.0.3-for-64-bit-Windows.msi

  • Like 1
Link to comment
Share on other sites

I use Hugin panorama photo stitcher for stitching multiple photos together  https://hugin.sourceforge.io/

 

Although tiling is not it's primary purpose, there's a tutorial on 'Stitching flat scanned images' together here https://hugin.sourceforge.io/tutorials/index.shtml which you may be able to adapt to meet your needs depending on what your tiles are.

 

Hugin is a very powerful tool (look at the range of the tutorials) so there's a bit of a learning curve, but IMO it's worth it.

Link to comment
Share on other sites

I attach 4 images greatly reduced to upload them here.

 

At the moment I can only edit one at a time which can cause problems trying to match the water across all 4 images. I need the facility to "view" all 4 images at one time, image 1.1 is top left corner, 1.2 is bottom left corner, 2.1 is top right corner and 2.2 is bottom right corner.

 

Then after editing each of the 4 images I then need to save each one separately.

 

My scenery processing software then combines the 4 images to make one "tile" as ttc files.

 

I hope I have explained what I'm trying to achieve clearly to all those who have offered to help, thank you for your courtesy.

 

Kindest regards, Michael.

b_16_stitch_1_1.png

b_16_stitch_1_2.png

b_16_stitch_2_1.png

b_16_stitch_2_2.png

Edited by IZ0JUB
Link to comment
Share on other sites

Thank you for your prompt reply and time spent editing my images, much appreciated.

 

The images I'm working with are very large at 16896 x 16896 pixels over 500 MB and trying your original instructions I could not get it it work.

 

Thank you again for the courtesy of your help.

 

Kindest regards, Michael.

Link to comment
Share on other sites

On 6/30/2023 at 10:56 AM, IZ0JUB said:

The images I'm working with are very large at 16896 x 16896 pixels over 500 MB


You are dribbling out information bit by bit! It would have been helpful to have given information about the very large image size from the start.

A couple of questions:

1. I'm guessing that your source images are satellite/aerial imagery. What is the nature of the editing that you are wanting to do on each tile?

 

2. Could we see the specification of your PC please? Go to Settings | Diagnostics, click Copy to clipboard and paste the text from the start down to the line above the 'Managed assemblies' section here.

 

Link to comment
Share on other sites

Sorry about the "dribbling" it could be due to my age of 67 years!

 

I attach an image of my PC specifications. You are correct the satellite images are downloaded using AeroScenery software.

 

I ONLY want to edit the 4 images that make up the one scenery tile if the colours need editing for the waterways/sea.

 

Again thank you for your continued help and assistance.

 

Kindest regards, Michael.

my computer.JPG

Link to comment
Share on other sites

Application                                          paint.net 5.0.3 (Stable 5.3.8488.42200)
Build Date                                           29 March 2023
Install type                                         Classic

Language:                                            en-US
DPI                                                  96 (1.00x scale)
UI/Canvas GPU                                        True
Rendering GPU                                        🚀 Performance (NVIDIA GeForce GTX 960)
Remote session                                       False
Animations                                           True
Translucent windows                                  True
Windows Ink                                          True

OS                                                   Windows 10 Home x64 (10.0.19045.0)
Runtime                                              .NET 7.0.4 x64
Physical Memory                                      16,331 MB

CPU                                                  Intel(R) Pentium(R) CPU G2130 @ 3.20GHz
    Speed                                            ~3193 MHz
    Cores / Threads                                  2 / 2
    Features                                         SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2

Video Card                                           NVIDIA GeForce GTX 960
    Hardware Acceleration                            Supported
    Dedicated Video RAM                              4,047 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                8,165 MB
    Vendor ID                                        0x10DE
    Device ID                                        0x1401
    Subsystem ID                                     0x32051462
    Revision                                         161
    LUID                                             0x000095E7
    Flags                                            AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              DmaBufferBoundary
    Compute Preemption                               DmaBufferBoundary
    Outputs                                          1
    Feature Level                                    Level_12_1
    Features                                         Doubles, ComputeShadersEtc
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
    Maximum Bitmap Size                              16384

Video Card                                           Microsoft Basic Render Driver
    Hardware Acceleration                            N/A
    Dedicated Video RAM                              0 MB
    Dedicated System RAM                             0 MB
    Shared System RAM                                8,165 MB
    Vendor ID                                        0x1414
    Device ID                                        0x008C
    Subsystem ID                                     0x00000000
    Revision                                         0
    LUID                                             0x0000A148
    Flags                                            Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption                              InstructionBoundary
    Compute Preemption                               InstructionBoundary
    Outputs                                          0
    Feature Level                                    Level_12_1
    Features                                         Doubles, ComputeShadersEtc
    DXGI Formats                                     A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precisions                                UInt8Normalized, UInt8NormalizedSrgb, UInt16Normalized, Float16, Float32
    Maximum Bitmap Size                              8388608

Link to comment
Share on other sites

32 minutes ago, IZ0JUB said:

NVIDIA GeForce GTX 960
Intel(R) Pentium(R) CPU G2130
Physical Memory  16GB


Your PC looks underpowered for the task you are attempting:

- Circa 2015 graphics card
- Circa 2013 CPU

- (Guessing) a slow HDD rather than an SSD

16896 x 16896  x 4 bytes/pixel = 1GB+ per layer


4 tile layers + background = 5GB+ for the tiled image + history + apps usage + OS usage => swapping to disk => very slow


 

Link to comment
Share on other sites

2 hours ago, IZ0JUB said:

I ONLY want to edit the 4 images that make up the one scenery tile if the colours need editing for the waterways/sea.


Could you:
1. Edit one tile, adjusting the waterways/sea colours as needed.

2. Save the updated tile image.
3. Select and copy a narrow strip at the edge of that image to capture the area of sea that needs to fit against the adjacent tile.
4. Close the image.

5. Open the adjacent tile.

6. Paste the copied strip as a new layer on top of the opened background tile.

7. Move the strip layer to the correct place.

8. Edit the background tile to match the colours.

9. Delete the layer.

10. Save the tile image.

  • Upvote 1
Link to comment
Share on other sites

Thank you to all that tried to help, the "MS Image Composit Editor" courtesy of "Kreemoweet" will be a very useful tool in my scenery making so thanks again for the link. Best wishes to all, Michael.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...