Improved Scatter Plot control

Useful hints
User avatar
ghansham
Posts: 175
Joined: Thu Nov 11, 2010 5:40 pm

Improved Scatter Plot control

Post by ghansham »

Hi all

while working with some latest satellite data. I am using scatter plot control.
This is an improvised version of scatter plot control in terms of speed..

Just try for a dataset of size 1500x1500.. You may be able to see the difference.

Would love to know your experience...

If you install this plugin, you will see.. "Scatter Analysis modified" in the display controls.

It is a pure mcv plugin



regards
Ghansham
Attachments
ScatterPlugin2.jar
(80.22 KiB) Downloaded 530 times
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Improved Scatter Plot control

Post by Rick »

Hi Ghansham,

I took a very quick look at your scatter analysis.

1) Loading the data for the analysis was quicker.
2) You cannot use the rubber band box from the region selector.
3) once used, subsequent display types also loose the rubber band box capability
4) You have different map overlays. I looked at archive data over the US and the state boundaries were not shown, just the political boundaries. I'm not sure if this is user configurable.
User avatar
ghansham
Posts: 175
Joined: Thu Nov 11, 2010 5:40 pm

Re: Improved Scatter Plot control

Post by ghansham »

Hi Sir...

Thanks a lot for trying it...

I am using mcv 1.5 beta 1... (Build date: 02-10-2013)
Regarding point 2 and 3... I am not sure if I understood you or not...But as far I understand..
I am able to subset from region selector.....
See the attached jpgs.... I am using the modis dataset provided as part of hyper-spectral data tutorial.
I will try to learn from you exactly what is the issue.... Sorry for mis-communication if any...
Can you share some snapshots then I may be able to understand it better...

Regarding point 4.. I am really sorry for that I disabled the maps.. I will try to update the plugin and send you
may be by tomorrow..

Regards
Ghansham
Attachments
Region Sub Selection
Region Sub Selection
Scatter Plot
Scatter Plot
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Improved Scatter Plot control

Post by Rick »

Hi Ghansham,

I was using GOES data via the satellite image chooser (not Hydra). You can only see the results interactively, so a snap shot won't help as it won't show anything. We'll try more test once you post a new jar file.

Rick
User avatar
ghansham
Posts: 175
Joined: Thu Nov 11, 2010 5:40 pm

Re: Improved Scatter Plot control

Post by ghansham »

hi Sir..

Its nice that you are using GOES data instead of hydra stuff...
You may see improvement if you choose larger region in following cases:
1. When you load the data.. (as you have already mentioned in your mail..)
2. When you select a region from scatter plot and the time it takes to color the image displays in the control window (scatter plot).
3. When you double-click on subset button (in the scatter control window) to reset, the resetting of image displays
in the control window(scatter plot) would be faster..


From your observation list, the updated plugin takes care of point number 4..

I tried some GOES data.. Attached some snapshots.

regards
Ghansham
Attachments
Scatter Plot
Scatter Plot
Field Selector with region subsetting
Field Selector with region subsetting
ScatterPlugin2.jar
Scatter Plugin
(81.58 KiB) Downloaded 522 times
Data Chooser
Data Chooser
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

Re: Improved Scatter Plot control

Post by hproe »

Hi Ghansham -

Your plugin is quite an improvement. I have used it with SEVIRI data from an ADDE server. However, I note two inconsistencies (under Windows 7 64-bit):
1. In order to change the rubber band shape the new shape is only activated when simultaneously also changing the colour (or changing colour and changing it back when you do not want to change the colour).
2. While boxes are drawn with shift-click, curves can be drawn both with shift-click or click.

Not a problem, once a you know.

HP
User avatar
ghansham
Posts: 175
Joined: Thu Nov 11, 2010 5:40 pm

Re: Improved Scatter Plot control

Post by ghansham »

Hi Sir..

Hope you are doing fine.. Can you just confirm if both the points that you are specifying are not avaiable in the git repo code (1.5 b1).

I can atleast make sure that both behave similarly (if inconsistency then it should be in both of them... ;-) )
My goal was just to improve upon the stuff for satellite data volume I was using......

Just can you tell what was the sample size you were using for scatter plot..



Ghansham
User avatar
hproe
Posts: 504
Joined: Sat Nov 27, 2010 3:46 pm

Re: Improved Scatter Plot control

Post by hproe »

Dear Ghansham -

Okay, I did not check with the built-in method - your are right of course, the inconsistencies are inherited from there. I have been testing it with IR-temperature of SEVIRI full-disc channels (3712x3712 pixels). Your version is lightning-fast!

HP
User avatar
ghansham
Posts: 175
Joined: Thu Nov 11, 2010 5:40 pm

Re: Improved Scatter Plot control

Post by ghansham »

Dear All,

Attached herewith modified ScatterDisplay java class which has the changes to make it faster :-).

I downloaded the mcidas master branch from github on 22nd April.


I have changed the name of class to ScaterDisplayM to keep it different from the original.


I have renamed it to .txt as the .java attachments are not supported in user forum.
Please rename it from ScatterDisplayM.txt -> ScatterDisplayM.java

I hope this will be helpful to improve the Scatter display.

Let me know if there are any issues in using it.


regards
Ghansham
Attachments
ScatterDisplayM.txt
(70.66 KiB) Downloaded 62 times
User avatar
bobc
Posts: 987
Joined: Mon Nov 15, 2010 5:57 pm

Re: Improved Scatter Plot control

Post by bobc »

Hi Ghansham,

Thanks for the code! I added it to McIDAS-V inquiry 2698 for us to test and evaluate incorporating into McIDAS-V. I'll let you know if we have any feedback as we look into it.

Thanks again,
Bob Carp
Post Reply