Coastal-Imaging-Research-Network / CIRN-Quantitative-Coastal-Imaging-Toolbox

The CIRN Introduction to Quantitative Coastal Imaging Toolbox is a collection of MATLAB scripts to produce geo-rectified images specifically tailored for quantitative analysis of coastal environments.
GNU General Public License v3.0
19 stars 7 forks source link

G2_pixelInstruments xTransect requiring single Y-coordinate #37

Open jjbirchler opened 1 year ago

jjbirchler commented 1 year ago

In G2_pixelInstruments, pixel instruments for xTransect and yTransect can be created. However, the y-coordinate and x-coordinate, respectively, for these must be a single constant value. For grids that have a localAngle rotation not aligned perfectly to the x/y grid or for beaches/coasts that aren't perfectly straight, this function cannot be utilized and one must go back to the old pixel toolbox way of creating pixel instruments.

example shown here for Isla Verde, Puerto Rico. Desired rotation angle causes beach/shoreline/coast not to be aligned with grid. Coast is slightly curved as well.

islaVerdec2_xTransect_yConstant_rectified islaVerdec2_xTransect_yConstant_oblique