danielbarry / OpenView

OpenView for NASA Images
0 stars 1 forks source link

Attempt Recover From Corruption #6

Open danielbarry opened 4 years ago

danielbarry commented 4 years ago

Reproduction

java dist/openview.jar -i c4369805.imq

Expected

Some attempt is made to re-corrupt the image.

Actual

No attempt is made.

danielbarry commented 4 years ago

There are two types of corruption:

  1. Data was incorrectly received.
  2. Data was not received at all.

Steps in attempting to solve this problem for corruption type 1:

  1. Attempt to find decompression failure using the decompress() method.
  2. Investigate a method of recovery making assumptions about what the pixel should have been. (The odn carry may hold the key to this.)

Steps in attempting to solve this problem for corruption type 2:

  1. Attempt to find decompression failure using the decompress() method.
  2. Inject spatially close data to allow future pixels in the row to decompress correctly.