What are you trying to accomplish? The photo you're asking for requires that the headliner be removed from the vehicle, not just dropped down like the examples you posted.
In your photos it appears that the cross bars do not contact the sheet metal roof skin. They're not welded together except at the ends to the frame, below the roof skin. You're probably not going to be able to use these rails as anchors for anything because you can't clamp, screw or bolt down to the rails without depressing the roof skin.
If you want more roof strength for roll-over safety just do what Jeep does to the Wrangler and add a roll bar inside that you can bump your head on and impede the cargo space.
If you're trying to attach any kind of rack or accessory you're going to have to use the original rails or the anchor points for those rails. You may need something like a Baja Utility rack or a Gobi basket rack to anchor to.