FLTK tech, HICON to Fl_RGB_Image

This is a simple source code for converting Windows HICON to Fl_RGB_Image for my own customized FLTK window.

Before understanding how it works, It must be requires understanding of some Windows API like LoadImage().

API, icon_to_flrgb()

Plus, to remove Fl_RGB_Image in safe, use this.


And, let know understand how it calls :

Sequence to convert image and apply, then discard.

remove_fl_rgb_image() may called in end of program, when it terminates or class destructor to release memory contains user allocated memory, and it is specification of FLTK 1.3.x.

Doogee Shoot 1 hands on

Doogee Shoot 1 is a budget smartphone among brothers of samely born from MT6737T. Brothers are came out each same shapes, Dual lenses with finger print sensor.

Here I writing some hands-on-review for checking package and until it boots up.

Package arrived,

It was arrived in a week with DHL shipping option from AliExpress. I have paid under 10 USD for this option and seller kindly serviced well. There’s some gifts: USB 5V2A single car cigar hole charger and short silver colored touch pen, fish bone shaped cable holder, small fabric piece to clean screen and some plugging rubbers.

Package box was made with Paper, like iPhone or its copycat – Sunshil Electronics, ha! Doogee saved useless spaces well – I loved this.

What’s inside ?

There’s one Shoot 1. It already applied screen protecting film and I can tear off thin printed outter film easily.¬† Let’s ignore it’s so familiar shape have seen before … Mmm …

Shoot 1 also kindly put wear protecting TPU jacket already. And under inside, there’s a SIM extracting pin, micro USB cable and 5V 2A travel charger with simple manual. It’s all of inside a box. Ah, one more protecting film inside.

Dual camera

Like other brothers, shoot 1 also designed to use dual lenses to make Depth of Focus(DOF) effect as like DSLR. There’s dual flahs also placed middle of lenses. But don’t expect real DOF not availed to this cheapy budget smartphone, It’s imitating effect. Don’t be deceived by their fake promotions. But each single shots and videos really improved than before.

Charging & USB port & Speakers ?

Shoot 1 is still used traditional micro USB port, and it is accepts 5V 2A charging. Unfortunately still most of Chinese manufacturer not ready to using quick charging solution as like Qualcomm’s. Bottom side looks has stereo spearks but don’t believe it, one side is blocked so no sounds from right side. It is imitation.

SIM tray

Doogee shoot 1 designed to use double slots in one tray. One micro SIM and one more micro SIM or micro SD card.


And …

Doogee shoot 1 is a budget phablet to buy in 100 to 110 USD. It has Full HD IPS LCD, dual lenses plus front selfie camera, extends up to 128GB micro SD card, well made body, moderated ARM CPU with MALi GPU for enjoying your economical life.

And this review will be continued to softwares.

OTA 3.10 released for Oukitel U20 Plus

Eventually Oukitel released new OTA update, verison 3.10 to fix many minor bugs ! Now I don’t need see blurred stripes on bottom of screen, and it is no longer need annoying me.

Everybody download new OTA binary from needrom site, and URL is here:

I don’t expect how many OTA updates awaits me, but I have to done with decision of disable many pre-installed apps like ADUP FOTA and some useless apps of this list:

  • AdupsFota
  • AdupsFotaReboot
  • AutoDialer
  • BSPTelephonyDevTool
  • FWUpgrade
  • FWUpgradeProvider
  • MtkFloatMenu
  • MTKLogger
  • PrizeFactoryTest
  • All operator app (Baidu Location)

My custom patch need cutomized recovery TWRP and modified boot image by installing Super SU once more. I’m using a way to installing TWRP and zip-flashing SuperSU to modify original boot image. Super SU zip-flashing wil change verification of U20 plus, and it makes help out “NEVER BOOTING UP” problem.

Here is my cusotm patch zip for TWRP and you may bear disclaimer in mind, all fault is depends on your decision and acting whatever you do. Link is from my MEGA.NZ drive:

Plus more, there’s a couple of app “PrizeLauncher” and “ThemeStore”. These are works together for default launcher and managing its theme. I strongly disable these and replace with other launcher as like NovaLauncher or AOSP launcher 3. It’s up to you.

Review of Ulefone Vienna.

Ulefone Vienna was placed in my demand-list to buy when its cost comes down under 130 USD. And it was able to buy in 120 USD in a month ago. It delivered me with DHL from China while only a week.

Vienna was designed to perfect experience to listening music with professional level DAC as manufacturer description with FHD resolution in 5.5″ IPS display – I expected more better than LG G3, and it is exactly matched for me.

Bundled clear TPU case helped me carrying for while, and easily clean out any stains. But back-butt placed speaker gave to me bad position to listening any sound and any others. But it could be accept by price because its loud level is much bigger than any other android budget phones.

Camera, it is like any others, little bit better, maybe. But it could not be expect excellent picture on evening to night, or dark places. Just a same like most of Chineses budget phones.

Fingerprint scanner works well, better than modern budget phones price around 100 USD. It could be sens my finger in any degree like iPhone or Xiaomi. But ratio of corretly works not much better than as I expected.

Hardware touching area is my one of loved feature, it may much better than any software navi. It will be better if it has illuminations like small LED lights on back side, but there’s nothing like my hopes.

One more special feature, left side a button is useful or an obstacle as who using this, I couldn’t find how it be turned off but works too well. I thought it will better if it has any bumps around button to press not so easily. But it will be pleased by using TPU case for protect pressing button so easily.

Software – OS was upgraded to 6.0 with OTA thru WiFi easily. I could upgrade OS and testing well, but many preinstalled apps are also like previous Ulefone models.

So I need replace recovery partition to adjusting my app conditions with TWRP and my customized zip files. Then, it works so perfectly. Much longer battery life and nothing to annoying.

Vienna became to lowest price in a year, It should be good choice to listening music without external amp for your ( or my ) headphones what has high resistance.

Continue reading Review of Ulefone Vienna.

After a while, review of Doogee Y6.

Few monthes ago, I have trip to Vietnam with Emily for a week in Da Nang. It was impressed experience for me and lovely times for having past times of our country in my 40’s age. (sigh …)

I was planed to use Vietnam prepaid SIM cards for travel in 3G network of Vietnam. It was successfully worked in Da Nang in HSPA+ network and voice call also excellent for me.

Camera was just OK for day light, Not enough to took a scene in night, Everybody may not accept noisy and blurred picture. Dynamic range seems not much better than modern smartphones.

Here I took some pictures in Da Nang of Vietnam. All pictures just resized to 1024px in long side, and nothing else affected.

Difference of Bright area to Dark (shadow) side seems not flatten as like a centry ago. It just Ok for day light but not much good enough to take a shot in less lights – from evening to night. I was good for snap shot while traveling anywhere for searching google map and taking pictures in one hand.

Durability is verified for me by dropping solid bottom, actually it was not my fault, by some aunty smashed my hand in Lotte Mart in Hanoi (South from Da Nang, about a hour by van). It was smashed to bottom, side of screen exactly, I was really surprised and Phone gone for unstable to cannot detect external SD. Just I have reboot it and it became normal. Nothing broken or scratched, just my protecting film saved real glass. Everything was OK.

It was enough good for me. Need some work to disable many services apps. Some system UI not so good for recognized (specially system max memory indicating while app task screen by long press of home button) but it is not much bad for me by this smartphone price.

It could be recommended by looking for around 100 USD budget 5.5″ HD display with durable chasis. But I strongly recommend to user may possible to understand cusomized recovery and SP-Flash program to flash some customizes.

Continue reading After a while, review of Doogee Y6.

New dual lenses smartphones awaiting.

Here I ordered to two different model but same SOC – MT6737T for supporting dual lenses – Doogee Shoot1 and Bluboo Dual.

Bluboo was made an order about 2 weeks ago, but a problem of China holiday (lunar’s day as I heard) was among day in resting term. So I need to wait for more weeks until it shipped to me. And doogee Shoot 1 will arrived to me more faster than Bluboo dual, because it ordered with EMS shipping option and seller promised processing will be soon – Before I had ordered Ulefone Vienna from them, it was extreamely faster than any other sellers, really impressed.

I had an Oukitel U20 plus, but it is not solved UI problem on bottom of screen – blurred stripes still annoying me and I don’t like to use it until solve by new Oukitel OTA be released – And I promised to myself, no more Oukitel, ever. Stop buying junk, again !

Bluboo Dual may not supports hardware touching navigation area in bottom side like other Chinese smartphones – yes, it is soft navi key on screen ! so I am worry about this.

I will write down my experiences soon after Ulefone Vienna, A.S.A.P.

Vernee Thor TWRP script for disable system apps.

Here is a custom patch for TWRP zip flashing style to disable preinstalled system apps on Vernee Thor. (revision 2)

My patch will disables theses apps:

  • AdupsFota
  • AdupsFotaReboot
  • AutoDialer
  • FWUpgrade
  • FWUpgradeProvider
  • MtkFloatMenu
  • MTKLogger
  • MtkQuickSearchBox
  • uber
  • NbAgingTest (included in rev2)
  • All vendor, operator apps


Download will be able to here: (MEGA.NZ)



Plus, default Launcher3 disabler ( if it disabled, Lock screen not be changed )



And, if wanna enable again,



After download, just copy to your sdcard, then reboot to TWRP. And just install zip.

If you want to edit script, just extract zip file to somewhere on your host PC/Laptop, then Edit updater-script in META-INF/com/google/android .



If you don’t understand what are you doing before download and flashing my zip, don’t anything. All doing by yourself makes your own risk. If any problems occurs, it’s not my fault.

A short impressions of Kinera BD005 IEM.

It was really extreamely long long wait after an order from November of 2016. Yes, It took about 2 monthes from order while package arrived to me with AliExpress standard shipping method – but actually it was China Registered AIR post, maybe it was not AIR … maybe a SHIP ?

With damn long shipping it is eventually now on my hand. It was really damn slow shipping but I can accept all with extreamely low cost (see above page … ) of this 1-DD + 1-BA IEM.


I don’t know what brand name means “KINERA” to their word, or in English. And BD005 – model name – may means their 5th model with BA+DD. Ok, then it arrived as below picture:

Boxing was not as like modern saving Earth design, just contains IEM and only 2 different size of silicon ear birds with wrong attached (switched Left and Right, sure it should be fixed anybody, actually not a problem !) durable cable.

It is really all. There’s nothing like protecting IEM something like called soft case or pouch. Just consider price around 20 USD ! and It doesn’t a matter to enjoying good music ! Don’t be concern like Mr.Ban. It’s just another option to buy any carrying case, or pouch whatever it is in AliExpress and may quickly arrives than this IEM.

Mr.Concen Man, Image from “Reuters”


BD005 is not had sexy shape as like major brand products. Just it says “I am from China” and it is truth, because I bought from China, Ha.

But comfort to fix on my ear and easily replace to other cable with MMCX connector. Many sellers in AliExpress who selling many different kinds of MMCX compatible cables. Kinera seems to used one of their products – because I have bought exactly same model MMCX cable from AliExpress before, and its price was almost 8 USD.

Fitting rules is just same like other IEMs, rounding around my ear. Almost of modern ear rounding fittabled IEMs are samely using this forms. MMCX connector well assembled in IEM itself. I couldn’t find any problem in this small friend.

BA unit (as their explainment, it is from Knowles, 3K models) is placed on near end of nozel and it recognized by sight easily. There’s no structure to hold ear bud as like some IEMs.

Audio experience

Make a subject of conclusion, it is not like other some fully filled bass brother Hybrid IEMs. Well balanced for each sides. Little bit more bass means it is “For Outdoor” but may excellent for using in door too. As my opinion there’s little bit less in high frequency by private favor, it should¬† be enhanced by adjusting EQ. I recommend use Treble boot if you have iPhone and listen music with shiny treble frequency – but it may a reason of you going be tired more faster than normal listening, it’s just up to you and me also.



Maybe really worth the low cost in around 20 USD. Much better than Xiaomi’s hybrid IEMs – actually not recommend Xiaomi’s, too much bass harms all sound – and KZ’s. Without design, all about good features may found by in real life, by yourself. Maybe the best item in this price around 20 USD in the World if you have buy something new in less payment but long wait.

Applying HDR in medical image.


High dynamic tone mapping is a kind of graphical thesis to indemnify exposure of whole a image specially such as 256 leveled Red, Green, Blue (+Alpha transparency) formats. But high dynamic calculates all pixel levels as an floating point number with luminance ( in case of RGB, it convert each color channels to a luminance level ) to enhance for more dynamic ranged.


Examined all algorithms and refered to Free Image 3 library for how to make it as C++ code. Proceeded to stand-alone codes and finally embedded to my open source project, librawprocessor at my github repository.

Testing results

As my experimental study, High dynamic tone mapping was enhances low exposed/qulity medical images to fully ranged pixel levels in same min/max range.

Left image is original digital medical chest PA TFT detector image and it could be ranged about 0 to 2700.

Right image is processed Reinhard alogortihm (with parameters : contrast 1.0 and adaptation 0.5) to expand dynamic range.

Pixel levels spreads down to about 6500 without high peak as above image. Every pixel levels be flatten. It will be expected to better for adjust post image processing with less loses.

Also it much better to examine anatomy with no special signal processing. Just doing thresholding window leveling makes good result to check organs.

Used program: