Author: Raph

About Raph

A hardly free minded low level programmer.

Now working on R* S1 FW Writer for Mac OS X.

For some people to waited for long, it will comes out soon what about firmware upgrading program for Mac OS X. Now I am working on it in Linux and Mac OS X by my multi-platform availed libraries.

Wait for more days, it will release on manuafacturer home page, and you will be happy.

Here’s old version of developing of GUI sequence, you may hope this graphics may exactly same on Mac OS X. (even more faster and smooth !)

sset to C or H converting open source.

There’s nothing to find information about sset ( I was misunderstood it may s-record ), so I made a simple tool for supporting multi-platform if have any GCC with STL.

You can clone or download source code ( it is MIT license ) and build in your system with just typing “make” then, enjoy it.

It was tested on Windows MinGW-W64 and Mint Linux 18.2 GCC 5.2 with Mac OS X llvm-gcc. You can change {anyname of file}.sset to C or H file with options here:

For example, let converting preview.sset file to cam_previewmode.c,

sset2c preview.sset -s=cam_preview_1080p -t=msm_camera_i2c_reg_array cam_previewmode.c

You can decide symbol name and structure name ( you may know what structure name to be written before understanding platform driver structures ) by making a converted file.

And result is like this,

You can simply changes many register setting arrays at once with my open source code here:

Work in a game even you are playing that game now.

A game surprised me – actually it was lean to negative side – by design new circuit and programming it into each component inside – what a brilliant idea, hugh ? It looks like explain : A game for working (or training ) even I am playing a game!

Name of that game was “Shenzhen IO”, much familiar word Shenzhen may made me surprised again. May many engineers really familiar name of area in China – “Shenzhen”.

Shenzhen of China

Image from Godgle map.

If you have plane to buy this crazy game, and wanna work in your game, strongly recommend buy this working-game “Shenzhen IO”!

And you may remind this game is not from China, it is born in Mesacgusetts state of Ameria – and must be programmers are from MIT. Now pick up your crow bar to fight with them !

Or, Maybe some instructions or Ph.D loves this game to give experience to their students are going more stained with stress, what a brilliant, hugh, Great !

Experience of Intel HD 630 damn driver.

I guess some people may experienced badness of Intel something – as like old models from Intel graphics as known thousnad numbered models – HD 2000 or 3000 whatever, when specially upgraded to Windows 10 from older.

My new office desktop presented to me a bad experience about mouse cursor doesn’t applying anti-aliased shape, and also without shadow in 2017 !

I had to find solve this Paleolithic lacks come in modern life, searched in Godgle, and finally found a word – “INSTALL NEW DRIVER”.

Yes, it was may a SMALL problem of Intel as like before, alwasy like that. Now I can see smoothen customized mouse cursor after new driver installed ( build 4678 ).

If you are looking bad shaped mouse cursor and if it belong to your internal video adaptor – yes, you may saved money to buy external graphic deivce as like AMD R460 or nVidia 1060 whatever – check for new video device driver asap, but you don’t sens what is wrong, also may nor required check update from big blue bad brother who named Intel.

Bluboo Dual real life review

This in life review written for Bluboo Dual. Thi is a smartphone from chana, built in daul camera and made with aluminium metal uni-body budget phone priced in around 100 USD from Aliexpress. Has no phsysical navigation buttons on bottom of screen, but some space left – maybe it was a plan for using touch navigation area as like others ? – and it may used to hold phone to watch something.

Whatever it is, this smartphone using on screen soft navi keys – maybe uncomfort for like me who doesn’t lile to using soft keys loosing whole screen resolution by displaying this useless shi* – I am really hate this soft key.

Something special features for good sales point may thoes of “”Dual lenses” and “Finger print scanner”. Finger print sensing speed was similar like to Xiaomi Redmi 3 or later series, quickly sensing my fingers like iPhone and Xiaomi Redmi3s of mine. Dual lenses meaning just a taste of DOF(Depth of field) – like DSLR out focused at point to anywhere on screen and picture.

But not recommended to feeling as real DSLR effect, just hardware leveled blurring effect. Not real DOF and qulity is coarsened.

But normal pictures from camera, it is certainly enhanced a little from previous Mediatek ISP. Dirty noises has enhanced to more detailed but still not enough feels like “IT IS AMAZING!”. Just worth for this price around 100 USD.

Dual lenses may good for feeling looks good as like ” I have dual ! like iPhone 7 plus!”, but not real iPhone 7 plus, swag. Positive side is fast sensing speed of my finger print, it is one of fastest device among I had that from China.

Ear speaker is best point of this budget one, voice hears with heavy bass, supports UMTS AMR (not sure VoLTE). But loud speaker hears like cheappy vinyl, don’t expect like iPhone.

Here is a simple conclusion.

Pros.

  • Cheap, may around 100 to 110 USD on market.
  • Bright&Sharp 1080p Full HD resolution at 5.5″ IPS LCD.
  • Dual Lens, DOF effect (w/ built in SLR camera app)
  • 3000 mAh battery holds a day for ordinary usage.
  • Slim metal uni-body.
  • Fast finger-print sensor.

Cons.

  • Fake dual standby SIM, one must be for GSM only with 3G/UMTS or LTE.
  • Useless in North America include almost of United states
  • No more update for air. Latest version marked as V3.06
  • Uncertified Google Apps. ( manufacturer Bluboo not registered to Google )
  • Not supports Quick Charge
  • SCweather : built-in malware

Depends on your flavor, yeah

  • Damn soft navigation key.
  • Useless bottom side wide bezel – what for ?
  • Built in 3000 mAh Battery.

 

bonus issue: How to remove SCweather ?

First, you can disable app in setting menu, or if you got TWRP and ready to flash, use my zip flashing script.

This zip flashable patch disables these system apps : (and disclaimer, all problems used my patch zip is up to your decision, before doing this flash, you must allow all problems not belong to me.)

  • AdupsFota
  • AdupsFotaReboot
  • AutoDialer
  • BSPTelephonyDevTool
  • FWUpgrade
  • FWUpgradeProvider
  • MtkFloatMenu
  • MTKLogger
  • MtkQuickSearchBox
  • SCweather
  • ThemeStore
  • PrizeFactoryTest
  • Baidu_Location

If you like edit apps to removed, just extract zip file and change script in META-INF\com\google\android.

CLAHE shading correction

Applying CLAHE to medical images may going to some shaded on each edge side of object. So I have to correct this problem with fast processing in real time.

To make up a prototype correction, I have used same source RAW image, here is a source image in down scaled from 16bit gray scale RAW.

Applied CLAHE with 16×16 in clip limit of 100.0f. And I could recognized shaded areas at each edge of object. Shaded area marked as red boxes in below.

To correct shaded area, generate gaussian blur mask with big radials, but it really heavy to processing in fast time as realtime. So I made it fastest way with my ‘Resize engine’ that made with OpenMP and AVX instructions. To generate fastest blurred mask, down scale with bi-linear filter to 2.5% size. Then doing up scale again with B-Spline filter to original size. And Invert it.

Then calculate to do shade correction with generated shade mask, ins fastest math functions with original image.

To complete image processing, need to fill background areas.

It simply corrected but little bit lacks on details of bone level. But definitely better than hard shaded levels after window leveling. Expect for next will find more improved processing algorithm, and it will be a function of librawprocessor.

Correcting shaded illumination on medical image.

By using CLAHE algorithm, there’s some problem occurs by object shapes like this:

Each edge side of object going too darken by window leveling. It is defecting issue of CLAHE. So I tried to make it corrected with shading correction.

Here is source raw image, 14bit gray.

First, I need make a background mask to overriding changed level after CLAHE.

It can generate simply by using my librawprocessor. Then I applied CLAHE, 10×10, 30.0f.

Shadowed or shaded areas occurs after applying CLAHE, it must be corrected. So I made shaded map with my fast resize engine. Down scale to 10% of original image size with Bi-Linear filter, then up scale again with B-Spline filter with inverse.

It is much effective than Gaussian blur. Very fast but similar to Gaussian blurred. almost realtime in 3000×3000 array with floating point  levels in AVX and OpenMP optimization.

Now I am just add masked shade map level with exponential to original image.

Result is :

Shaded object areas seems to enhanced than before. So I continued to applying background mask.

Ok, then I made it to window leveled.

Each edge sides are not seems to much shaded than before. It should be better than applying single CLAHE. I will continue to write more effective image processing with CLAHE.

Eventually he came to the throne.

I’ve wait for a long time. It was little bit hard times, bad smells of dictatorship, idiot’s poor things, it may a living marionette doll of rusted old dictorship fellowers.

ChoongNam and SeJong state of South Korea, Mr.Moon wins

Now here came my president Mr.Moon in a day ago, kept watching his legendary backing of people to defeat all other rusts. Sure some regions still backing rust politic party (as below image, reds)

Like Republican Party of USA, JayuHankukdang is a party of Hong JunPyo. He is wasting words like president Trumph, many fellowers insistenced Hong may be new president of South Korea with Shy Hongs as like Shy Trumphs.

Image captured from SBS-Live streaming

 But South Korea is not USA, and there’s no people like feeling shy to supporting a rudless man. Derbuleh-MinJuDang ( as Democratic Party of USA ) and leader Mr. Moon Jae-In defeated all presidential hopefuls, and get stand as the new president of South Korea.

Image captured from SBS-Live streaming

 Like a sword master in RPG, Mr. Moon raised people’s wish to take back democracy and freedom from rusty ghosts of dictatorship. Seoul, the capital of South Korea took over 40% among many election runners.

Image captured from SBS-Live streaming

 He was double scored at JeonNam state, overed 50% and got people’s supports as like root of big tree. Even Ahn couldn’t get less support by half of Mr.Moon at JeonBuk state. IT WAS TOTALLY WINNER of Jeonra state. Ahn doesn’t a matter for Mr.Moon.

Image captured from SBS-Live streaming

 Eventually for hours, voting count reached to 90%, Each runners getting lost distances and it couldn’t be compared Mr.Moon’s score.

Image captured from SBS-Live streaming

 Ahn was strongly insists he will get many supports from GwanJu, but result was half of Mr.Moon. It was not a game to play for poor Ahn.

Image captured from SBS-Live streaming

 Vote counts reached over 85% to who will be president of South Korea, Almost Mr.Moon got highest scored. Then …

Image captured from SBS-Live streaming

My president, South Korea’s new president confirmed to Mr.Moon Jae-In. What a glory of people’s desire, Glory of democracy, Glory of Yellow ribbons !

Image captured from SBS-Live streaming

 Now we got the best leader who listening people, cares any people, loves people. President of South Korea, for the people, by the people. And I’m sure he will always win the game, as like sword master.

Image captured from SBS-Live streaming

 Because there’s many backers stands in behind him. And I’m one of them, my family also of them, and we will fight together from dictatorship and rusts of Park Junghee.

Image captured from SBS-Live streaming

 My president, Our president, Mr.Moon JaeIn. We will stands for him. He will stands for us. We got a hero, we got a savior from sinking boat that named South Korea.

I will not forget this day.

The negotiator comes to us. And now he became President of South Korea.