-
- The DOF preview button does not calculate hyperfocal distance. Also does not work well in low light conditions. Kinda hard to see what's sharp with the aperture closed down and your viewfinder is dark. I was also never very good at using the preview button even when I had a lot of light.
I had made a request in the past for a DoF calculator but still no luck.
The website www.dofmaster includes calculators for the Palm OS (I used to have it on my Palm T2. Worked great!), iPhone, and an online calculator. They also have the charts. I really miss having it on my Palm and really wish it was available on my Storm. I have written to DoFMaster to request a Blackberry version but have not gotten a response.
The DoF calculators at DoFMaster are free but I would be willing to pay for one that worked as well as their Palm version did.
-StevenLast edited by swong13; 05-21-09 at 06:27 PM.
05-21-09 06:21 PMLike 0 -
Thanks. That works! I am able to calculate Hyperfocal distance by typing in f-stop, camera type, and focal length.
I am trying to figure out the usage of the chart at the bottom. It looks like it provides alternative f stops and the resulting depth of field. I don't understand what looks to be a second set of "far" distances.
Thanks for the effort that you put into this!
-StevenLast edited by swong13; 05-29-09 at 12:16 AM.
05-29-09 12:07 AMLike 0 - Seems to work well, assuming the data was transferred correctly! Nice job! Here's a clickable link to make it easier for anyone on the mobile forums. http://widgety.biz/DOFcalc/DOFcalc.jad
Posted from my CrackBerry at wapforums.crackberry.com05-29-09 05:17 AMLike 0 - Chaoss-
Thanks. That works! I am able to calculate Hyperfocal distance by typing in f-stop, camera type, and focal length.
I am trying to figure out the usage of the chart at the bottom. It looks like it provides alternative f stops and the resulting depth of field. I don't understand what looks to be a second set of "far" distances.
Thanks for the effort that you put into this!
-Steven05-29-09 12:43 PMLike 0 - 05-29-09 03:43 PMLike 0
-
- Yes, download successful. The calculator works great. I like the alt f-stops. I will be using this in the field. I am a photographer, mostly wildlife:
richardseeleyphotography.com,
I could have used this calculator on sat when I was photoshooting osprey in Maine.
thank you very much.
Rich Seeley06-01-09 07:05 AMLike 0 -
- I'm looking for a DoF app for my new tour and unfortunately this doesn't seem to be working. I can edit all the details(focal length, distance, format, etc.) but the only way I can get it to actually calculate the DoF is to exit out and re-open the app.
any chance of getting this updated for the tour? also maybe adding some cinema formats?
thanks!07-22-09 12:04 AMLike 0 - Is there an alternative to the native camera app?
The auto white balance when using the flash is always wrong, but it's a pain going through the menus to go and change it before taking the photo...
It would have been good if RIM had made shortcuts to those things (geotagging, WB, quality).08-01-09 05:33 PMLike 0 - DOF CALCULATOR
I have tried to download the DOF calculator. I received a message stating the following
Error starting DOFcalc:
Class
.net.rim.device.api.ui.Virtual Keyboard not found.
Does anybody know what this actually means. Secondly is this software only available for the Storm.
Thanks
AlanFLast edited by Alanf; 11-09-09 at 05:10 AM. Reason: More details now provided
11-08-09 12:33 PMLike 0 - I have a DoF calculator here:
Depth of Field Calculator - Personal Productivity BlackBerry Apps
Todd12-10-09 08:46 AMLike 0 - 08-24-10 12:55 PMLike 0
- You don't really need an application to do simple math calculations like a DOF calculator. A simple JavaScript file will work.
To make it work on a Blackberry device, simply copy contents of the file below from <HTML> to </HTML> and save it to a file for example DOFCalc.html file and then copy it to the BB device (or any device) via USB cable.
For example I copied it to backberry/documents/DOFCalc.html
and then open the Blackberry browser and open the file by typing in the location of the file in the URL
For example
file:///SDCard/blackberry/documents/DOFCalc.html
Blackberry is case sensitive and make sure JavaScript is enabled. Then Bookmark it so you can easily access it.
The calculator will calculate in feet, however, by changing one line of code in the HTML file feet = true to feet = false it will calculate in meters. Let me know if you have any issues.
<html>
<title>Depth Of Field Calculator</title>
<body>
<script type="text/javascript" LANGUAGE="JavaScript">
function doField(form) {
feet = true; // change true to false if meters is desired
if (feet){
distance = (form.distance.value)*1000*0.3048; //convert feet to millimeters
}else{
distance = (form.distance.value)*1000; //convert meters to millimeters
}
CoC = (document.form.format.options[document.form.format.selectedIndex].value);
aperture = (document.form.aperture.options[document.form.aperture.selectedIndex].value);
focal = (document.form.focal.options[document.form.focal.selectedIndex].value);
if (isNaN(distance)) {
alert('Please enter a numerical value for subject distance.');
document.form.distance.focus();
document.form.distance.select();
}
else {
hyperFocal = ((focal * focal) / (aperture * CoC)) + Math.round(focal);
if (feet){
form.hyperFocal.value = Math.round(hyperFocal / (1000*0.3048)) + " ft";
form.hyperFocal2.value = Math.round(hyperFocal / (1000*0.3048)) + " ft";
}else{
form.hyperFocal.value = (Math.round(hyperFocal) / 1000) + " m";
form.hyperFocal2.value = (Math.round(hyperFocal) / 1000) + " m";
}
dofNear = ((hyperFocal - focal) * distance) / (hyperFocal + (distance - (2 * focal)));
if (feet){
form.dofNear.value = Math.round(dofNear / (1000*0.3048)) + " ft";
}else{
form.dofNear.value = Math.round(dofNear) / 1000 + " m";
}
dofNear2 = (hyperFocal * hyperFocal) / (hyperFocal + (hyperFocal - focal));
if (feet){
form.dofNear2.value = Math.round(dofNear2 / (1000*0.3048)) + " ft";
}else{
form.dofNear2.value = (Math.round(dofNear2) / 1000) + " m";
}
dofFar = ((hyperFocal - focal) * distance) / (hyperFocal - distance);
if (dofFar < 0) {
form.dofFar.value = "Infinity.";
}
else {
if (feet){
form.dofFar.value = Math.round(dofFar/(1000*0.3048)) +" ft";
}else{
form.dofFar.value = Math.round(dofFar)/1000 +" m";
}
}
dofTotal = Math.round(dofFar - dofNear);
if (dofTotal < 0) {
form.dofTotal.value = "Infinite.";
}
else {
if (dofTotal >= 0 && dofTotal < 0.001) {
form.dofTotal.value = ">1 mm ";
}
else {
if (feet){
form.dofTotal.value = Math.round(dofTotal / (1000*0.3048)) + " ft";
}else{
form.dofTotal.value = dofTotal / 1000 + " m";
}
}
}
}
}
</script>
<center>
<form action="" method="post" name="form">
<table border="1" cellpadding="1" cellspacing="0" width="400">
<tr>
<td align="center" colspan="2">
Depth of Field Calculator
</td>
</tr>
<tr>
<td align="left">
Negative Format
</td>
<td align="left">
<select name="format">
<option value=0.03 style="font-size: 16px;font-weight: bold">35 mm
<option value=0.025 style="font-size: 16px;font-weight: bold">APS
<option value=0.05 style="font-size: 16px;font-weight: bold">6x45 cm
<option value=0.06 style="font-size: 16px;font-weight: bold">6x6 cm
<option value=0.065 style="font-size: 16px;font-weight: bold">6x7 cm
<option value=0.15 style="font-size: 16px;font-weight: bold">5x4 inch
<option value=0.3 style="font-size: 16px;font-weight: bold">10x8 inch
</select>
</td>
</tr>
<tr>
<td align="left">
Lens focal length
</td>
<td align="left">
<select name="focal">
<option value=24 style="font-size: 16px;font-weight: bold">24 mm
<option value=26 style="font-size: 16px;font-weight: bold">26 mm
<option value=28 style="font-size: 16px;font-weight: bold">28 mm
<option value=30 style="font-size: 16px;font-weight: bold">30 mm
<option value=35 style="font-size: 16px;font-weight: bold">35 mm
<option value=40 style="font-size: 16px;font-weight: bold">40 mm
<option value=45 style="font-size: 16px;font-weight: bold">45 mm
<option value=50 style="font-size: 16px;font-weight: bold">50 mm
<option value=55 style="font-size: 16px;font-weight: bold">55 mm
<option value=60 style="font-size: 16px;font-weight: bold">60 mm
<option value=70 style="font-size: 16px;font-weight: bold">70 mm
<option value=80 style="font-size: 16px;font-weight: bold">80 mm
<option value=100 style="font-size: 16px;font-weight: bold">100 mm
<option value=135 style="font-size: 16px;font-weight: bold">135 mm
<option value=150 style="font-size: 16px;font-weight: bold">150 mm
<option value=200 style="font-size: 16px;font-weight: bold">200 mm
</select>
</td>
</tr>
<tr>
<td align="left">
Selected aperture
</td>
<td align="left">
<select name="aperture">
<option value=2.8 style="font-size: 16px;font-weight: bold">F 2.8
<option value=3.2 style="font-size: 16px;font-weight: bold">F 3.2
<option value=4 style="font-size: 16px;font-weight: bold">F 4
<option value=5.6 style="font-size: 16px;font-weight: bold">F 5.6
<option value=8 style="font-size: 16px;font-weight: bold">F 8
<option value=11 style="font-size: 16px;font-weight: bold">F 11
<option value=14 style="font-size: 16px;font-weight: bold">F 14
<option value=16 style="font-size: 16px;font-weight: bold">F 16
<option value=18 style="font-size: 16px;font-weight: bold">F 18
<option value=20 style="font-size: 16px;font-weight: bold">F 20
<option value=22 style="font-size: 16px;font-weight: bold">F 22
<option value=32 style="font-size: 16px;font-weight: bold">F 32
<option value=45 style="font-size: 16px;font-weight: bold">F 45
</select>
</td>
</tr>
<tr>
<td align="left">
Subject distance
</td>
<td align="left">
<input type="text" name="distance" value="" size="8">
<input type="button" value="Calculate" onclick="doField(this.form)">
</td>
</tr>
<tr>
<td colspan="2" align="left">
<center>Focus at <input name="hyperFocal2" type="text" value="" size=5 style="font-size: 16px;font-weight: bold"> for focus from <input name="dofNear2" type="text" value="" size=5 style="font-size: 16px;font-weight: bold"> to infinity.</center>
<br>
<input name="hyperFocal" type="text" value="" size=12 style="font-size: 16px;font-weight: bold"> Hyperfocal distance for infinity.
<BR>
<input name="dofNear" type="text" value="" size=12 style="font-size: 16px;font-weight: bold"> Near limit of acceptable sharpness.
<BR>
<input name="dofFar" type="text" value="" size=12 style="font-size: 16px;font-weight: bold"> Far limit of acceptable sharpness.
<BR>
<input name="dofTotal" type="text" value="" size=12 style="font-size: 16px;font-weight: bold"> Total depth of field.
<BR>
</td></tr>
</table>
</form>
</center>
</body>
</html>Last edited by AkaChuck; 05-17-11 at 06:13 PM. Reason: Fixed errors in code
05-14-11 04:08 PMLike 0 - I have a DoF calculator here:
Depth of Field Calculator - Personal Productivity BlackBerry Apps
ToddAkaChuck likes this.05-17-11 10:21 AMLike 1
- Forum
- BlackBerry OS Phone Forums
- BlackBerry OS Apps
App Request: DoF calculator
LINK TO POST COPIED TO CLIPBOARD