星空カメラ




本物の星空を撮影することができるアプリです。


このアプリは、実際の星空を撮影することを可能にしたカメラアプリです。1等星はもちろんのこと、条件がよければ2等星以下がiPhoneで写せます。 また写した写真を約70種類の画像加工ツールで加工することができます。
星空を撮影するためにする事は、
 (1)三脚等でiPhoneを星空に向けて固定し、
 (2)露出回数を設定し
 (3)アプリのシャッターを切って1分程度待つ
だけです。
このアプリは、多重露出の手法により擬似的に露出時間を10秒以上に延ばし、暗い星空を明るく撮影します。とりあえず撮影するためには、多重露出パラメータを次のように設定してみてください。

 明るさ=「普通」、
 露出回数=50。

撮った写真が暗いときは露出回数を増やすか、露出補正をプラス値にしてみてください。逆に撮った写真が明るすぎるときは、露出回数を減らすか露出補正をマイナスに設定してみて下さい。
また、露出回数を1回にすれば、  通常のカメラアプリと同様なカメラアプリ として使えます。
このアプリの主な機能は次の通りです。

[初期設定]

  • (!)カメラ位置/ライブラリの選択
       前面カメラと背面カメラを選択できます。
       また、ライブラリを選択すると、カメラロールから
       写真を取り込むことができます。
  • (2)解像度の選択
       高、中、低解像度を選択できます。
       機種対応で、以下のような解像度になります。
      iPhone5,iPhone5c,iPhone5s: 
       (背面)2448x3264,1080x1920,360x480
       (前面)960x1280,720x1280,360x480
        iPhone4,iPhone4s:
       (背面)1936x2592,720x1280,380x480
       (前面)480x640,480x640,360x480
        iPhone3GS:
       (背面)1536x2048,480x640,360x480
    
  • (3)多重露出パラメータの設定
       露出の明るさとして、
        「明るい」、「普通」、「暗い」
       の3つから選択できます。
       多重露出回数を
        1〜100
      の間で設定できます。
      (露出の明るさを「明るい」にした場合は、1〜20)
  • (4)色温度の設定
       色温度を適用するをオンとした場合、
       色温度として、
        1000°K〜12000°K
       を選択できます。
       色温度を適用するをオフとした場合は、自動設定値を使います。
  • (5)露出補正の設定
       露出補正を適用するをオンとした場合、
       補正値として、
        -5.0〜+5.0
       を選択できます。(独自の値です。EV値とは異なります。)
  • (6)静音シャッターの設定
       静音シャッターを適用するをオンとした場合、
       シャッター音をボリュームボタンで小さくすることができます。
       ただし、ボリュームボタンを「消音」とした場合は、
       通常のシャッター音が鳴ります。
       また露出回数が2以上の場合は、シャッター音は1回に
       なります(iPhone5の場合)。
  • [カメラ機能]

    初期設定で設定した内容に従ったカメラワークが可能です。また
     ピンチイン、アウトによりデジタルズーム
    ができます。

    フォーカスは初期状態では星空の撮影のため自動フォーカス ではなく、遠方にロックしています。 近くのものを撮影する場合は、プレビュー上の対象をタップ してフォーカスを合わせる必要があります。

    露出回数を2以上にした場合は、露出回数分のシャッターが 切れるので、iPhoneは三脚等で固定しておく必要があります。 手持ちで撮影した場合は像がずれることがあります。

    シャッターは2秒タイマーも備えており、タップ時の手ぶれ を回避できます。

    [一覧表示機能]

    このアプリで撮影した写真は、カメラロールへ格納される と同時にこのアプリ内に格納され、 一覧表示画面で撮影日時情報付きで一覧表示できます。 選択をタップして画像を選択しゴミ箱アイコンをタップ することで、タップした画像を削除することができます。

    [画像加工機能]

    一覧表示されている画像をタップすると、画像加工用の フィルターリストを表示します。 明るさ調整、コントラスト、ぼかし、シャープ化、 セピア、モノクロ、エッジ検出、スケッチ等の 約70種類のフィルタがあります。

    これらのフィルタを選択して、画像加工画面において実際 の加工が可能です。加工した画像はカメラロールとこの アプリ内に格納され、引き続いて別の加工ツールを適用 することが可能です。

    ***
ライセンス関連
このアプリは、オープンソースとして、

・AQGridView(Copyright(c)2010-2011, Kobo Inc.)
・OpenCV(Copyright (C) 2000-2015, Intel Corporation, all rights reserved.; Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.; Copyright (C) 2009-2015, NVIDIA Corporation, all rights reserved.; Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved.; Copyright (C) 2015, OpenCV Foundation, all rights reserved.; Copyright (C) 2015, Itseez Inc., all rights reserved.)
・GPUImage for android(Copyright 2012 CyberAgent, Inc.)
・GPUImage(Copyright (c) 2012, Brad Larson, Ben Cochran, Hugues Lismonde, Keitaroh Kobayashi, Alaric Cole, Matthew Clark, Jacob Gundersen, Chris Williams. All rights reserved.)
・TOCropViewController(Copyright 2015-2018 Timothy Oliver. All rights reserved.)

を利用しています。

AQGridView License

Copyright (c) 2010-2011, Kobo Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Kobo Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

OpenCV License

(Copyright (C) 2000-2015, Intel Corporation, all rights reserved.; Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.; Copyright (C) 2009-2015, NVIDIA Corporation, all rights reserved.; Copyright (C) 2010-2013, Advanced Micro Devices, Inc., all rights reserved.; Copyright (C) 2015, OpenCV Foundation, all rights reserved.; Copyright (C) 2015, Itseez Inc., all rights reserved.)>br> >br> By downloading, copying, installing or using the software you agree to this license. If you do not agree to this license, do not download, install, copy or use the software.
License Agreement
For Open Source Computer Vision Library
(3-clause BSD License)
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the names of the copyright holders nor the names of the contributors may be used to endorse or promote products derived from this software without specific prior written permission. This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall copyright holders or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

GPUImage for android License

Copyright 2012 CyberAgent, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

GPUImage License

Copyright (c) 2012, Brad Larson, Ben Cochran, Hugues Lismonde, Keitaroh Kobayashi, Alaric Cole, Matthew Clark, Jacob Gundersen, Chris Williams. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of the GPUImage framework nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

TOCropViewController License

The MIT License (MIT)

Copyright (c) 2015-2019 Tim Oliver

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.