Coastal-Imaging-Research-Network / cBathy-Toolbox

Routines needed to run cBathy + demos
https://github.com/Coastal-Imaging-Research-Network/cBathy-toolbox/wiki/cBathy-User-Manual
GNU General Public License v3.0
25 stars 23 forks source link

Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? #61

Closed sivaiahborra closed 2 years ago

sivaiahborra commented 4 years ago

Dear All, As I started newly working on CIRN-Quantitative-Coastal-Imaging-Toolbox, I have a query that how CIRN-Quantitative-Coastal-Imaging-Toolbox is connected to cBathy?. Currently , I am working on CIRN-Quantitative-Coastal-Imaging-Toolbox. Do I need to finish this in order to work with cBathy or is it individual? I mean I understood bit but, still have a confusion that is output of CIRN-Quantitative-Coastal-Imaging-Toolbox essential to run cBathy or can we run as it's own?

I came to know that some statistical image products such as timex, dark, bright and variance images will be produced, pixel instruments .mat file will also be created. So, do we use these outputs as inputs for cBathy?..

Thank you

lalafreguete commented 3 years ago

Have you solve your question yet? I got assistance from the Dr. Bruder and she showed that I was missing one step. What you need it to create a "struct" type variable which will have the XYZ, time stack, and time, I believe. the pixel instrument will contain some of those info. I don't if it is permitted here, but I can share here my snippet code that deals with it.

function [fn] = savestack(pixInst,outdir,info) % one T for all data. but what is it? ASSUME -- starts at info.time and % increments by 0.5 seconds. USER? Igray = pixInst(1).Igray; t = 0:size(Igray,3)-1; t = t .* 0.5; %%% assumption!!!! t = t + info.time; fn = []; for p =1:length(pixInst)

% This part removes nans in the image and puts an average instead
Igray = pixInst(p).Igray;
%Remove Nans
[r c tt]=size(Igray);
for k=1:r
    for j=1:c
        bind =find(isnan(Igray(k,j,:))==1);
        gind =find(isnan(Igray(k,j,:))==0);

        %sometimes this is a better filter
        %bind =find(Igray(k,j,:)<=10);
       %gind =find(Igray(k,j,:)>10);

        Igray(k,j,bind)=nanmean(Igray(k,j,gind));
    end
end

xyz=[pixInst(1).X(:) pixInst(1).Y(:) pixInst(1).Z(:)]; % Note these need to be in local coordinates!

m = size(Igray,1);
n = size(Igray,2);
tt = size(Igray,3);
data=zeros(tt,m*n);

[xindgrid,yindgrid]=meshgrid(1:n,1:m);
rowIND=yindgrid(:);
colIND=xindgrid(:);

for i=1:length(rowIND(:))
    data(:,i)=reshape(Igray(rowIND(i),colIND(i),:),tt,1);
end

info.type = string(pixInst(p).type); name = info.type; fn{p} = [argusFilename(info)]; filename = strcat(outdir,'output\',fn{p}); save( filename, 'data', 't','xyz', 'name', '-V7.3' );

end

sivaiahborra commented 3 years ago

No, I am not getting proper images of Grid, cross shore and along shore as output of G2_Pixelinstruments.m in the CIRN-Quantitative-Coastal-Imaging-Toolbox. I don't know exactly where i am doing mistake or which I need to improve those images as proper instead of black images. Do I need to improve my extrinsics to get these images properly? Please let me know if you done this part so that I can go ahead from this to cBathy.

Thank you.

lalafreguete commented 3 years ago

Uhn... Are you getting black images from the D_gridGenExampleRect as well? Are the pixInsts limits in the same range of the local coordinates that you have set for your rectification grid? Do you have images for exemplify it?

Regards

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, December 30, 2020 4:15 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Comment comment@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

No, I am not getting proper images of Grid, cross shore and along shore as output of G2_Pixelinstruments.m in the CIRN-Quantitative-Coastal-Imaging-Toolbox. I don't know exactly where i am doing mistake or which I need to improve those images as proper instead of black images. Do I need to improve my extrinsics to get these images properly? Please let me know if you done this part so that I can go ahead from this to cBathy.

Thank you.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-752403641&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C76e83676cb634370c5ae08d8acabe684%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637449201609658968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5ebP%2FcKsZnXXcxUt84hc83BlLqgnjkfL8f038ITNCes%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ4LUEMJQQ5W54ROET3SXL4V3ANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C76e83676cb634370c5ae08d8acabe684%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637449201609658968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2F1xc1Hlgg4ZAHxCWVf5O7W6eOoKlmYpRKE%2BLYcUCU18%3D&reserved=0.

sivaiahborra commented 3 years ago

No, I am getting images in both local and world coordinates from D_gridGenExampleRect.m but, getting black images from G2_pixelInstruments.m. here are my pixInsts limits set in D_gridGenExampleRect.m ixlim=[0 700]; iylim=[0 1000]; idxdy=2;

lalafreguete commented 3 years ago

These limits are just defining your Grid , in local coordinates. What are the limits you set for your pixInsts in G2? Those ones are the definition of coordinates in the generated Grid for the matrix and transects that will be used in cBathy algorithm. The CIRN toolbox's final product, one of them, is the timex matrix.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Friday, January 1, 2021 1:28:44 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Comment comment@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

No, I am getting images in both local and world coordinates from D_gridGenExampleRect.m but, getting black images from G2_pixelInstruments.m. here are my pixInsts limits set in D_gridGenExampleRect.m ixlim=[0 700]; iylim=[0 1000]; idxdy=2;

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-753278622&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C5964f04ac43b42bad55308d8ae26df1d%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637450829279484017%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=v8CIpKfXTL6nodYu0%2BprCnVT50NlgFmunDEIuoISyJA%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ4HQR5IM7JRTLICCTLSXV2SZANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C5964f04ac43b42bad55308d8ae26df1d%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637450829279494009%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ABz6jsQorJ4gUlowCio08PNjl4I%2F%2BzZnHJ284RExg1Q%3D&reserved=0.

sivaiahborra commented 3 years ago

Yes, Those limits are also under within the range of rectification of grid limits Here are my lines of codes from 162 to 201 in G2

% Example Grid % Enter the following parameters for a grid. Note, dx and dy do not % need to be equal. pixInst(1).type='Grid'; pixInst(1). dx =5; pixInst(1). dy =5; pixInst(1). xlim =[80 400]; pixInst(1). ylim =[450 900]; pixInst(1).z={}; % Leave empty if you would like it interpolated from input % Z grid or zFixedCam. If entered here it is assumed constant % across domain and in time.

%  VBar (Alongshore Transects)
%  Enter the following parameters for a vbar vector. 

**pixInst(2).type='yTransect';
pixInst(2).x= 225;
pixInst(2).ylim=[450 900];
pixInst(2).dy =.2;**
pixInst(2).z ={};  % Leave empty if you would like it interpolated from input
                % Z grid or zFixedCam. If entered here it is assumed constant
                % across domain and in time. 

%
% % % % Runup (Cross-shore Transects) % Enter the following parameters for a run up vector.

pixInst(3).type='xTransect';
pixInst(3).y= 600;
pixInst(3).xlim=[70 200];
pixInst(3).dx =.2;
pixInst(3).z ={};  % Leave empty if you would like it interpolated from input
                % Z grid or zFixedCam. If entered here it is assumed constant
                % across domain and in time. 

But, still, I am getting the black images.

sivaiahborra commented 3 years ago

Hi @lalafreguete, Any issue did you find in my code? Do I need to change anything else to get those images properly or any another codes like C, D or anywhere?

lalafreguete commented 3 years ago

From this code snippet I couldn't see any mistake. When do you run the D_gridGenExampleRect.m do you get the right results? That meaning, the rectified image in the chosen coordinates system?


From: sivaiahborra notifications@github.com Sent: Monday, January 4, 2021, 11:58 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox Cc: Freguete, Larissa; Mention Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Hi @lalafreguetehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flalafreguete&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C05d661d0f23243e447fb08d8b13ee7ce%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637454231047035388%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JjMXJhFv6jPm8axTuSZU9B8UJ%2BEZSzPi31VRZCdIjrY%3D&reserved=0, Any issue did you find in my code? Do I need to change anything else to get those images properly or any another codes like C, D or anywhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-754417419&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C05d661d0f23243e447fb08d8b13ee7ce%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637454231047045382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=v8rz2lRL0oDtomw7NIAQJl%2B7ax48imcK9ebWieKr46s%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ6BJ4BKPT6PKUIBSY3SYKS7ZANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C05d661d0f23243e447fb08d8b13ee7ce%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637454231047045382%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=rQ6N9PnTKm2p%2FNDr5VwWvCG8t5nEGnXcj%2Bq3xwrf7To%3D&reserved=0.

sivaiahborra commented 3 years ago

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. Screenshot (568)

Here are my outputs of D_gridGenExampleRect.m

Screenshot (570) Screenshot (569)

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

lalafreguete commented 3 years ago

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0 [Screenshot (569)]https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0.

sivaiahborra commented 3 years ago

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA .

lalafreguete commented 3 years ago

Then, since you have the gcp coordinates files, now you can restart all workflow and see how it goes.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 8:56:56 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755850512&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195980407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CgzgGqrphrDAZGP4XiJdRmjCuY8FFg%2FpvmiqFFkWxW0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ5MKH3SRXD6T6QZO3LSYUPHRANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195990402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roVWIcsfJdGCo%2F8YD7satsSMl%2B6Ebf9DVY9cGsiXiqg%3D&reserved=0.

sivaiahborra commented 3 years ago

Yahh. I am clicking the GCPs in B as per filed knowledge where it's collected then, making. GCPs related .txt file accordingly hierarchy of GCPs clicked in B inorder to run C. So, you want me reclick those locations again in B and continue the rest of codes?

On Fri, 8 Jan, 2021, 12:59 am lalafreguete, notifications@github.com wrote:

Then, since you have the gcp coordinates files, now you can restart all workflow and see how it goes.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 8:56:56 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0 , or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755850512&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195980407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CgzgGqrphrDAZGP4XiJdRmjCuY8FFg%2FpvmiqFFkWxW0%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ5MKH3SRXD6T6QZO3LSYUPHRANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195990402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roVWIcsfJdGCo%2F8YD7satsSMl%2B6Ebf9DVY9cGsiXiqg%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756331115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4TX22WOUPBQCAKIOG3SYYDTHANCNFSM4QFCJXPA .

lalafreguete commented 3 years ago

Another thing I would think that could be a problem, and that is why there a big error in the reprojected UVd, is the camera calibration values. I had to do some calibrations with mine in the lab to get a good value for the camera IO.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Thursday, January 7, 2021 1:49 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I am clicking the GCPs in B as per filed knowledge where it's collected then, making. GCPs related .txt file accordingly hierarchy of GCPs clicked in B inorder to run C. So, you want me reclick those locations again in B and continue the rest of codes?

On Fri, 8 Jan, 2021, 12:59 am lalafreguete, notifications@github.com wrote:

Then, since you have the gcp coordinates files, now you can restart all workflow and see how it goes.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 8:56:56 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0 , or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755850512&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195980407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CgzgGqrphrDAZGP4XiJdRmjCuY8FFg%2FpvmiqFFkWxW0%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ5MKH3SRXD6T6QZO3LSYUPHRANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195990402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roVWIcsfJdGCo%2F8YD7satsSMl%2B6Ebf9DVY9cGsiXiqg%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756331115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4TX22WOUPBQCAKIOG3SYYDTHANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-756343329&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3ubCGFGPOqL98XDESsFXL1LPBnD3ypilywv%2FvzOTrF4%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ7B4AX2S7RV7OBST6DSYYF4LANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ew%2F%2B3rfqFAZcljcTDxEGWrLqCL88ry5ZNeVoU3PNVcw%3D&reserved=0.

sivaiahborra commented 3 years ago

Ok. I got around 1 to 1.5 error in both x and y while doing camera calibration.

On Fri, 8 Jan, 2021, 5:37 am lalafreguete, notifications@github.com wrote:

Another thing I would think that could be a problem, and that is why there a big error in the reprojected UVd, is the camera calibration values. I had to do some calibrations with mine in the lab to get a good value for the camera IO.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Thursday, January 7, 2021 1:49 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I am clicking the GCPs in B as per filed knowledge where it's collected then, making. GCPs related .txt file accordingly hierarchy of GCPs clicked in B inorder to run C. So, you want me reclick those locations again in B and continue the rest of codes?

On Fri, 8 Jan, 2021, 12:59 am lalafreguete, notifications@github.com wrote:

Then, since you have the gcp coordinates files, now you can restart all workflow and see how it goes.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 8:56:56 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0

, or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755850512&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195980407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CgzgGqrphrDAZGP4XiJdRmjCuY8FFg%2FpvmiqFFkWxW0%3D&reserved=0 , or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ5MKH3SRXD6T6QZO3LSYUPHRANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195990402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roVWIcsfJdGCo%2F8YD7satsSMl%2B6Ebf9DVY9cGsiXiqg%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756331115 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOKXS4TX22WOUPBQCAKIOG3SYYDTHANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-756343329&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3ubCGFGPOqL98XDESsFXL1LPBnD3ypilywv%2FvzOTrF4%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ7B4AX2S7RV7OBST6DSYYF4LANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ew%2F%2B3rfqFAZcljcTDxEGWrLqCL88ry5ZNeVoU3PNVcw%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756462627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4QRPZ47SJMXLAFZAILSYZEE5ANCNFSM4QFCJXPA .

lalafreguete commented 3 years ago

My suggestion is to go over the B_gcpSelection and C_singleExtrinsicSolution because it seems the solutions for reprojecting your gcps in image coordinate are not very accurate.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Thursday, January 7, 2021 9:10 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Ok. I got around 1 to 1.5 error in both x and y while doing camera calibration.

On Fri, 8 Jan, 2021, 5:37 am lalafreguete, notifications@github.com wrote:

Another thing I would think that could be a problem, and that is why there a big error in the reprojected UVd, is the camera calibration values. I had to do some calibrations with mine in the lab to get a good value for the camera IO.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Thursday, January 7, 2021 1:49 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I am clicking the GCPs in B as per filed knowledge where it's collected then, making. GCPs related .txt file accordingly hierarchy of GCPs clicked in B inorder to run C. So, you want me reclick those locations again in B and continue the rest of codes?

On Fri, 8 Jan, 2021, 12:59 am lalafreguete, notifications@github.com wrote:

Then, since you have the gcp coordinates files, now you can restart all workflow and see how it goes.

Get Outlook for Androidhttps://aka.ms/ghei36


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 8:56:56 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh. I actually collected GCPs in within the filed of view by using A GPS, then transformed into utm and then gave that file as GCPs file in the code.

On Thu, 7 Jan, 2021, 2:23 am lalafreguete, notifications@github.com wrote:

UHn... It seems that you will need to change things since the B_gcpSelection phase. From the image 568 I am understanding that those were points you considered as ground control points. But you need to pick points with a known real world coordinates and which do not move, otherwise the conversion of these points into image coordinates will be affected. That might be what is causing most of your problems.

Larissa Marques Freguete, M.S.

Graduate Research Assistant

Measurement Analytics (MANTIS) Lab

Conrad Blucher Institute for Surveying Science

Texas A&M University - Corpus Christi

NRC 3401

lfreguete@islander.tamucc.edu

[mantis_logo]https://mantisresearch.org/


From: sivaiahborra notifications@github.com Sent: Wednesday, January 6, 2021 12:36 AM To: Coastal-Imaging-Research-Network/cBathy-Toolbox < cBathy-Toolbox@noreply.github.com> Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention < mention@noreply.github.com> Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Yahh it seems everything perfect but, that images are changing as i am fixing and unfixing values in C_singleExtrinsicSolution.m to improve the reprojected UVd as shown in below image. [Screenshot (568)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103735668-8a9c5000-5014-11eb-80a5-232aeb5f0612.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147560045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=iql97xTqe7bKoRyepssUm2pB0LiV3m%2FJ5dDJ9BPZZxQ%3D&reserved=0

Here are my outputs of D_gridGenExampleRect.m

[Screenshot (570)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736032-62f9b780-5015-11eb-9013-0c78198064fd.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HuYCY8No8yBLp2W6fam%2FJWk9K%2BgDwaJ61DQ0ViLt86I%3D&reserved=0

[Screenshot (569)]<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F60127602%2F103736035-64c37b00-5015-11eb-9621-4be2ac490b0b.png&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147570039%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=xRRbIelRmpuyNa0a5k7rTRi2P7YsJdsXel84jhLLOqM%3D&reserved=0

Just for your reference, I can paste of both C and D. I was thinking that improvement of extrinsics can create proper images of G2.

Thank you

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755113964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M1UkdmmvK%2FdFdPNHshJJtaLSYTzrP8LtVFeeEYIE7I0%3D&reserved=0

, or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ43B4B6X6UU6OCEKODSYQAIDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C430887913e224646284b08d8b20d7322%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455118147580037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XAjOVcwitNoZ%2BvYXb4pOh1GsdrrzcBkOOnibGlNWkgY%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-755678989

, or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AOKXS4WBKVPWY5LXFMJ3OIDSYTEWBANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-755850512&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195980407%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=CgzgGqrphrDAZGP4XiJdRmjCuY8FFg%2FpvmiqFFkWxW0%3D&reserved=0 , or unsubscribe<

https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ5MKH3SRXD6T6QZO3LSYUPHRANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C685e97c621664208355308d8b2b7e564%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637455850195990402%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=roVWIcsfJdGCo%2F8YD7satsSMl%2B6Ebf9DVY9cGsiXiqg%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756331115 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOKXS4TX22WOUPBQCAKIOG3SYYDTHANCNFSM4QFCJXPA

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-756343329&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3ubCGFGPOqL98XDESsFXL1LPBnD3ypilywv%2FvzOTrF4%3D&reserved=0>, or unsubscribe< https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ7B4AX2S7RV7OBST6DSYYF4LANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C679ead9c472d491db65a08d8b34556ba%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456457719576649%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ew%2F%2B3rfqFAZcljcTDxEGWrLqCL88ry5ZNeVoU3PNVcw%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-756462627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4QRPZ47SJMXLAFZAILSYZEE5ANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-756519022&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7Cdf8576f7f757427d51c308d8b382e5f6%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456722111022241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=uH69LH4hA0umZAyEagO4eEu2hCCbTLwH8%2FlQqgly5%2F8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ6ZUA4B6FHQM6CEQYTSYZZQ3ANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7Cdf8576f7f757427d51c308d8b382e5f6%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637456722111022241%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ejQnR1keXtivfH2d%2BmEvgvWEBXnRdBjbwhTUig7aJ3k%3D&reserved=0.

sivaiahborra commented 3 years ago

Dear @lalafreguete, I did a mistake in G2_pixelInstruments.m that I gave localFlag=0 instead of localFlag=1. Now I got the results of G2 are as follows.

Grid_x_y Grid y_transect x_transect

Hope I can go ahead with these results to deal with cBathy however, I still have to improve my reprojected UVds by doing camera calibration once again. I hope your hand most helpful to me finish cBathy. Suggest me to go ahead with cBathy. Thank you for your time.

sivaiahborra commented 3 years ago

Dear @lalafreguete, Can you let me know that how to go ahead with cBathy as initial. I mean from where and which script I have to start by using output of G2 in QCIT?

Thank you.

lalafreguete commented 3 years ago

From a former post, on 3rd December, you can find a code snippet that I use for my case. But the simpler way of solving it would be using the pixInst to create the timex for the cBathy toolbox. As said before, this code was shared with me by Dr. Bruder and it is the following: %% This part removes nans in the image and puts an average instead Igray = pixInst(1).Igray; %% Remove Nans [r c tt]=size(Igray); for k=1:r for j=1:c bind =find(isnan(Igray(k,j,:))==1); gind =find(isnan(Igray(k,j,:))==0);

    %sometimes this is a better filter
    %bind =find(Igray(k,j,:)<=10);
   %gind =find(Igray(k,j,:)>10);

    Igray(k,j,bind)=nanmean(Igray(k,j,gind));
end

end

xyz=[pixInst(1).X(:) pixInst(1).Y(:) pixInst(1).Z(:)];% Note these need to be in local coordinates!

m = size(Igray,1); n = size(Igray,2); tt = size(Igray,3); data=zeros(tt,m*n);

[xindgrid,yindgrid]=meshgrid(1:n,1:m); rowIND=yindgrid(:); colIND=xindgrid(:);

for i=1:length(rowIND(:)) data(:,i)=reshape(Igray(rowIND(i),colIND(i),:),tt,1); end

sivaiahborra commented 3 years ago

Dear @lalafreguete, Sorry, Is this the only enough snippet of code did you use for extracting bathymetry for Grid derived from pixel instruments (G2) of OCIT? if so, can we use this code also for doing the same what's done by cBathy. if not, please do let me know that how to start cBathy by using the input called pixel instruments derived from QCIT(G2) however, I have been reading the user manual of cBathy

Thank you

lalafreguete commented 3 years ago

From the cbathy toolbox you can use the democBathy or either the cBathyDemoWithPlots.m The matrix "data" that is generated by that code is the stack file that you input in the cBathy script.

sivaiahborra commented 3 years ago

Ok then, First, I need to place the pixelinstruments.mat in place where I am running cBathy or any other specific place. what necessary changes to be done other than adding matrix data to run democbathy.m? I mean where and what all scripts to be changed and where the matrix data to be exactly placed before run either democBathy.m or cBathyDemoWithPlots.m

Please do let me know since it has many scripts and functions interlinking one another and I am quite confuse at following the sequence of running scripts however reading the doc of cBathy and getting the info slowly.

On Tue, 12 Jan, 2021, 11:39 pm lalafreguete, notifications@github.com wrote:

From the cbathy toolbox you can use the democBathy or either the cBathyDemoWithPlots.m The matrix "data" that is generated by that code is the stack file that you input in the cBathy script.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-758840577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4Q7JINDVE2V5VVSKQLSZSF6VANCNFSM4QFCJXPA .

lalafreguete commented 3 years ago

You don't need any change when runnnig the demoCbathy, as I can recall. You just need to work on the files argus02a.m or argus02b.m. Those have the bathy structure setting and you need to change it in your case. Best praactice, in my view, would be creating anew one for yourself.


From: sivaiahborra notifications@github.com Sent: Tuesday, January 12, 2021 1:44 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Ok then, First, I need to place the pixelinstruments.mat in place where I am running cBathy or any other specific place. what necessary changes to be done other than adding matrix data to run democbathy.m? I mean where and what all scripts to be changed and where the matrix data to be exactly placed before run either democBathy.m or cBathyDemoWithPlots.m

Please do let me know since it has many scripts and functions interlinking one another and I am quite confuse at following the sequence of running scripts however reading the doc of cBathy and getting the info slowly.

On Tue, 12 Jan, 2021, 11:39 pm lalafreguete, notifications@github.com wrote:

From the cbathy toolbox you can use the democBathy or either the cBathyDemoWithPlots.m The matrix "data" that is generated by that code is the stack file that you input in the cBathy script.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-758840577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4Q7JINDVE2V5VVSKQLSZSF6VANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-758892173&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C4cc0245dbacf486c137208d8b732733a%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637460774624252911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3QTPrbC%2B%2FrkguEfRgc0EfnsmjzDAJoSSWw%2FYm7a%2F13k%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJ2BIU3JI2JGHC4G6VLSZSRBDANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C4cc0245dbacf486c137208d8b732733a%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637460774624252911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IfLOGMfNSazt%2FZMiGPamoyDsAlk%2FDBTA7cUAysMtvZ8%3D&reserved=0.

sivaiahborra commented 3 years ago

Hi @lalafreguete, I am getting dimensional error while I was running democBathy.m by keeping argus02a.m and argus02b.m as it is (without any chages) after I download cBathy toolbox. after analyzing error, I came to know that the .mat file (testStack102210Duck.mat) used in toolbox has xyz, t and data but, my pixelinstrumets.mat file derived from QCIT has pixInst, rectMeta and t. so, Do I need to make a .mat file which contains xyz, t and data from pixelinstrumets.mat file by using code you shown above? If so, in the first line function [fn] = savestack(pixInst,outdir,info). pixInst is available from pixelinstrumets.mat but, what about variables outdir and info.

lalafreguete commented 3 years ago

This savestack function was created for my case. So there are more details included on that you don't need to use it. Just follow the idea from the last posted code snippet. And, yes! Follow the sane data structure existing in the testStack102210Duck.mat. That code snippet should give you that.

sivaiahborra commented 3 years ago

Dear @lalafreguete, I got xyz, t and data in above said .mat file from pixInst by applying code you shown. Initially I am trying to run democbathy.m for given demo data instead of my own data but, I am getting following error. Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Do I need to change in argus02a.m or argus02b.m based on my pix Inst results by QCIT?

RobHolman commented 3 years ago

I believe that line should be commented out. It pertains to CIL-specific file names and is no longer used.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Jan 13, 2021, at 11:09 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Dear @lalafreguete, I got xyz, t and data in above said .mat file from pixInst by applying code you shown. Initially I am trying to run democbathy.m for given demo data instead of my own data but, I am getting following error. Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Do I need to change in argus02a.m or argus02b.m based on my pix Inst results by QCIT?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

sivaiahborra commented 3 years ago

Dear Rob, I am just running democBathy.m along with default data (testStack102210Duck.mat) given along with the toolbox. but, i am getting the following error. What I understood is it's kind of dimensional error and have to do some changes in argus02a.m but, unable since based on which such changes to be done in argus02a.m.

Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Now I am with my own cbathyarray to run cBathy. but, initially I wanted to run it with example data given along with it then try the same with my data. but, got that above said error while running democBathy.m or cBathyDemoWithPlots.m

Please do let me know how to fix this issue. Thank you.

*Thanks & *Regards B. Sivaiah Research Scholar Dept. of Meteorology & Oceanography Andhra University Visakhapatnam - 530003 INDIA - 91-9676155827

On Fri, Jan 15, 2021 at 12:23 AM Rob Holman notifications@github.com wrote:

I believe that line should be commented out. It pertains to CIL-specific file names and is no longer used.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Jan 13, 2021, at 11:09 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Dear @lalafreguete, I got xyz, t and data in above said .mat file from pixInst by applying code you shown. Initially I am trying to run democbathy.m for given demo data instead of my own data but, I am getting following error. Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Do I need to change in argus02a.m or argus02b.m based on my pix Inst results by QCIT?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-760399213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4QSCSMDI6NTIJKF72DSZ44RHANCNFSM4QFCJXPA .

lalafreguete commented 3 years ago

Hey, Ms. Borra.

I had this same type of error in my first trial with the demo. The problem is related to the str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])]; code line. It just happened that the bathy.SName has not the same lenght as it is been indexed in this line. You can print this variable inside the bathy struct and see the current dimension and work with that dimension range.


From: sivaiahborra notifications@github.com Sent: Monday, January 18, 2021 11:43 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Dear Rob, I am just running democBathy.m along with default data (testStack102210Duck.mat) given along with the toolbox. but, i am getting the following error. What I understood is it's kind of dimensional error and have to do some changes in argus02a.m but, unable since based on which such changes to be done in argus02a.m.

Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Now I am with my own cbathyarray to run cBathy. but, initially I wanted to run it with example data given along with it then try the same with my data. but, got that above said error while running democBathy.m or cBathyDemoWithPlots.m

Please do let me know how to fix this issue. Thank you.

*Thanks & *Regards B. Sivaiah Research Scholar Dept. of Meteorology & Oceanography Andhra University Visakhapatnam - 530003 INDIA - 91-9676155827

On Fri, Jan 15, 2021 at 12:23 AM Rob Holman notifications@github.com wrote:

I believe that line should be commented out. It pertains to CIL-specific file names and is no longer used.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Jan 13, 2021, at 11:09 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Dear @lalafreguete, I got xyz, t and data in above said .mat file from pixInst by applying code you shown. Initially I am trying to run democbathy.m for given demo data instead of my own data but, I am getting following error. Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Do I need to change in argus02a.m or argus02b.m based on my pix Inst results by QCIT?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-760399213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4QSCSMDI6NTIJKF72DSZ44RHANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-762614964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C3aca4fe541c340d9554c08d8bc3d22ee%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637466318133026043%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oaGVZcBVsoaEoqczFHk5Pt34eC8zX8Q2GZf3cpofZBw%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJZEVPYLRZXPJTD5AQDS2ULXXANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C3aca4fe541c340d9554c08d8bc3d22ee%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637466318133036037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5i7bj6vsXEEGWx3pgyID9sqT7WEwo6%2FXqL3Uij%2F%2BKUM%3D&reserved=0.

RobHolman commented 3 years ago

As I mentioned before, you can just comment out this line. I don’t think this variable is ever used.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Jan 19, 2021, at 10:02 AM, lalafreguete notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Hey, Ms. Borra.

I had this same type of error in my first trial with the demo. The problem is related to the str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])]; code line. It just happened that the bathy.SName has not the same lenght as it is been indexed in this line. You can print this variable inside the bathy struct and see the current dimension and work with that dimension range.


From: sivaiahborra notifications@github.com Sent: Monday, January 18, 2021 11:43 PM To: Coastal-Imaging-Research-Network/cBathy-Toolbox cBathy-Toolbox@noreply.github.com Cc: Freguete, Larissa lfreguete@islander.tamucc.edu; Mention mention@noreply.github.com Subject: Re: [Coastal-Imaging-Research-Network/cBathy-Toolbox] Connection between CIRN-Quantitative-Coastal-Imaging-Toolbox and cBathy? (#61)

Dear Rob, I am just running democBathy.m along with default data (testStack102210Duck.mat) given along with the toolbox. but, i am getting the following error. What I understood is it's kind of dimensional error and have to do some changes in argus02a.m but, unable since based on which such changes to be done in argus02a.m.

Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Now I am with my own cbathyarray to run cBathy. but, initially I wanted to run it with example data given along with it then try the same with my data. but, got that above said error while running democBathy.m or cBathyDemoWithPlots.m

Please do let me know how to fix this issue. Thank you.

*Thanks & *Regards B. Sivaiah Research Scholar Dept. of Meteorology & Oceanography Andhra University Visakhapatnam - 530003 INDIA - 91-9676155827

On Fri, Jan 15, 2021 at 12:23 AM Rob Holman notifications@github.com wrote:

I believe that line should be commented out. It pertains to CIL-specific file names and is no longer used.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Jan 13, 2021, at 11:09 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Dear @lalafreguete, I got xyz, t and data in above said .mat file from pixInst by applying code you shown. Initially I am trying to run democbathy.m for given demo data instead of my own data but, I am getting following error. Index exceeds matrix dimensions.

Error in analyzeBathyCollect (line 55) str = [bathy.sName(16:21) ', ' bathy.sName(36:39) ', ' bathy.sName([23 24 26 27])];

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

Do I need to change in argus02a.m or argus02b.m based on my pix Inst results by QCIT?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-760399213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4QSCSMDI6NTIJKF72DSZ44RHANCNFSM4QFCJXPA .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FCoastal-Imaging-Research-Network%2FcBathy-Toolbox%2Fissues%2F61%23issuecomment-762614964&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C3aca4fe541c340d9554c08d8bc3d22ee%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637466318133026043%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=oaGVZcBVsoaEoqczFHk5Pt34eC8zX8Q2GZf3cpofZBw%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FARNTAJZEVPYLRZXPJTD5AQDS2ULXXANCNFSM4QFCJXPA&data=04%7C01%7Clfreguete%40islander.tamucc.edu%7C3aca4fe541c340d9554c08d8bc3d22ee%7C34cbfaf167a64781a9ca514eb2550b66%7C0%7C0%7C637466318133036037%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=5i7bj6vsXEEGWx3pgyID9sqT7WEwo6%2FXqL3Uij%2F%2BKUM%3D&reserved=0. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

sivaiahborra commented 3 years ago

Dear @RobHolman, @lalafreguete I just commented the line of code and run. It gave me some results without throwing me any errors. bathy

So, now I will try with my pix Instruments.

Thank you for your time.

sivaiahborra commented 3 years ago

dear @lalafreguete I am getting the results as shown in above post when I comment line 55 in analyzeBathyCollect. So now what my query is Based on my which results from QCIT exactly, I have to fill the details such as site-specific inputs and other inputs in argus02a.m How to create a .mat file (like 19-Oct-2010FEFGridded.mat in cBathy) with my existing bathymetry data in a region for comparison of bathymetry and do I need to change anything else in democBathy.m and its functions to run with my own data?

Thank you.

RobHolman commented 3 years ago

Have you read the user manual. A version is attached below.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Feb 2, 2021, at 9:34 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

dear @lalafreguete I am getting the results as shown in above post when I comment line 55 in analyzeBathyCollect. So now what my query is Based on my which results from QCIT exactly, I have to fill the details such as site-specific inputs and other inputs in argus02a.m How to create a .mat file (like 19-Oct-2010FEFGridded.mat in cBathy) with my existing bathymetry data in a region for comparison of bathymetry and do I need to change anything else in democBathy.m and its functions to run with my own data?

Thank you.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sivaiahborra commented 3 years ago

Dear @RobHolman,

Are you asking me about README.md? If that's so, I have been through that and what I understood is democBathy.m needs stack and tide info and runs to create results of phase 1(fDependent) and 2(fCombined) of cBathy by using default data (testStack102210Duck.mat) then, demoKalmanFiltering.m runs to give the results of phase 3 (Kalman filtering) by taking the input (102210cBathys)and gives the output (102210cBathysSmoothed). Later, I started running democBathy.m by just replacing testStack102210Duck.mat with my own data. I got the following error.

Undefined function or variable 'matlab2Epoch'.

Error in analyzeBathyCollect (line 31) epoch = matlab2Epoch(epoch);

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

After having a look on the error, I came to know that the error in epoch value in line 30 of analyzeBathyCollect.m. My t value in .mat file value is around 7.3810 e+05 but in code it is mentioned that if epoch(1) < 10^8, then i changed to epoch value accordingly my t value i.e. if epoch(1) < 10^5, then this error got fixed and code is being run. but, I am getting the results as follows.

Screenshot (578)

Note: I have made pixinstruments with 5 min duration of video as test case, Does it effect anything? I also noticed few zeros in data variable in my testStack102210Duck.mat file. Please let me know what might be the error I am doing.

RobHolman commented 3 years ago

Was there a cBathy manual attached to my message? It looks like it is being stripped out of the CIRN chats. Send me an email direct to holman@coas.oregonstate.edu.

matlab2Epoch is in the support-routines toolbox.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Feb 8, 2021, at 10:23 PM, sivaiahborra notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

Dear @RobHolman,

Are you asking me about README.md? If that's so, I have been through that and what I understood is democBathy.m needs stack and tide info and runs to create results of phase 1(fDependent) and 2(fCombined) of cBathy by using default data (testStack102210Duck.mat) then, demoKalmanFiltering.m runs to give the results of phase 3 (Kalman filtering) by taking the input (102210cBathys)and gives the output (102210cBathysSmoothed). Later, I started running democBathy.m by just replacing testStack102210Duck.mat with my own data. I got the following error.

Undefined function or variable 'matlab2Epoch'.

Error in analyzeBathyCollect (line 31) epoch = matlab2Epoch(epoch);

Error in analyzeSingleBathyRunNotCIL (line 33) bathy = analyzeBathyCollect(xyz, t, data, cam, bathy);

Error in democBathy (line 10) bathy = analyzeSingleBathyRunNotCIL(stackName, stationStr);

After having a look on the error, I came to know that the error in epoch value in line 30 of analyzeBathyCollect.m. My t value in .mat file value is around 7.3810 e+05 but in code it is mentioned that if epoch(1) < 10^8, then i changed to epoch value accordingly my t value i.e. if epoch(1) < 10^5, then this error got fixed and code is being run. but, I am getting the results as follows.

Note: I have made pixinstruments with 5 min duration of video as test case, Does it effect anything? I also noticed few zeros in data variable in my testStack102210Duck.mat file. Please let me know what might be the error I am doing.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sivaiahborra commented 3 years ago

dear @lalafreguete As i am running cBathy, Intially I got an error (line 30 of analyzeBathyCollect.m.) with matlab2Epoch shown above, My t value in data in testStack102210Duck.mat file is around 7.3810 e+05 but in code it is mentioned that if epoch(1) < 10^8 (line 30 in analyzeBathyCollect.m), then i changed to epoch value accordingly my t value i.e. if epoch(1) < 10^5 since my t values are 7.3810 e+05 , then this error got fixed and code is being run. but, I am getting the results as follows shown in above images. I commented the lines from (14 to 21) to not to plot CRAB data since I am not ready with my surveyed bathymetry in the region. Now I just want to get bathymetry from Pixinst, it's giving me kind of blank images shown above I think its due to lack of data. but, i am not sure that where I am doing mistake exactly. Can you let me know once what to do get the bathymetry from pixinstr derived from QCIT?

Thank you for your time..

bergsmaE commented 3 years ago

Dear @sivaiahborra,

I think at this stage it would not be bad for you to run the debug mode —after all the debug mode is there for a reason. First test, do you see waves traveling in positive cross-shore direction, you most likely get a bathymetry result. So for this you need to check your coordinate system (do you follow the ARGUS conventions) and check if the wave period in the stack is more or less believable (between 3 and 25 seconds). After that you run through the debugging step by step so you can analyse what you get, then you can ask more specific questions.

To activate the debug-mode you need to set debug.production = 0 (or False)

Cheers,

Erwin

sivaiahborra commented 3 years ago

Ohh. I will have a look on that and get back to you.

Thank you

On Mon, 22 Feb, 2021, 1:00 pm Erwin, notifications@github.com wrote:

Dear @sivaiahborra https://github.com/sivaiahborra,

I think at this stage it would not be bad for you to run the debug mode —after all the debug mode is there for a reason. First test, do you see waves traveling in positive cross-shore direction, you most likely get a bathymetry result. So for this you need to check your coordinate system (do you follow the ARGUS conventions) and check if the wave period in the stack is more or less believable (between 3 and 25 seconds). After that you run through the debugging step by step so you can analyse what you get, then you can ask more specific questions.

To activate the debug-mode you need to set debug.production = 0 (or False)

Cheers,

Erwin

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-783155973, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4RK7ILCUMMOTL2GDHLTAIB3HANCNFSM4QFCJXPA .

sivaiahborra commented 3 years ago

Dear Erwin, I am getting the same results however I have run democBathy.m by keeping bathy.params.debug.production=0; (line 11 in democBathy.m). I actually didn't change anything in argus02a.m and argus02b.m except replacing given testStack102210Duck.mat with my pixel instruments data derived from QCIT. I have used local coordinates to creates PixInstruments, timex, bright images etc...

Where to check waves propagation and period in stack ?
While i was changing I am asking to give details shown below

PlotPhaseTile Debug Mode: Opportunity to Alter Analysis Array

Current min, max, dx in x and y is 80 500 10 / 0 1000 25

Please enter desired [xmin xmax dx ymin ymax dy], for no change

Now, Based on which of my results do I need to give these xmin xmax dx ymin ymax dy? Shall I keep as it as default whatever is given toolbox. Screenshot (592)

Now I am just trying to run democBathy.m with my own PixInstrumets for my region.

KateBrodie commented 3 years ago

@sivaiahborra @RobHolman

The entire cBathy manual is translated into the wiki page associated with the cBathy Toolbox. Information on debugging phase 1 can be found here:

https://github.com/Coastal-Imaging-Research-Network/cBathy-toolbox/wiki/Debugging-Phase-1

The limits it is asking for are to define a region you wish to explore with the debug plots - make sure that these limits contain a region where you expect there to be wave data present.

sivaiahborra commented 3 years ago

I have been through Debugging phase 1 and came to know that there is some issue in my pixInst stack data. I must have a look on that again.

Thank you for time.

RobHolman commented 3 years ago

Tnx. BTW, I have some updates, to go with Version 2.0 when we accept that.

Rob Holman SECNAV/CNO Chair in Oceanography

104 Ocean Admin Bldg. CEOAS-OSU Corvallis, Oregon, USA 97331-5503 ph: 1-541-737-2914 holman@coas.oregonstate.edu http://cil-www.coas.oregonstate.edu

On Feb 23, 2021, at 5:22 AM, Katherine Brodie notifications@github.com wrote:

[This email originated from outside of OSU. Use caution with links and attachments.]

@sivaiahborra @RobHolman

The entire cBathy manual is translated into the wiki page associated with the cBathy Toolbox. Information on debugging phase 1 can be found here:

https://github.com/Coastal-Imaging-Research-Network/cBathy-toolbox/wiki/Debugging-Phase-1

The limits it is asking for are to define a region you wish to explore with the debug plots - make sure that these limits contain a region where you expect there to be wave data present.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

sivaiahborra commented 3 years ago

Dear @lalafreguete @KateBrodie As I am preparing xyz, data, t variables from my pixInstruments to make a stackfile(testStack102210Duck.mat), I am getting zeros in first four columns of data variable. I came to know that there is some issue in my pixinstruments it seems since while i was doing debugging, I am unable to see waves as shown in documentation of debugging phase 1. How can I know where is an error whether is in my pixinstruments or somewhere else. Here is my testStack102210Duck.mat file

FixedSingle_pixInst.zip

SRHarrison commented 3 years ago

Dear @sivaiahborra,

Your data in FixedSingle_pixInst.zip looks fine. Am I misunderstanding your question?

E.g. You can look at the timestack along your cross-shore transect in pixInst(3) like this:

figure; 
imagesc(pixInst(3).X,t,permute(pixInst(3).Irgb,[2 1 3]))
datetick('y')
xlabel('X (m)')
ylabel('time (HH:MM:SS)')
title(pixInst(3).type)

Or your alongshore transect like this:

figure; 
imagesc(pixInst(2).Y,t,permute(pixInst(2).Irgb,[2 1 3]))
datetick('y')
xlabel('Y (m)')
ylabel('time (HH:MM:SS)')
title(pixInst(2).type)

Or step through your cBathy grid frame-by-frame as a decimated video like this:

figure; 
for ti = 1:length(t)
  % If you like "imagesc" and no interp plotting style:
    % imagesc(pixInst(1).X(1,:), pixInst(1).Y(:,1),pixInst(1).Irgb(:,:,:,ti))
  % If you like surf plots with interp shading use this instead of imagesc:
    surf(pixInst(1).X, pixInst(1).Y,pixInst(1).Igray(:,:,ti),pixInst(1).Irgb(:,:,:,ti))
    shading interp;
    view(0,90)
  axis xy image
  xlabel('X (m)')
  ylabel('Y (m)')
  title(pixInst(1).type)
  pause(.001) % or just 'pause' if you like to advance each frame manually
end
sivaiahborra commented 3 years ago

Thanks, I'll check it out.

On Mon, 1 Mar, 2021, 2:10 am Shawn Harrison, notifications@github.com wrote:

Dear @sivaiahborra https://github.com/sivaiahborra,

Your data in FixedSingle_pixInst.zip looks fine. Am I misunderstanding your question?

E.g. You can look at the timestack along your cross-shore transect in pixInst(3) like this:

figure; imagesc(pixInst(3).X,t,permute(pixInst(3).Irgb,[2 1 3])) datetick('y') xlabel('X (m)') ylabel('time (HH:MM:SS)') title(pixInst(3).type)

Or your alongshore transect like this:

figure; imagesc(pixInst(2).Y,t,permute(pixInst(2).Irgb,[2 1 3])) datetick('y') xlabel('Y (m)') ylabel('time (HH:MM:SS)') title(pixInst(2).type)

Or step through your cBathy grid frame-by-frame as a decimated video like this:

figure; title(pixInst(1).type) for ti = 1:length(t) imagesc(pixInst(1).X(1,:)', pixInst(1).Y(:,1),permute(pixInst(1).Irgb(:,:,:,ti),[2 1 3])) axis xy image xlabel('X (m)') ylabel('Y (m)') pause end

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-787519199, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4RQXHBNY6T4G2EDCLDTBKS3TANCNFSM4QFCJXPA .

sivaiahborra commented 3 years ago

Dear @SRHarrison, I will be able to see X, Y and Grid just like how I got while running G2_pixelInstruments.m in QCIT, As I am preparing stack file ((testStack102210Duck.mat) from these above sent pixinstruments data to run cBathy and going ahead, I am not getting results as shown in document or demo. I am not sure that whether am I doing any mistake in creating stake file from Pixinstruments or is there any issue in pixinstruments. First let me know are my pixinstruments and stack file derived from PixInstruments fine or not to ago ahead to run cBathy? if they are correct, I may be doing some mistake in editable portion of democBbthy.m and its supported functions or routines (argus02a.m).

Here is the code taken by Brittany and lalafreguete is used to create stack file

close all clear all

%% Load Data load FixedSingle_pixInst

%% Igray = pixInst(1).Igray; %% Remove Nans [r c tt]=size(Igray); for k=1:r for j=1:c % bind =find(isnan(Igray(k,j,:))==1); % gind =find(isnan(Igray(k,j,:))==0); bind =find(Igray(k,j,:)<=10); gind =find(Igray(k,j,:)>10); Igray(k,j,bind)=nanmean(Igray(k,j,gind)); end end

%% Rotate Coordinate System % [ Xout Yout]= localTransformPoints([pixInst(1).X(end,end) pixInst(1).Y(end,end) ],180,1,pixInst(1).X,pixInst(1).Y);

%Demo Plot % figure % pcolor(pixInst(1).X,pixInst(1).Y,Igray(:,:,1)) % shading flatclear

% figure % pcolor(Xout,Yout,Igray(:,:,1)) % shading flat

xyz=[pixInst(1).X(:) pixInst(1).Y(:) pixInst(1).Z(:)];

m = size(Igray,1); n = size(Igray,2); tt = size(Igray,3); data=zeros(tt,m*n);

% aa = [datetime(string(C.CreateDate(2)), 'InputFormat', 'yyyy:MM:dd HH:mm:ss'):seconds(0.5):datetime(string(C.CreateDate(2)), 'InputFormat', 'yyyy:MM:dd HH:mm:ss')+seconds(tt/2)]; % t = datenum(aa(1:end-1))';

[xindgrid,yindgrid]=meshgrid(1:n,1:m); rowIND=yindgrid(:); colIND=xindgrid(:);

for i=1:length(rowIND(:)) data(:,i)=reshape(Igray(rowIND(i),colIND(i),:),tt,1); end save(('QCIT_cBathy.mat'), 'xyz', 'data', 't','pixInst')

These are results when I run your lines of code for checking X, Y and Grid Screenshot (2)

QCIT_cBathy_stack.zip

Sorry for many queries and thank you for your time and support.

bergsmaE commented 3 years ago

Dear @sivaiahborra

I am not sure whether it matter much that your time vector is not of the size n^2, in the end you do an FFT. I think it would be better to stay to the n^2 length of your signal, which in your case is 512 epochs >> which is quite a short time-series but not impossible.

But I think that is not your problem anyways but you should really check out your time stamps.

To do so, lets do a little trick for now to check what you get if you change the time vector to t_mod = 0:unique(round(diff(t)*60*60*24,4)):length(t)*unique(round(diff(t)*60*60*24,4)) Of course, you need to sort out your timing properly, but try this for now. If the system hasn't changed (@RobHolman ) the epochs are only used to calculate a deltaT and thus this should work.

Then go through the debug mode as has been said earlier and as @KateBrodie has indicated above.

Have a nice day.

sivaiahborra commented 3 years ago

Thanks, I will check it out and get back

On Wed, 10 Mar, 2021, 2:19 am Erwin, notifications@github.com wrote:

Dear @sivaiahborra https://github.com/sivaiahborra

I am not sure whether it matter much that your time vector is not of the size n^2, in the end you do an FFT. I think it would be better to stay to the n^2 length of your signal, which in your case is 512 epochs >> which is quite a short time-series but not impossible.

But I think that is not your problem anyways but you should really check out your time stamps.

To do so, lets do a little trick for now to check what you get if you change the time vector to t_mod = 0:unique(round(diff(t)606024,4)):length(t) unique(round(diff(t)6060*24,4))

Of course, you need to sort out your timing properly, but try this for now. If the system hasn't changed (@RobHolman https://github.com/RobHolman ) the epochs are only used to calculate a deltaT and thus this should work.

Then go through the debug mode as has been said earlier and as @KateBrodie https://github.com/KateBrodie has indicated above.

Have a nice day.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-794435554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXS4Q6PSGZ6AQXEA6YBLTTC2CWJANCNFSM4QFCJXPA .

sivaiahborra commented 3 years ago

Dear Erwin, Actually, I have created pixInstruments by using 5 min of duration video and where exactly I do changes in time stamps I mean while creating stack file or pixinstruments or codes of cBahty. I am getting variable named t_mod (1x593) instead of t (1x592) while testing with your line of code and t_mod values are 0 0.5 1.0 1.5 etc instead of 7.380976875000000e+05.

This is how I am creating time vector while running a code G2_pixelInstruments.m of QCIT to create pixInstruments.

%% Section 3: User Input: Manual Entry of Time and Elevation % If a fixed station a time vector can be provided in the datenum format. % The length of the vector must match the number of images rectified and % coorectly correspond to each image. If using UAS or not desired, leave % empty. If a UAS collect this varibale is defined in % F_variableExrtrinsicSolutions. % t={}; to= datenum(2020,11,02,16,30,0); dt = 0.5; N = 592; t=to+(0:(N-1))*(dt/24/3600);

% If a Fixed station, most likely images will span times where Z is no % longer constant. We have to account for this in our Z grid. To do this, % enter a z vector below that is the same length as t. For each frame, the % entire z grid will be assigned to this value. It is assumed elevation % is constant during a short % collect. If you would like to enter a z grid that is variable in space % and time, the user would have to alter the code to assign a unique Z in % every loop iteration. See section 3 of D_gridGenExampleRect for more % information. If UAS or not desired, leave empty. % zFixedCam={}; zFixedCam=zeros([1,592]);

So, where exactly (in which script) do i need to do changes like in code of pixinstruments (G2_pixelInstruments.m), stack file (above said code by Brittany and lalafreguete ) or cBathy (argus02a.m, analyzeBathyCollect.m, analyzeSingleBathyRun.m) ?

bergsmaE commented 3 years ago

You’re at the stage you want to test on cBathy, so you do not change it in pixinstruments, you let t_mod be the time vector that goes in

analyzeBathyCollect(xyz, t_mod, data, cam, bathy)

For the length of the time vector, I am thinking to much in Python now, you can just make it t_mod = unique(round(diff(t)*60*60*24,4)):unique(round(diff(t)*60*60*24,4)):length(t)*unique(round(diff(t)*60*60*24,4))

Or if you want to t_mod = matlab2Epoch(t) But i think you tried that.

I am saying this because between your timestacks as plotted above and the one showed in the cBathy Debug mode (https://github.com/Coastal-Imaging-Research-Network/cBathy-Toolbox/issues/61#issuecomment-784125486) there is a difference in the time-stamp, and thus your estimations return NaNs because it is non-physical, not within the analysis range of cBathy... So, pay a lot of attention to the differences you observe yourself.