Uploaded image for project: 'GeoTools'
  1. GEOT-5674

Add TransparencyFill process to unsupported/process-raster module


    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 15.4, 16.2, 17.0, 18-beta
    • Fix Version/s: 15.5, 16.3, 17.1, 18-beta
    • Component/s: process, unsupported
    • Labels:


      Reprojecting datasets as part of a pre-processing operation introduce distortions due to the warping. Moreover, datasets that are adjacent in their native space may be transformed to "tilted rectangles" once reprojected.
      The stepped edges of these transformed rectangles may not have a perfect matching on the borders since rasters have discrete pixels.

      Isolated transparent pixels (small dashed transparent lines) can be visible when mosaicking the reprojected datasets together.

      (A red background shows the transparent stripes)

      Whenever having some partial overlapping on input datasets before the warping is not possible, it would be great to have a process filling these transparent stripes.

      I have setup a transparencyFill raster process based on a custom JAI operation which scans the image (in case it contains some transparency) looking for horizontal/vertical 1 pixel-thickness stripes, and fill them with neighbour pixels (simple clone or average of the edge).

      Once stable and well tested, I will move it to a separate JAI operation in JAI-EXT project.




            • Assignee:
              dany111 Daniele Romagnoli
              dany111 Daniele Romagnoli
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: