Misc. typos and whitespace fixes
Found via `codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata` `rawtherapy-whitelist.txt` consists of: ``` adn amin autor ba byteorder cas childs developpement dum foto fro inbetween interm ist iten ith lonly nd ois optio preserv skipp som spred substracted tbe tim uint unselect ```
This commit is contained in:
parent
f62470f407
commit
ba840dd260
@ -173,7 +173,7 @@ void RawImageSource::ahd_demosaic()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Combine the most homogenous pixels for the final result:
|
// Combine the most homogeneous pixels for the final result:
|
||||||
for (int row = top + 3; row < top + TS - 3 && row < height - 5; row++) {
|
for (int row = top + 3; row < top + TS - 3 && row < height - 5; row++) {
|
||||||
int tr = row - top;
|
int tr = row - top;
|
||||||
|
|
||||||
|
@ -4835,7 +4835,7 @@ void CLASS xtrans_interpolate (int passes)
|
|||||||
homo[d][row][col]++;
|
homo[d][row][col]++;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Average the most homogenous pixels for the final result: */
|
/* Average the most homogeneous pixels for the final result: */
|
||||||
if (height-top < TS+4) mrow = height-top+2;
|
if (height-top < TS+4) mrow = height-top+2;
|
||||||
if (width-left < TS+4) mcol = width-left+2;
|
if (width-left < TS+4) mcol = width-left+2;
|
||||||
for (row = MIN(top,8); row < mrow-8; row++)
|
for (row = MIN(top,8); row < mrow-8; row++)
|
||||||
@ -4951,7 +4951,7 @@ void CLASS ahd_interpolate()
|
|||||||
homo[d][tr][tc]++;
|
homo[d][tr][tc]++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Combine the most homogenous pixels for the final result: */
|
/* Combine the most homogeneous pixels for the final result: */
|
||||||
for (row=top+3; row < top+TS-3 && row < height-5; row++) {
|
for (row=top+3; row < top+TS-3 && row < height-5; row++) {
|
||||||
tr = row-top;
|
tr = row-top;
|
||||||
for (col=left+3; col < left+TS-3 && col < width-5; col++) {
|
for (col=left+3; col < left+TS-3 && col < width-5; col++) {
|
||||||
|
@ -5376,7 +5376,7 @@ void CLASS pre_interpolate()
|
|||||||
// homo[d][row][col]++;
|
// homo[d][row][col]++;
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
///* Average the most homogenous pixels for the final result: */
|
///* Average the most homogeneous pixels for the final result: */
|
||||||
// if (height-top < TS+4) mrow = height-top+2;
|
// if (height-top < TS+4) mrow = height-top+2;
|
||||||
// if (width-left < TS+4) mcol = width-left+2;
|
// if (width-left < TS+4) mcol = width-left+2;
|
||||||
// for (row = MIN(top,8); row < mrow-8; row++)
|
// for (row = MIN(top,8); row < mrow-8; row++)
|
||||||
|
@ -3698,7 +3698,7 @@ void ImProcFunctions::retreavergb (float &r, float &g, float &b)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Interpolate by decreasing with a parabol k = aa*v*v + bb*v +c v[0..1]
|
* @brief Interpolate by decreasing with a parabol k = aa*v*v + bb*v +c v[0..1]
|
||||||
* @param reducac val ue of the reduction in the middle of the range
|
* @param reducac value of the reduction in the middle of the range
|
||||||
* @param vinf value [0..1] for beginning decrease
|
* @param vinf value [0..1] for beginning decrease
|
||||||
* @param aa second degree parameter
|
* @param aa second degree parameter
|
||||||
* @param bb first degree parameter
|
* @param bb first degree parameter
|
||||||
@ -3720,7 +3720,7 @@ void ImProcFunctions::secondeg_end (float reducac, float vinf, float &aa, float
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Interpolate by increasing with a parabol k = aa*v*v + bb*v v[0..1]
|
* @brief Interpolate by increasing with a parabol k = aa*v*v + bb*v v[0..1]
|
||||||
* @param reducac val ue of the reduction in the middle of the range
|
* @param reducac value of the reduction in the middle of the range
|
||||||
* @param vend value [0..1] for beginning increase
|
* @param vend value [0..1] for beginning increase
|
||||||
* @param aa second degree parameter
|
* @param aa second degree parameter
|
||||||
* @param bb first degree parameter
|
* @param bb first degree parameter
|
||||||
|
@ -679,7 +679,7 @@ rtengine::ProcessingJob* BatchQueue::imageReady(rtengine::IImagefloat* img)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// The output filename's extension is forced to the current or selected output format,
|
// The output filename's extension is forced to the current or selected output format,
|
||||||
// despite what the user have set in the fielneame's field of the "Save as" dialgo box
|
// despite what the user have set in the filename's field of the "Save as" dialog box
|
||||||
fname = autoCompleteFileName (removeExtension(processing->outFileName), saveFormat.format);
|
fname = autoCompleteFileName (removeExtension(processing->outFileName), saveFormat.format);
|
||||||
//fname = autoCompleteFileName (removeExtension(processing->outFileName), getExtension(processing->outFileName));
|
//fname = autoCompleteFileName (removeExtension(processing->outFileName), getExtension(processing->outFileName));
|
||||||
}
|
}
|
||||||
|
@ -190,7 +190,7 @@ RTWindow::RTWindow ()
|
|||||||
resolution /= 2;
|
resolution /= 2;
|
||||||
}
|
}
|
||||||
// 1pt = 1/72in @ 96 ppi
|
// 1pt = 1/72in @ 96 ppi
|
||||||
// HOMBRE: If the font unit is px, is it alredy scaled up to match the resolution ?
|
// HOMBRE: If the font unit is px, is it already scaled up to match the resolution ?
|
||||||
// px >inch >pt >"scaled pt"
|
// px >inch >pt >"scaled pt"
|
||||||
pt = (int)(double(fontSize) / RTScalable::baseDPI * 72. * (RTScalable::baseHiDPI / resolution) + 0.49);
|
pt = (int)(double(fontSize) / RTScalable::baseDPI * 72. * (RTScalable::baseHiDPI / resolution) + 0.49);
|
||||||
} else {
|
} else {
|
||||||
|
@ -548,7 +548,7 @@
|
|||||||
sodipodi:role="line"
|
sodipodi:role="line"
|
||||||
id="tspan5376"
|
id="tspan5376"
|
||||||
x="100.83148"
|
x="100.83148"
|
||||||
y="648.47211">Used fo image analysis <tspan
|
y="648.47211">Used for image analysis <tspan
|
||||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold'"
|
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:sans-serif;-inkscape-font-specification:'sans-serif Bold'"
|
||||||
id="tspan7948">only</tspan> with</tspan><tspan
|
id="tspan7948">only</tspan> with</tspan><tspan
|
||||||
style="font-size:10px"
|
style="font-size:10px"
|
||||||
@ -567,7 +567,7 @@
|
|||||||
x="436.97083"
|
x="436.97083"
|
||||||
id="tspan5396"
|
id="tspan5396"
|
||||||
sodipodi:role="line"
|
sodipodi:role="line"
|
||||||
style="font-size:10px">Used fo image analysis with</tspan><tspan
|
style="font-size:10px">Used for image analysis with</tspan><tspan
|
||||||
id="tspan5398"
|
id="tspan5398"
|
||||||
y="660.97211"
|
y="660.97211"
|
||||||
x="436.97083"
|
x="436.97083"
|
||||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Loading…
x
Reference in New Issue
Block a user