Closed ailich closed 2 years ago
xy resolution is flipped. PA<- (x_res*w[1]) * (y_res*w[2]) should be PA<- (x_res*w[2]) * (y_res*w[1]) because width is x_resnumber of columns and height is y_resnumber of rows.
PA<- (x_res*w[1]) * (y_res*w[2])
PA<- (x_res*w[2]) * (y_res*w[1])
Now fixed 37be3fd
xy resolution is flipped.
PA<- (x_res*w[1]) * (y_res*w[2])
should bePA<- (x_res*w[2]) * (y_res*w[1])
because width is x_resnumber of columns and height is y_resnumber of rows.