Skip to content

Commit

Permalink
Convert possible CP-1253 to UTF-8
Browse files Browse the repository at this point in the history
This file already contained ASCII '?' characters, suggesting a previous
encoding conversion had already lost some characters. (This seems to
have happened before the file was first committed (2012) to this
repository or its predecessors.)

The character in question here is 8-bit F8, which in CP-1252 (or latin1)
would be 'ø'. Maybe that is what it was, but in CP-1253 (iso-8859-7,
Latin/Greek) it is 'ψ', which seems more likely here.

In any case, we are not losing any information by this conversion.
  • Loading branch information
marktsuchida committed Jun 19, 2024
1 parent 264666a commit b7da0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeviceAdapters/TwoPhoton/TwoPhoton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1194,8 +1194,8 @@ void BitFlowCamera::GetCosineWarpLUT(vector<int> &new_pixel, int image_width, in

/*
Again this code can be replaced by simpler code
The correction factor = ø /sin ø where ø = pixel number (from the correct center pixel) * ?ø
?ø = 2?/freq*127. The corretion factor is calculated for each pixel and applied to the pixel
The correction factor = ψ /sin ψ where ψ = pixel number (from the correct center pixel) * ?ψ
?ψ = 2?/freq*127. The corretion factor is calculated for each pixel and applied to the pixel
*/

/*9 Loop to shift pixels to new image LUT*/
Expand Down

0 comments on commit b7da0df

Please sign in to comment.