I am working with Landsat 8 in ENVI. My image's dimensions are 8921 x 13131. I need to apply a forest mask to this image with dimensions of 8805 x 12321. I try to resize an image, but it doesn't work. (After that I need to calculate forest disturbance index for 2013 and subtract it from DI for 2000, so I really need an 2013 image (Landsat 8) to be resized).

I resize it using basic tool - spatial subset - subset using - file - and then pick my forest mask. However, as a result I get a file of 8806 x 12321 instead of 8805. If I adjust the number of samples manually, it gives me 8805. But then I try to apply a mask and that's what I get (see a screenshot). They just don't match. And when I try to overlay my mask (which I made based on Landsat 7 image) with my Landsat 8 image, those two images have different frames.

3 Answers
3

The extents are not exactly the same but this is normal. you should not change the number of pixels by changing their size (what resize does) but by changing the extent using subset by file (or by ROI if you want to have the minimum extent of the two images).

You may compare Landsat imagery and analyze it with ease via LandViewer. There are dozens of built-in tools available for image analysis and compare thousands of images with ease.
Here’s a brief guide to free satellite data that can be found on LandViewer

Avoid overt self-promotion. The community tends to vote down overt self-promotion and flag it as spam. Post good, relevant answers, and if some (but not all) happen to be about your product or website, that’s okay. However, you must disclose your affiliation in your answers.](genealogy.stackexchange.com/help/behavior). In practice this means any answer that recommends your own product must include something like "Disclosure: I am the [position] of [company] that develops/distributes this software/test".
– PolyGeo♦Aug 29 at 10:55