Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-01-2011, 01:52   #31
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Quote:
Originally Posted by idpnd View Post
Sorry I meant calibration of the Philippine charts
Sorry, this was not my intent.

This thread is about one guy that wants to calibrate phippine charts and that is looking around for the available tools. I adjusted one tool that I've used to calibrate hundreds of New Zealand Charts (KapGen) to help him. I can continue supporting anyone that wants to calibrate charts (philippines or others) but I've not enough spare time to calibrate other maps (apart from keeping update NZ charts...). Volunteers are needed here.

Ciao, Marco.
__________________

__________________
GPS-Marco is offline   Reply With Quote
Old 08-01-2011, 04:18   #32
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Quote:
Originally Posted by GPS-Marco View Post
Volunteers are needed here
Hello Marco, I am well aware of your line of business, I was asking bewitched to publish the results - analogous to your own work
__________________

__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 09-01-2011, 21:42   #33
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Quote:
Originally Posted by idpnd View Post
I was asking bewitched to publish the results .
Don't see why not

Could be a while though... boat prep is sucking up all my spare time at the moment.
__________________
bewitched is offline   Reply With Quote
Old 09-01-2011, 22:52   #34
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Quote:
Originally Posted by HappySeagull View Post
It sounds like you found the button to reduce total size as a percentage?...?that'll keep the aspect ratio the same but it'll be a smaller image IE if you were looking at a narrow channel,the gps position icon could blot it out entirely,where on a BIG image you can happily fit between the banks and buoys...
Or did you find the button to change dpi as Sinbad was saying?
I came across something that reduces the number of pixels in each direction (and can be locked to maintain the x / y ratio). Yes, I think this is re-sizing the image. I couldn't find anything that mentions dpi (this is in GIMP2 by the way)

I hear what you're saying about maintaining the quality of the image. And I will be saving the originals for printoffs. But going from say 18,000 pixels in one direction to about 6,000 reduces the file size from +25MB to less than 8MB, with hardly a decernable loss in picture quality on the .jpg.

What I'll do is run several iterations of the whole conversion thing with varying original .jpg filesizes and then see which is the best fit when both file size and quality are considered.

Which I guess will be the best fit for me, based on the processing capability of my computer and what I would consider acceptable 'quality' of image.
__________________
bewitched is offline   Reply With Quote
Old 10-01-2011, 01:11   #35
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Bewitched, I prepared KapGen to handle philippines large jpeg. See #26

I noticed that reducing size to 50% for philippines images is fine. The optimal number of colours is instead more image dependent and ranges from 16 to 64.

If you have questions, please ask.

Ciao, Marco.
__________________
GPS-Marco is offline   Reply With Quote
Old 10-01-2011, 10:35   #36
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Quote:
Originally Posted by bewitched View Post
I came across something that reduces the number of pixels in each direction (and can be locked to maintain the x / y ratio). Yes, I think this is re-sizing the image. I couldn't find anything that mentions dpi (this is in GIMP2 by the way)

I hear what you're saying about maintaining the quality of the image. And I will be saving the originals for printoffs. But going from say 18,000 pixels in one direction to about 6,000 reduces the file size from +25MB to less than 8MB, with hardly a decernable loss in picture quality on the .jpg.

What I'll do is run several iterations of the whole conversion thing with varying original .jpg filesizes and then see which is the best fit when both file size and quality are considered.

Which I guess will be the best fit for me, based on the processing capability of my computer and what I would consider acceptable 'quality' of image.
Reducing colour depth will reduce file size.16 colours is half the size of 256 without changing the chart dimensions...

From your posts,it's hard to tell what recipe you are using but converting from jpgs is tricky and from my recipe you can see that fooling with images is harder than the cmd thing in description.


The originals willl always be blown up to size and bitdepth and it sounds like that bogs you down from the gitgo.

WHICH program are you using now?someone here will know it well to help.

idea:It's a possibility to "batch convert" just one image before you even have to look at it onscreen.Do this by opening any silly little picture in the image program and then look for the batchconvert dialogue to change the BIG jpeg.I'd try colour depth first....and save as bmp because it's native to windows.then size reduction.Later you can include all the best of your operations to several files in the one batch....
__________________
HappySeagull is offline   Reply With Quote
Old 10-01-2011, 12:07   #37
Registered User

Join Date: Sep 2009
Location: Rome
Posts: 320
Quote:
Originally Posted by HappySeagull View Post
...I'd try colour depth first....and save as bmp because it's native to windows.then size reduction...
I'd do differently: size reduction first and colour depth later. This because a good image size reduction requires a spatial filter (like lanczos or bilinear or others...). The spatial filter works better in the RGB linear scale and it normally produces intermediate levels that increases the number of colours if you have reduced them to quantizied levels.

So I'd first reduce size and then colours depth.

Ciao, Marco.
__________________
GPS-Marco is offline   Reply With Quote
Old 10-01-2011, 17:46   #38
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Quote:
Originally Posted by GPS-Marco View Post
Bewitched, I prepared KapGen to handle philippines large jpeg. See #26

I noticed that reducing size to 50% for philippines images is fine. The optimal number of colours is instead more image dependent and ranges from 16 to 64.

If you have questions, please ask.

Ciao, Marco.
I got that thanks - just haven't had time to try it out yet.
__________________
bewitched is offline   Reply With Quote
Old 02-03-2011, 22:43   #39
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Re: jpg in OpenCPN

OK - done

KAP files made for all Philippine charts I can lay my hands on.

Got a .rar file, but it's 2.6GB. Does anyone know where I can store this online for free so that people can download if they want?

Two charts that I'd really like and I haven't been able to get my hands on are (can't remember the no.s):
The chart with Hamilo Cove (and other Luzon Anchorages)
The chart with Port Bonbonon (and other Negros area anchorages).

If anyone has these charts / jpgs / whatever, I'd love a copy.
__________________
bewitched is offline   Reply With Quote
Old 03-03-2011, 00:24   #40
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Re: jpg in OpenCPN

Quote:
Originally Posted by bewitched View Post
KAP files made for all Philippine charts I can lay my hands on.

Got a .rar file, but it's 2.6GB. Does anyone know where I can store this online for free so that people can download if they want?
Are these all from the older US surveys that are now in the public domain? In that case it could be hosted with opencpn.

If the copyright is dubious, you could still elect to host it online somewhere as a backup and to compare notes with friends.
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 03-03-2011, 01:38   #41
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Re: jpg in OpenCPN

Yes - the original Jpeg files I downloaded from the NOAA website "Historical Charts". The NOAA search page and function has since changed and I can't find them any more. But I did download them from NOAA - so I assume there's no copyright issue.

There may be the odd one which is a NAMIRA scanned copy - and so perhaps not too legit - I could weed them out for the opencpn site.

The charts are old - some very old. So where ever they are hosted, there'd have to be some very strong disclaimer about not being suitable for navigation and the posibility that I might have made mistakes in the calibration process. There are almost certainly errors in there.

So how does one go about uploading to opencpn then?
__________________
bewitched is offline   Reply With Quote
Old 03-03-2011, 02:45   #42
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almerķa, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Re: jpg in OpenCPN

There's a similar project by Marco, who has been calibrating the NZ charts for use as KAP files.

AFAIK NOAA charts are in the public domain as you quite rightly say. We may have to find the source to support this.
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 03-03-2011, 04:15   #43
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: jpg in OpenCPN

Bewitched..

You can add your charts here: 4shared - PHILIPPINES - shared folder - free file sharing and storage

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 03-03-2011, 17:43   #44
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Re: jpg in OpenCPN

Quote:
Originally Posted by idpnd View Post
AFAIK NOAA charts are in the public domain as you quite rightly say. We may have to find the source to support this.
I've been trying to work out what AFAIK means, but can't get anything that fits without a great deal of profanity

OK - I found the charts again:

Office of Coast Survey Historical Map & Chart Image Catalog

It's a bit of a pain - The old webpage had a "download all Philippine Charts" option which was easy. This new all singing & dancing search page makes it much more difficult to get hold of a set of charts

There's no point using the word search - it doesn't come up with anything.

If you zoom into the Philippines on the map, click on the "click to select a point on map" button above the map. Then click at a location on the map, then you'll get a few charts around that area. So they are still there - just very difficult to find, and no way to find out if you have the full set.

But I guess that is enough to demonstrate the "public domain" bit.
__________________
bewitched is offline   Reply With Quote
Old 03-03-2011, 17:51   #45
Registered User
 
bewitched's Avatar

Join Date: Sep 2009
Posts: 885
Images: 3
Re: jpg in OpenCPN

Hi Tore

Thanks for that link. I can upload a set for you not problem - but will be next week sometime.

The site looks like one of the better ones, but the 30 days login or loose everything isn't something I can live with.

My plan was to upload the files somewhere and then as I'm sailing around check the offsets etc, update and then replace the KAP files one by one as necessary. This is obviously going to take time. I'd hate to be in a position 6 months from now when I logon and find there's nothing there.
__________________

__________________
bewitched is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NMEA 2K and OpenCPN - How? sapster77 OpenCPN 18 13-03-2013 12:29
OpenCPN 2.3.0 dlymn OpenCPN 3 29-06-2011 02:44
OpenCPN bdbcat OpenCPN 1343 19-09-2009 16:59
Converting .JPG/.JPW arial photos to BSB format dacust Navigation 0 17-02-2008 14:20



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:39.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.